mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
make dbus an optional (default=on) requirement
This commit is contained in:
parent
7f0781fd59
commit
f4a98f46cd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208339
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user