summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2005-11-15 16:12:33 +0000
committerhira <hira@pkgsrc.org>2005-11-15 16:12:33 +0000
commit2c1cdd4b5ddbd4e4d4f3a1225c20585de3699584 (patch)
tree9a536b50bb4f8a10238041e3d31d0c55ecb2c7f5 /audio
parent859e1691cbad3057c3563fb84f0a247513b6984f (diff)
downloadpkgsrc-2c1cdd4b5ddbd4e4d4f3a1225c20585de3699584.tar.gz
Add AAC audio support using options.mk. It is disabled by default.
Diffstat (limited to 'audio')
-rw-r--r--audio/gtkpod/Makefile4
-rw-r--r--audio/gtkpod/options.mk11
2 files changed, 14 insertions, 1 deletions
diff --git a/audio/gtkpod/Makefile b/audio/gtkpod/Makefile
index fc8493e663a..4a1c381ba53 100644
--- a/audio/gtkpod/Makefile
+++ b/audio/gtkpod/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/10/10 17:18:04 hira Exp $
+# $NetBSD: Makefile,v 1.5 2005/11/15 16:12:33 hira Exp $
#
DISTNAME= gtkpod-0.94.0
@@ -19,6 +19,8 @@ USE_TOOLS+= pkg-config
BUILDLINK_DEPENDS.gtk2+= gtk2+>=2.4.0
+.include "options.mk"
+
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../devel/atk/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
diff --git a/audio/gtkpod/options.mk b/audio/gtkpod/options.mk
new file mode 100644
index 00000000000..2192081742f
--- /dev/null
+++ b/audio/gtkpod/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2005/11/15 16:12:33 hira Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gtkpod
+PKG_SUPPORTED_OPTIONS= faad
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mfaad)
+. include "../../audio/faad2/buildlink3.mk"
+.endif