summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-settings-daemon/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-08-18 04:12:46 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-08-18 04:12:46 +0800
commitfedbe71afba7e210cae3bab034830d46f3c3f368 (patch)
tree6c258c09282fd78be8b8e69cb13201ec7ef07b24 /sysutils/gnome-settings-daemon/Makefile
parentfc4203fce87788311e54b689a227088b654d0996 (diff)
downloadmarcuscom-ports-fedbe71afba7e210cae3bab034830d46f3c3f368.tar
marcuscom-ports-fedbe71afba7e210cae3bab034830d46f3c3f368.tar.gz
marcuscom-ports-fedbe71afba7e210cae3bab034830d46f3c3f368.tar.bz2
marcuscom-ports-fedbe71afba7e210cae3bab034830d46f3c3f368.tar.lz
marcuscom-ports-fedbe71afba7e210cae3bab034830d46f3c3f368.tar.xz
marcuscom-ports-fedbe71afba7e210cae3bab034830d46f3c3f368.tar.zst
marcuscom-ports-fedbe71afba7e210cae3bab034830d46f3c3f368.zip
Sync with FreeBSD ports (optionfy pulse).
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14428 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gnome-settings-daemon/Makefile')
-rw-r--r--sysutils/gnome-settings-daemon/Makefile21
1 files changed, 17 insertions, 4 deletions
diff --git a/sysutils/gnome-settings-daemon/Makefile b/sysutils/gnome-settings-daemon/Makefile
index 820e77b54..7cee0ac34 100644
--- a/sysutils/gnome-settings-daemon/Makefile
+++ b/sysutils/gnome-settings-daemon/Makefile
@@ -3,7 +3,7 @@
# Whom: Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/gnome-settings-daemon/Makefile,v 1.62 2010/04/26 23:24:41 kwm Exp $
+# $MCom: ports/sysutils/gnome-settings-daemon/Makefile,v 1.66 2010/07/14 10:22:09 kwm Exp $
#
PORTNAME= gnome-settings-daemon
@@ -16,8 +16,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
@@ -27,11 +26,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 \
@@ -40,4 +42,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>