diff options
author | oliver <oliver@FreeBSD.org> | 2008-03-03 02:05:01 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2008-03-03 02:05:01 +0800 |
commit | c651b56c062dd630cb27aebf190b1a90a6d5c93b (patch) | |
tree | 5ebacaa198f41e7cc7acd54e779661a46e716e8a /multimedia | |
parent | 70da6941b25f352d083595faf26d4f2953dc022b (diff) | |
download | freebsd-ports-gnome-c651b56c062dd630cb27aebf190b1a90a6d5c93b.tar.gz freebsd-ports-gnome-c651b56c062dd630cb27aebf190b1a90a6d5c93b.tar.zst freebsd-ports-gnome-c651b56c062dd630cb27aebf190b1a90a6d5c93b.zip |
make dbus an optional (default=on) requirement
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/audacious-plugins/Makefile | 10 | ||||
-rw-r--r-- | multimedia/audacious-plugins/pkg-plist | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/multimedia/audacious-plugins/Makefile b/multimedia/audacious-plugins/Makefile index af158cac371d..a48514d1fb83 100644 --- a/multimedia/audacious-plugins/Makefile +++ b/multimedia/audacious-plugins/Makefile @@ -36,6 +36,7 @@ PORTDOCS= AUTHORS ChangeLog NEWS # PROJECTM "Enable projectM vis plugin" off \ OPTIONS= AUDIOCD "Enable audiocd plugin" off \ + DBUS "Enable dbus support" on \ ESOUND "Enable Esound output output" off \ MP3 "Enable mp3 plugin" on \ ROCKLIGHT "Enable Rocklight vis plugin" on \ @@ -78,6 +79,15 @@ CONFIGURE_ARGS+=--disable-cdaudio PLIST_SUB+= AUDIOCDPLUGIN="@comment " .endif +.if !defined(WITHOUT_DBUS) +LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib +CONFIGURE_ARGS+=--enable-dbus --enable-gnomeshortcuts +PLIST_SUB+= DBUS="" +.else +CONFIGURE_ARGS+=--disable-dbus --disable-gnomeshortcuts +PLIST_SUB+= DBUS="@comment " +.endif + .if defined(WITH_ESOUND) USE_GNOME+= esound CONFIGURE_ARGS+=--enable-esd diff --git a/multimedia/audacious-plugins/pkg-plist b/multimedia/audacious-plugins/pkg-plist index 3a0c7bf1d98f..b86657ae6f41 100644 --- a/multimedia/audacious-plugins/pkg-plist +++ b/multimedia/audacious-plugins/pkg-plist @@ -10,7 +10,7 @@ lib/audacious/Effect/stereo.so lib/audacious/Effect/voice_removal.so lib/audacious/General/alarm.so %%AOSDPLUGIN%%lib/audacious/General/aosd.so -lib/audacious/General/gnomeshortcuts.so +%%DBUS%%lib/audacious/General/gnomeshortcuts.so lib/audacious/General/hotkey.so %%LIRCPLUGIN%%lib/audacious/General/lirc.so lib/audacious/General/song_change.so |