diff options
author | richard <richard@pkgsrc.org> | 2016-08-06 15:56:50 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2016-08-06 15:56:50 +0000 |
commit | 23767bdf69aaa997522acccb0a31670fbf019e5e (patch) | |
tree | 2952e9a48956705dd4573d09d3945edfaa7caa3b /audio/pulseaudio | |
parent | 47f4e889ea1f4ab8bb18f10679646abf3fcb0c67 (diff) | |
download | pkgsrc-23767bdf69aaa997522acccb0a31670fbf019e5e.tar.gz |
SunOS needs c99 and at the same time add option for 'fftw' enabling the use
of the Discrete Fourier Transforms library.
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r-- | audio/pulseaudio/Makefile | 3 | ||||
-rw-r--r-- | audio/pulseaudio/PLIST | 5 | ||||
-rw-r--r-- | audio/pulseaudio/options.mk | 26 |
3 files changed, 30 insertions, 4 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile index db3dd09f63a..d03f100318b 100644 --- a/audio/pulseaudio/Makefile +++ b/audio/pulseaudio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.110 2016/08/04 16:45:55 ryoon Exp $ +# $NetBSD: Makefile,v 1.111 2016/08/06 15:56:50 richard Exp $ DISTNAME= pulseaudio-9.0 CATEGORIES= audio @@ -88,6 +88,7 @@ CONF_FILES+= ${EGDIR}/pulseaudio-system.conf \ PLIST_VARS+= alsa bonjour coreaudio evdev oss sun .if ${OPSYS} == "SunOS" +USE_LANGUAGES+= c99 PLIST.sun= yes . if ${OS_VERSION} == "5.11" PLIST.oss= yes diff --git a/audio/pulseaudio/PLIST b/audio/pulseaudio/PLIST index 2c24ec6cade..2c54c72f904 100644 --- a/audio/pulseaudio/PLIST +++ b/audio/pulseaudio/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.22 2016/08/04 16:45:55 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.23 2016/08/06 15:56:50 richard Exp $ bin/esdcompat bin/pacat bin/pacmd @@ -11,6 +11,7 @@ bin/parecord bin/pasuspender ${PLIST.x11}bin/pax11publish bin/pulseaudio +${PLIST.fftw}bin/qpaeq ${PLIST.x11}bin/start-pulseaudio-x11 include/pulse/cdecl.h include/pulse/channelmap.h @@ -116,6 +117,8 @@ lib/pulse-${PKGVERSION}/modules/module-device-restore.a lib/pulse-${PKGVERSION}/modules/module-device-restore.so lib/pulse-${PKGVERSION}/modules/module-echo-cancel.a lib/pulse-${PKGVERSION}/modules/module-echo-cancel.so +${PLIST.fftw}lib/pulse-${PKGVERSION}/modules/module-equalizer-sink.a +${PLIST.fftw}lib/pulse-${PKGVERSION}/modules/module-equalizer-sink.so lib/pulse-${PKGVERSION}/modules/module-esound-compat-spawnfd.a lib/pulse-${PKGVERSION}/modules/module-esound-compat-spawnfd.so lib/pulse-${PKGVERSION}/modules/module-esound-compat-spawnpid.a diff --git a/audio/pulseaudio/options.mk b/audio/pulseaudio/options.mk index 17f68f37209..78645d6e450 100644 --- a/audio/pulseaudio/options.mk +++ b/audio/pulseaudio/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.5 2013/01/29 15:35:04 wiz Exp $ +# $NetBSD: options.mk,v 1.6 2016/08/06 15:56:50 richard Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.pulseaudio -PKG_SUPPORTED_OPTIONS= avahi x11 +PKG_SUPPORTED_OPTIONS= avahi fftw x11 PKG_SUGGESTED_OPTIONS= avahi x11 PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} .include "../../mk/bsd.options.mk" @@ -17,6 +17,28 @@ CONFIGURE_ARGS+= --disable-avahi .endif ### +### fftw +### +.if !empty(PKG_OPTIONS:Mfftw) +CONFIGURE_ARGS+= --with-fftw +PLIST.fftw= yes + +.include "../../lang/python/pyversion.mk" +# manually replace since check_interpreter detests /usr/bin/env +REPLACE_INTERPRETER+= pulse_py +REPLACE.pulse_py.old= .*/usr/bin/env python[^ ]* +REPLACE.pulse_py.new= ${PYTHONBIN} +REPLACE_FILES.pulse_py= src/utils/qpaeq + +.include "../../math/fftwf/buildlink3.mk" +.include "../../sysutils/py-dbus/buildlink3.mk" +.include "../../x11/py-qt4/buildlink3.mk" +.include "../../x11/py-sip/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-fftw +.endif + +### ### X11 ### .if !empty(PKG_OPTIONS:Mx11) |