aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gnome-settings-daemon
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2010-08-17 20:10:16 +0000
committerKoop Mast <kwm@FreeBSD.org>2010-08-17 20:10:16 +0000
commit55b8b8a623450b938b7381ddcaf0ec0567c9feff (patch)
tree6e484ed50bbffe47be97c5cf8e9c0041f9dd522b /sysutils/gnome-settings-daemon
parent53b1500d653102ff32a4710210adda39c657bfb9 (diff)
downloadports-55b8b8a623450b938b7381ddcaf0ec0567c9feff.tar.gz
ports-55b8b8a623450b938b7381ddcaf0ec0567c9feff.zip
Notes
Diffstat (limited to 'sysutils/gnome-settings-daemon')
-rw-r--r--sysutils/gnome-settings-daemon/Makefile19
-rw-r--r--sysutils/gnome-settings-daemon/pkg-plist8
2 files changed, 20 insertions, 7 deletions
diff --git a/sysutils/gnome-settings-daemon/Makefile b/sysutils/gnome-settings-daemon/Makefile
index 5ba579156dbd..1530144d6baf 100644
--- a/sysutils/gnome-settings-daemon/Makefile
+++ b/sysutils/gnome-settings-daemon/Makefile
@@ -15,8 +15,7 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME 2 settings daemon
-LIB_DEPENDS= pulse.0:${PORTSDIR}/audio/pulseaudio \
- canberra-gtk.0:${PORTSDIR}/audio/libcanberra \
+LIB_DEPENDS= canberra-gtk.0:${PORTSDIR}/audio/libcanberra \
notify.1:${PORTSDIR}/devel/libnotify
RUN_DEPENDS= xrdb:${PORTSDIR}/x11/xrdb
@@ -26,11 +25,14 @@ USE_GMAKE= yes
USE_GNOME= gnomeprefix intlhack gnomehack gnomedesktop libgnomekbd
USE_GETTEXT= yes
USE_GSTREAMER= good
+USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+OPTIONS= PULSEAUDIO "Enable Pulseaudio support" On
+
GCONF_SCHEMAS= apps_gnome_settings_daemon_housekeeping.schemas \
apps_gnome_settings_daemon_keybindings.schemas \
apps_gnome_settings_daemon_xrandr.schemas \
@@ -39,4 +41,15 @@ GCONF_SCHEMAS= apps_gnome_settings_daemon_housekeeping.schemas \
desktop_gnome_peripherals_touchpad.schemas \
gnome-settings-daemon.schemas
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_PULSEAUDIO)
+CONFIGURE_ARGS+=--disable-pulse
+PLIST_SUB+= PULSEAUDIO="@comment "
+.else
+LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
+CONFIGURE_ARGS+=--enable-pulse
+PLIST_SUB+= PULSEAUDIO=""
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/gnome-settings-daemon/pkg-plist b/sysutils/gnome-settings-daemon/pkg-plist
index a63c3473679c..144568d8cabe 100644
--- a/sysutils/gnome-settings-daemon/pkg-plist
+++ b/sysutils/gnome-settings-daemon/pkg-plist
@@ -29,9 +29,9 @@ lib/gnome-settings-daemon-2.0/libkeybindings.so
lib/gnome-settings-daemon-2.0/libkeyboard.a
lib/gnome-settings-daemon-2.0/libkeyboard.la
lib/gnome-settings-daemon-2.0/libkeyboard.so
-lib/gnome-settings-daemon-2.0/libmedia-keys.a
-lib/gnome-settings-daemon-2.0/libmedia-keys.la
-lib/gnome-settings-daemon-2.0/libmedia-keys.so
+%%PULSEAUDIO%%lib/gnome-settings-daemon-2.0/libmedia-keys.a
+%%PULSEAUDIO%%lib/gnome-settings-daemon-2.0/libmedia-keys.la
+%%PULSEAUDIO%%lib/gnome-settings-daemon-2.0/libmedia-keys.so
lib/gnome-settings-daemon-2.0/libmouse.a
lib/gnome-settings-daemon-2.0/libmouse.la
lib/gnome-settings-daemon-2.0/libmouse.so
@@ -50,7 +50,7 @@ lib/gnome-settings-daemon-2.0/libxrdb.so
lib/gnome-settings-daemon-2.0/libxsettings.a
lib/gnome-settings-daemon-2.0/libxsettings.la
lib/gnome-settings-daemon-2.0/libxsettings.so
-lib/gnome-settings-daemon-2.0/media-keys.gnome-settings-plugin
+%%PULSEAUDIO%%lib/gnome-settings-daemon-2.0/media-keys.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/mouse.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/sound.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/typing-break.gnome-settings-plugin