summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz>2009-05-26 20:26:58 +0000
committerwiz <wiz>2009-05-26 20:26:58 +0000
commitb6ee7da4af3cb13fb0e56e26fa6135690d98d1f0 (patch)
tree883156c09486aed5c7aa8403f6203790453b1c0e /audio
parenta77125997aa6e1a6af1215ef31231ef1f167ac5f (diff)
downloadpkgsrc-b6ee7da4af3cb13fb0e56e26fa6135690d98d1f0.tar.gz
Split off options into options.mk file.
Use standard name for option variable.
Diffstat (limited to 'audio')
-rw-r--r--audio/rhythmbox/Makefile32
-rw-r--r--audio/rhythmbox/options.mk21
2 files changed, 28 insertions, 25 deletions
diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile
index ff2c4d4999c..c95ac46a8fd 100644
--- a/audio/rhythmbox/Makefile
+++ b/audio/rhythmbox/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2009/05/26 18:15:20 drochner Exp $
+# $NetBSD: Makefile,v 1.64 2009/05/26 20:26:58 wiz Exp $
#
DISTNAME= rhythmbox-0.12.1
@@ -12,12 +12,7 @@ COMMENT= Music management application for GNOME
PKG_DESTDIR_SUPPORT= user-destdir
-PKG_OPTIONS_VAR= rhythmbox
-PKG_SUPPORTED_OPTIONS= hal
-PKG_SUGGESTED_OPTIONS= hal
-PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
-
-.include "../../mk/bsd.options.mk"
+.include "options.mk"
GNU_CONFIGURE= YES
USE_DIRS+= gnome2-1.5
@@ -27,31 +22,16 @@ USE_PKGLOCALEDIR= YES
CONFIGURE_ARGS+= --disable-browser-plugin
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
-.if !empty(PKG_OPTIONS:Mhal)
-CONFIGURE_ARGS+= --with-ipod
-.include "../../audio/libgpod/buildlink3.mk"
-# needs a newer libmtp
-#CONFIGURE_ARGS+= --with-mtp
-#.include "../../devel/libmtp/buildlink3.mk"
-CONFIGURE_ARGS+= --with-hal
-PLIST.hal= yes
-.include "../../sysutils/hal/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --without-hal
-.endif
-
-# for DAAP
-.include "../../net/avahi/buildlink3.mk"
GCONF_SCHEMAS= rhythmbox.schemas
-BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.14.0
-BUILDLINK_API_DEPENDS.musicbrainz+= musicbrainz>=2.1.0
-BUILDLINK_API_DEPENDS.totem+= {totem,totem-xine}>=1.1.5
+# for DAAP
+.include "../../net/avahi/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../multimedia/py-gstreamer0.10/buildlink3.mk"
+BUILDLINK_API_DEPENDS.musicbrainz+= musicbrainz>=2.1.0
.include "../../audio/musicbrainz/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
@@ -62,6 +42,7 @@ BUILDLINK_API_DEPENDS.totem+= {totem,totem-xine}>=1.1.5
.include "../../multimedia/gnome-media/buildlink3.mk"
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
+BUILDLINK_API_DEPENDS.totem+= {totem,totem-xine}>=1.1.5
.include "../../multimedia/totem-pl-parser/buildlink3.mk"
.include "../../net/libsoup24/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
@@ -71,6 +52,7 @@ BUILDLINK_API_DEPENDS.totem+= {totem,totem-xine}>=1.1.5
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
+BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.14.0
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/rhythmbox/options.mk b/audio/rhythmbox/options.mk
new file mode 100644
index 00000000000..f1a34537dab
--- /dev/null
+++ b/audio/rhythmbox/options.mk
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1 2009/05/26 20:26:58 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.rhythmbox
+PKG_SUPPORTED_OPTIONS= hal
+PKG_SUGGESTED_OPTIONS= hal
+PLIST_VARS+= hal
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mhal)
+CONFIGURE_ARGS+= --with-ipod
+.include "../../audio/libgpod/buildlink3.mk"
+# needs a newer libmtp
+#CONFIGURE_ARGS+= --with-mtp
+#.include "../../devel/libmtp/buildlink3.mk"
+CONFIGURE_ARGS+= --with-hal
+PLIST.hal= yes
+.include "../../sysutils/hal/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-hal
+.endif