aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/audacious-plugins
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2008-03-03 02:05:01 +0800
committeroliver <oliver@FreeBSD.org>2008-03-03 02:05:01 +0800
commitc651b56c062dd630cb27aebf190b1a90a6d5c93b (patch)
tree5ebacaa198f41e7cc7acd54e779661a46e716e8a /multimedia/audacious-plugins
parent70da6941b25f352d083595faf26d4f2953dc022b (diff)
downloadfreebsd-ports-graphics-c651b56c062dd630cb27aebf190b1a90a6d5c93b.tar.gz
freebsd-ports-graphics-c651b56c062dd630cb27aebf190b1a90a6d5c93b.tar.zst
freebsd-ports-graphics-c651b56c062dd630cb27aebf190b1a90a6d5c93b.zip
make dbus an optional (default=on) requirement
Diffstat (limited to 'multimedia/audacious-plugins')
-rw-r--r--multimedia/audacious-plugins/Makefile10
-rw-r--r--multimedia/audacious-plugins/pkg-plist2
2 files changed, 11 insertions, 1 deletions
diff --git a/multimedia/audacious-plugins/Makefile b/multimedia/audacious-plugins/Makefile
index af158cac371..a48514d1fb8 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 3a0c7bf1d98..b86657ae6f4 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