summaryrefslogtreecommitdiff
path: root/audio/rhythmbox/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-05-26 20:26:58 +0000
committerwiz <wiz@pkgsrc.org>2009-05-26 20:26:58 +0000
commitb8e43a5738ea0491918d13de7c2b7f250550fcd9 (patch)
tree883156c09486aed5c7aa8403f6203790453b1c0e /audio/rhythmbox/Makefile
parentae9c4e8c5c8ba3b5584eb50e218a57baaf692d05 (diff)
downloadpkgsrc-b8e43a5738ea0491918d13de7c2b7f250550fcd9.tar.gz
Split off options into options.mk file.
Use standard name for option variable.
Diffstat (limited to 'audio/rhythmbox/Makefile')
-rw-r--r--audio/rhythmbox/Makefile32
1 files changed, 7 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"