diff options
author | wiz <wiz@pkgsrc.org> | 2009-04-10 18:47:59 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-04-10 18:47:59 +0000 |
commit | b64abd55558a4724ce7ae49dfaf4b51c59a3a0dd (patch) | |
tree | d74162840ba22f401c9acc5413db485614434d0e /audio/pulseaudio | |
parent | a0e6884a48c34daf94d48c111278cf8471019b9f (diff) | |
download | pkgsrc-b64abd55558a4724ce7ae49dfaf4b51c59a3a0dd.tar.gz |
Fix pulseaudio for Linux. From Aleksey Cheusov in PR 41184.
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r-- | audio/pulseaudio/Makefile | 9 | ||||
-rw-r--r-- | audio/pulseaudio/PLIST | 3 |
2 files changed, 9 insertions, 3 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile index ec4121fbe87..e0b7b2d9bd4 100644 --- a/audio/pulseaudio/Makefile +++ b/audio/pulseaudio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2009/02/21 13:22:43 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2009/04/10 18:47:59 wiz Exp $ # NOTE: Please send a copy of any patches that are not pkgsrc-specific # to <pulseaudio-discuss@mail.0pointer.de> @@ -59,7 +59,7 @@ SUBST_SED.padsp= -e 's@libpulsedsp\.so@${PREFIX}/lib/&@' CONFIGURE_ENV+= cc_cv_tls___thread=no .endif -PLIST_VARS+= hal oss +PLIST_VARS+= evdev hal oss .if ${OPSYS} == "Darwin" BUILDLINK_TRANSFORM+= rm:-Wl,-version-script=./map-file @@ -86,6 +86,11 @@ CONFIGURE_ARGS+= --disable-netbsd-atomic-ops .include "../../devel/libatomic_ops/buildlink3.mk" .endif +# Build module-mmkbd-evdev.so under Linux +.if ${OPSYS} == "Linux" && exists(/usr/include/linux/input.h) +PLIST.evdev= yes +.endif + .include "options.mk" pre-configure: diff --git a/audio/pulseaudio/PLIST b/audio/pulseaudio/PLIST index dc8f7b4fa66..d32fe7cf600 100644 --- a/audio/pulseaudio/PLIST +++ b/audio/pulseaudio/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2009/02/05 21:05:07 tron Exp $ +@comment $NetBSD: PLIST,v 1.4 2009/04/10 18:47:59 wiz Exp $ bin/esdcompat bin/pacat bin/pacmd @@ -91,6 +91,7 @@ lib/pulse-0.9/modules/module-http-protocol-tcp.so lib/pulse-0.9/modules/module-http-protocol-unix.so lib/pulse-0.9/modules/module-ladspa-sink.so lib/pulse-0.9/modules/module-match.so +${PLIST.evdev}lib/pulse-0.9/modules/module-mmkbd-evdev.so lib/pulse-0.9/modules/module-native-protocol-fd.so lib/pulse-0.9/modules/module-native-protocol-tcp.so lib/pulse-0.9/modules/module-native-protocol-unix.so |