summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2005-12-11 11:09:06 +0000
committerhira <hira@pkgsrc.org>2005-12-11 11:09:06 +0000
commitdd48bfb444ff2620bee9800611c8ead45f94e2f3 (patch)
tree6ab321f3a8daab3756511d4ad886d5ddd4fc1f39 /audio
parentfbd77d7bd1cbfb2d27674874a3f2d0f620790984 (diff)
downloadpkgsrc-dd48bfb444ff2620bee9800611c8ead45f94e2f3.tar.gz
Add MP4 encoding support by audio/faad2 (with options.mk).
It's disabled by default.
Diffstat (limited to 'audio')
-rw-r--r--audio/faac/Makefile4
-rw-r--r--audio/faac/options.mk11
2 files changed, 14 insertions, 1 deletions
diff --git a/audio/faac/Makefile b/audio/faac/Makefile
index 6b7c6fabb57..d0df6568d80 100644
--- a/audio/faac/Makefile
+++ b/audio/faac/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/06/01 20:07:59 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2005/12/11 11:09:06 hira Exp $
#
DISTNAME= faac-1.24
@@ -22,4 +22,6 @@ pre-configure:
${LIBTOOLIZE} --automake; \
aclocal; autoheader; automake -a --foreign -i; autoconf
+.include "options.mk"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/faac/options.mk b/audio/faac/options.mk
new file mode 100644
index 00000000000..592f06f0c0e
--- /dev/null
+++ b/audio/faac/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2005/12/11 11:09:06 hira Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.faac
+PKG_SUPPORTED_OPTIONS= faad
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mfaad)
+. include "../../audio/faad2/buildlink3.mk"
+.endif