summaryrefslogtreecommitdiff
path: root/x11/kde-runtime4
diff options
context:
space:
mode:
authormarkd <markd>2013-04-30 20:51:54 +0000
committermarkd <markd>2013-04-30 20:51:54 +0000
commita3aa78bda977fb14533563aac98acf9fceee7729 (patch)
tree033db087d756ec4d520043f6d0002f9d7d32c4b7 /x11/kde-runtime4
parentba4737fb8a7e9685c19daceaf0088de9a38b2b8e (diff)
downloadpkgsrc-a3aa78bda977fb14533563aac98acf9fceee7729.tar.gz
Add a pulseaudio option.
Diffstat (limited to 'x11/kde-runtime4')
-rw-r--r--x11/kde-runtime4/Makefile3
-rw-r--r--x11/kde-runtime4/options.mk10
2 files changed, 9 insertions, 4 deletions
diff --git a/x11/kde-runtime4/Makefile b/x11/kde-runtime4/Makefile
index f960cfab49f..4be4416d8d4 100644
--- a/x11/kde-runtime4/Makefile
+++ b/x11/kde-runtime4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2013/04/28 03:18:17 markd Exp $
+# $NetBSD: Makefile,v 1.22 2013/04/30 20:51:54 markd Exp $
DISTNAME= kde-runtime-${_KDE_VERSION}
PKGNAME= ${DISTNAME:S/-4/4-4/}
@@ -9,7 +9,6 @@ COMMENT= Runtime requirements for the KDE integrated X11 desktop
.include "../../meta-pkgs/kde4/Makefile.kde4"
# BUILD_MAKE_FLAGS+= VERBOSE=1
-CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=off
CMAKE_ARGS+= -DWITH_LibSSH:BOOL=OFF
CMAKE_ARGS+= -DLIBLZMA_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.xz}/include
CMAKE_ARGS+= -DLIBLZMA_LIBRARY:FILEPATH=${BUILDLINK_PREFIX.xz}/lib/liblzma.so
diff --git a/x11/kde-runtime4/options.mk b/x11/kde-runtime4/options.mk
index 0eb72a3cbea..cf229e9bb41 100644
--- a/x11/kde-runtime4/options.mk
+++ b/x11/kde-runtime4/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.3 2013/04/28 03:18:18 markd Exp $
+# $NetBSD: options.mk,v 1.4 2013/04/30 20:51:54 markd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.kde-runtime4
-PKG_SUPPORTED_OPTIONS= samba alsa
+PKG_SUPPORTED_OPTIONS= samba alsa pulseaudio
PKG_SUGGESTED_OPTIONS= samba
.if ${OPSYS} == "Linux"
@@ -23,3 +23,9 @@ PLIST.smb= yes
.else
CMAKE_ARGS+= -DWITH_ALSA=OFF
.endif
+
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+.include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF
+.endif