add options.mk to csound6 and use it to (optionally, non default) disable including pulseaudio support.diff -r1.41 -r1.42 pkgsrc/audio/csound6/Makefile
(mrg)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.41 2019/11/03 11:51:01 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.42 2019/12/07 10:24:02 mrg Exp $ | |
2 | 2 | |||
3 | DISTNAME= csound-${CSOUND_VERSION} | 3 | DISTNAME= csound-${CSOUND_VERSION} | |
4 | PKGNAME= csound6-${CSOUND_VERSION} | 4 | PKGNAME= csound6-${CSOUND_VERSION} | |
5 | CATEGORIES= audio | 5 | CATEGORIES= audio | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=csound/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=csound/} | |
7 | GITHUB_PROJECT= csound | 7 | GITHUB_PROJECT= csound | |
8 | 8 | |||
9 | MAINTAINER= mrg@eterna.com.au | 9 | MAINTAINER= mrg@eterna.com.au | |
10 | HOMEPAGE= https://sourceforge.net/projects/csound/ | 10 | HOMEPAGE= https://sourceforge.net/projects/csound/ | |
11 | COMMENT= Software synthesizer and sequencer | 11 | COMMENT= Software synthesizer and sequencer | |
12 | LICENSE= gnu-lgpl-v2.1 # or later | 12 | LICENSE= gnu-lgpl-v2.1 # or later | |
13 | 13 | |||
14 | CSOUND_VERSION= 6.13.0 | 14 | CSOUND_VERSION= 6.13.0 | |
@@ -31,26 +31,27 @@ INSTALLATION_DIRS= bin | @@ -31,26 +31,27 @@ INSTALLATION_DIRS= bin | |||
31 | 31 | |||
32 | CHECK_PORTABILITY_SKIP+= installer/misc/makedeb.sh \ | 32 | CHECK_PORTABILITY_SKIP+= installer/misc/makedeb.sh \ | |
33 | installer/macosx/release-build-10.8.sh \ | 33 | installer/macosx/release-build-10.8.sh \ | |
34 | frontends/max_csound_tilde/installer/build-installer.sh \ | 34 | frontends/max_csound_tilde/installer/build-installer.sh \ | |
35 | frontends/max_csound_tilde/installer/build-installer-windows.sh | 35 | frontends/max_csound_tilde/installer/build-installer-windows.sh | |
36 | 36 | |||
37 | .include "../../mk/bsd.prefs.mk" | 37 | .include "../../mk/bsd.prefs.mk" | |
38 | 38 | |||
39 | post-install: | 39 | post-install: | |
40 | cd ${DESTDIR}${PREFIX} && \ | 40 | cd ${DESTDIR}${PREFIX} && \ | |
41 | rm -f bin/csound6 && \ | 41 | rm -f bin/csound6 && \ | |
42 | ${LN} -s ../lib/csound6/csound bin/csound6 | 42 | ${LN} -s ../lib/csound6/csound bin/csound6 | |
43 | 43 | |||
44 | .include "options.mk" | |||
45 | ||||
44 | .include "../../audio/fluidsynth/buildlink3.mk" | 46 | .include "../../audio/fluidsynth/buildlink3.mk" | |
45 | .include "../../audio/libsamplerate/buildlink3.mk" | 47 | .include "../../audio/libsamplerate/buildlink3.mk" | |
46 | .include "../../audio/libsndfile/buildlink3.mk" | 48 | .include "../../audio/libsndfile/buildlink3.mk" | |
47 | .include "../../audio/pulseaudio/buildlink3.mk" | |||
48 | .include "../../mk/jpeg.buildlink3.mk" | 49 | .include "../../mk/jpeg.buildlink3.mk" | |
49 | .include "../../devel/boost-libs/buildlink3.mk" | 50 | .include "../../devel/boost-libs/buildlink3.mk" | |
50 | .include "../../graphics/png/buildlink3.mk" | 51 | .include "../../graphics/png/buildlink3.mk" | |
51 | PYTHON_FOR_BUILD_ONLY= yes | 52 | PYTHON_FOR_BUILD_ONLY= yes | |
52 | .include "../../lang/python/application.mk" | 53 | .include "../../lang/python/application.mk" | |
53 | .include "../../x11/fltk13/buildlink3.mk" | 54 | .include "../../x11/fltk13/buildlink3.mk" | |
54 | .include "../../www/curl/buildlink3.mk" | 55 | .include "../../www/curl/buildlink3.mk" | |
55 | .include "../../mk/pthread.buildlink3.mk" | 56 | .include "../../mk/pthread.buildlink3.mk" | |
56 | .include "../../mk/bsd.pkg.mk" | 57 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.6 2019/11/02 22:25:46 mrg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.7 2019/12/07 10:24:02 mrg Exp $ | |
2 | bin/csound6 | 2 | bin/csound6 | |
3 | include/csound6/CppSound.hpp | 3 | include/csound6/CppSound.hpp | |
4 | include/csound6/CsoundFile.hpp | 4 | include/csound6/CsoundFile.hpp | |
5 | include/csound6/OpcodeBase.hpp | 5 | include/csound6/OpcodeBase.hpp | |
6 | include/csound6/arrays.h | 6 | include/csound6/arrays.h | |
7 | include/csound6/cfgvar.h | 7 | include/csound6/cfgvar.h | |
8 | include/csound6/csPerfThread.hpp | 8 | include/csound6/csPerfThread.hpp | |
9 | include/csound6/cs_par_structs.h | 9 | include/csound6/cs_par_structs.h | |
10 | include/csound6/cscore.h | 10 | include/csound6/cscore.h | |
11 | include/csound6/csdebug.h | 11 | include/csound6/csdebug.h | |
12 | include/csound6/csdl.h | 12 | include/csound6/csdl.h | |
13 | include/csound6/csound.h | 13 | include/csound6/csound.h | |
14 | include/csound6/csound.hpp | 14 | include/csound6/csound.hpp | |
@@ -72,27 +72,27 @@ lib/csound6/plugins-6.0/libfractalnoise. | @@ -72,27 +72,27 @@ lib/csound6/plugins-6.0/libfractalnoise. | |||
72 | lib/csound6/plugins-6.0/libframebuffer.so | 72 | lib/csound6/plugins-6.0/libframebuffer.so | |
73 | lib/csound6/plugins-6.0/libftsamplebank.so | 73 | lib/csound6/plugins-6.0/libftsamplebank.so | |
74 | lib/csound6/plugins-6.0/libgetftargs.so | 74 | lib/csound6/plugins-6.0/libgetftargs.so | |
75 | lib/csound6/plugins-6.0/libgtf.so | 75 | lib/csound6/plugins-6.0/libgtf.so | |
76 | lib/csound6/plugins-6.0/libimage.so | 76 | lib/csound6/plugins-6.0/libimage.so | |
77 | lib/csound6/plugins-6.0/libipmidi.so | 77 | lib/csound6/plugins-6.0/libipmidi.so | |
78 | lib/csound6/plugins-6.0/libliveconv.so | 78 | lib/csound6/plugins-6.0/libliveconv.so | |
79 | lib/csound6/plugins-6.0/libmixer.so | 79 | lib/csound6/plugins-6.0/libmixer.so | |
80 | lib/csound6/plugins-6.0/libpadsynth.so | 80 | lib/csound6/plugins-6.0/libpadsynth.so | |
81 | lib/csound6/plugins-6.0/libplaterev.so | 81 | lib/csound6/plugins-6.0/libplaterev.so | |
82 | lib/csound6/plugins-6.0/libpvsops.so | 82 | lib/csound6/plugins-6.0/libpvsops.so | |
83 | lib/csound6/plugins-6.0/libpy.so | 83 | lib/csound6/plugins-6.0/libpy.so | |
84 | lib/csound6/plugins-6.0/libquadbezier.so | 84 | lib/csound6/plugins-6.0/libquadbezier.so | |
85 | lib/csound6/plugins-6.0/librtpulse.so | 85 | ${PLIST.pulseaudio}lib/csound6/plugins-6.0/librtpulse.so | |
86 | lib/csound6/plugins-6.0/libscansyn.so | 86 | lib/csound6/plugins-6.0/libscansyn.so | |
87 | lib/csound6/plugins-6.0/libscugens.so | 87 | lib/csound6/plugins-6.0/libscugens.so | |
88 | lib/csound6/plugins-6.0/libselect.so | 88 | lib/csound6/plugins-6.0/libselect.so | |
89 | lib/csound6/plugins-6.0/libserial.so | 89 | lib/csound6/plugins-6.0/libserial.so | |
90 | lib/csound6/plugins-6.0/libsignalflowgraph.so | 90 | lib/csound6/plugins-6.0/libsignalflowgraph.so | |
91 | lib/csound6/plugins-6.0/libstackops.so | 91 | lib/csound6/plugins-6.0/libstackops.so | |
92 | lib/csound6/plugins-6.0/libstdutil.so | 92 | lib/csound6/plugins-6.0/libstdutil.so | |
93 | lib/csound6/plugins-6.0/libsystem_call.so | 93 | lib/csound6/plugins-6.0/libsystem_call.so | |
94 | lib/csound6/plugins-6.0/liburandom.so | 94 | lib/csound6/plugins-6.0/liburandom.so | |
95 | lib/csound6/plugins-6.0/libvirtual.so | 95 | lib/csound6/plugins-6.0/libvirtual.so | |
96 | lib/csound6/plugins-6.0/libwidgets.so | 96 | lib/csound6/plugins-6.0/libwidgets.so | |
97 | lib/csound6/pv_export | 97 | lib/csound6/pv_export | |
98 | lib/csound6/pv_import | 98 | lib/csound6/pv_import |
# $NetBSD: options.mk,v 1.1 2019/12/07 10:24:02 mrg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.csound6
PKG_SUPPORTED_OPTIONS= pulseaudio
PKG_SUGGESTED_OPTIONS= pulseaudio
.include "../../mk/bsd.options.mk"
PLIST_VARS+= pulseaudio
.if !empty(PKG_OPTIONS:Mpulseaudio)
.include "../../audio/pulseaudio/buildlink3.mk"
PLIST.pulseaudio= yes
.endif