diff options
author | markd <markd@pkgsrc.org> | 2013-04-30 20:51:54 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2013-04-30 20:51:54 +0000 |
commit | 4f9ed429b0f6f5bdd868208e432fba2c6d7d7631 (patch) | |
tree | 033db087d756ec4d520043f6d0002f9d7d32c4b7 /x11/kde-runtime4 | |
parent | 02a49ff47cbccfa16b0192ea1e90b8fd950e69a9 (diff) | |
download | pkgsrc-4f9ed429b0f6f5bdd868208e432fba2c6d7d7631.tar.gz |
Add a pulseaudio option.
Diffstat (limited to 'x11/kde-runtime4')
-rw-r--r-- | x11/kde-runtime4/Makefile | 3 | ||||
-rw-r--r-- | x11/kde-runtime4/options.mk | 10 |
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 |