summaryrefslogtreecommitdiff
path: root/audio/daapd
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2005-10-11 12:20:57 +0000
committertonio <tonio@pkgsrc.org>2005-10-11 12:20:57 +0000
commit44e5bf02a3c374f3b3d68161e54bda596302a20b (patch)
tree4cfee165844000179a18ae1f01bc59dc440e8603 /audio/daapd
parent95c6b3b89e1b6af8d1d95512ac064c1219e7d151 (diff)
downloadpkgsrc-44e5bf02a3c374f3b3d68161e54bda596302a20b.tar.gz
add an option for enabling AAC support in daapd
Diffstat (limited to 'audio/daapd')
-rw-r--r--audio/daapd/Makefile15
-rw-r--r--audio/daapd/distinfo4
-rw-r--r--audio/daapd/patches/patch-aa6
3 files changed, 18 insertions, 7 deletions
diff --git a/audio/daapd/Makefile b/audio/daapd/Makefile
index 9ca01bd060d..239920b3207 100644
--- a/audio/daapd/Makefile
+++ b/audio/daapd/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2005/05/22 20:07:37 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2005/10/11 12:20:57 tonio Exp $
DISTNAME= daapd-0.2.3d
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tgz
@@ -20,6 +20,17 @@ EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/daapd.conf ${PKG_SYSCONFDIR}/daapd.conf
+PKG_OPTIONS_VAR=PKG_OPTIONS.daapd
+PKG_SUPPORTED_OPTIONS=faad
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mfaad)
+.include "../../audio/faad2/buildlink3.mk"
+ MAKE_ENV+= WITH_FAAD=1
+.else
+ MAKE_ENV+= WITH_FAAD=0
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}
${INSTALL_DATA_DIR} ${EGDIR}
diff --git a/audio/daapd/distinfo b/audio/daapd/distinfo
index 7a45c6db59e..05764d41c4c 100644
--- a/audio/daapd/distinfo
+++ b/audio/daapd/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2005/10/10 13:06:11 joerg Exp $
+$NetBSD: distinfo,v 1.9 2005/10/11 12:20:57 tonio Exp $
SHA1 (daapd-0.2.3d.tgz) = 3ca12f0cb608a0be2d8351dbc341aa7d2a4f08f8
RMD160 (daapd-0.2.3d.tgz) = 3093b678d4f74fa371cb7cccee860b3f3d1f5bcd
Size (daapd-0.2.3d.tgz) = 202317 bytes
-SHA1 (patch-aa) = cfcaebcaf34df8b676892f0dc93200743f3b81e4
+SHA1 (patch-aa) = a6b576702f33ebd5c4313f2f76ed41738b270027
diff --git a/audio/daapd/patches/patch-aa b/audio/daapd/patches/patch-aa
index cb574dd3bf4..991ac43a231 100644
--- a/audio/daapd/patches/patch-aa
+++ b/audio/daapd/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.7 2005/10/10 13:06:11 joerg Exp $
+$NetBSD: patch-aa,v 1.8 2005/10/11 12:20:57 tonio Exp $
---- makefile.orig 2004-09-07 21:17:58.000000000 -0400
+--- makefile.orig 2004-09-08 03:17:58.000000000 +0200
+++ makefile
@@ -2,7 +2,7 @@
HOWL_ENABLE = 1
ZLIB_ENABLE = 1
-MPEG4_ENABLE = 1
-+MPEG4_ENABLE = 0
++MPEG4_ENABLE = $(WITH_FAAD)
# no need to touch anything below this line