pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/daapd add an option for enabling AAC support in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b1c5d2c1998
branches:  trunk
changeset: 500655:6b1c5d2c1998
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Tue Oct 11 12:20:57 2005 +0000

description:
add an option for enabling AAC support in daapd

diffstat:

 audio/daapd/Makefile         |  15 +++++++++++++--
 audio/daapd/distinfo         |   4 ++--
 audio/daapd/patches/patch-aa |   6 +++---
 3 files changed, 18 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 2b5d41e705dc -r 6b1c5d2c1998 audio/daapd/Makefile
--- a/audio/daapd/Makefile      Tue Oct 11 12:02:14 2005 +0000
+++ b/audio/daapd/Makefile      Tue Oct 11 12:20:57 2005 +0000
@@ -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 @@
 
 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 -r 2b5d41e705dc -r 6b1c5d2c1998 audio/daapd/distinfo
--- a/audio/daapd/distinfo      Tue Oct 11 12:02:14 2005 +0000
+++ b/audio/daapd/distinfo      Tue Oct 11 12:20:57 2005 +0000
@@ -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 -r 2b5d41e705dc -r 6b1c5d2c1998 audio/daapd/patches/patch-aa
--- a/audio/daapd/patches/patch-aa      Tue Oct 11 12:02:14 2005 +0000
+++ b/audio/daapd/patches/patch-aa      Tue Oct 11 12:20:57 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index