1 |
commit: 9cbd71e7ad48dd0e785806de2fbc402cf503c9a4 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 1 09:17:34 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 1 09:38:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cbd71e7 |
7 |
|
8 |
media-sound/csound: dropped obsolete 6.16.1 |
9 |
|
10 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
11 |
|
12 |
media-sound/csound/Manifest | 1 - |
13 |
media-sound/csound/csound-6.16.1.ebuild | 262 -------------------------------- |
14 |
2 files changed, 263 deletions(-) |
15 |
|
16 |
diff --git a/media-sound/csound/Manifest b/media-sound/csound/Manifest |
17 |
index 1a1dcce1b7de..ecc8f5175a93 100644 |
18 |
--- a/media-sound/csound/Manifest |
19 |
+++ b/media-sound/csound/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
DIST Csound6.16.0_manual_html.zip 24765630 BLAKE2B 3bf6e2202a42dfa826d39ef41282e1942f26cc3f6a3358e0de3a006f102b686342b4e1824a1c3a48ac37ffed31d9353e6946d948751dcc059819da649d63d9cb SHA512 e550a832e365ab186533045d110259699039d08a85ec2f53d4fe36aa31004725b1dc6732f71d9895fa19b3df5f4ec720af1b4f80856a14b0ffbd844c4ab2dbe3 |
22 |
DIST Csound6.16.0_manual_pdf.zip 9640644 BLAKE2B 7bb35f806568a80abbd84a4f4988217bea09f3174881d802f6d61505f044c8a26b59036dcb61ead5315e756a4512eb1fb56b2824f27f09899a8fe1664a386754 SHA512 18347ce7080ca7997e98f8addffcc492c7ec5d8e037e71a33bb46fdbc5b58ec26ee42f370689fc228d4150bd9dedc31c7824ec4c19f3243d512977f4380f9490 |
23 |
-DIST csound-6.16.1-distributable.tar.xz 25142436 BLAKE2B fe29208afe2cfc9740e68da213f269ca909facd452ffdd595e14a6dc14526bd497e8a2bc1832da28b0bbd6c8b9ac8891f79d819abf64cba0a9e1002c42f8e5dd SHA512 2535f16dab6a682e38b8352cb7bb87a65aedf0550c1705cde8a64b3c0112d7fd97e6c366dad18ef9ef5e1baaf7123f2c0032d9a2ab6979c202692c3a4069117e |
24 |
DIST csound-6.16.2-distributable.tar.xz 25169396 BLAKE2B f51c27606f53571d998a62667c55c60a831c076ced993c4eaa8fa24a7e0a8d4872055dc59455b70124f51e2c419018345e2d0e9a33b95d4362f8c6bdecb8310d SHA512 b72c89b2935d92840f5cb7f6d5696e74a3528f5d37858218691f0f6331a69f63b261937a8a8d346d6e182cf8f4a40af85167a4e42fd005cfcf5b4c9daa822f75 |
25 |
|
26 |
diff --git a/media-sound/csound/csound-6.16.1.ebuild b/media-sound/csound/csound-6.16.1.ebuild |
27 |
deleted file mode 100644 |
28 |
index 58046967e8a0..000000000000 |
29 |
--- a/media-sound/csound/csound-6.16.1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,262 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-# As upstream (and we aswell) are not allowed to redistribute scansyn, |
36 |
-# we have to repackage the tarball. For that purpose use `bash files/repackage.sh version` |
37 |
-# Reference: https://github.com/csound/csound/issues/1148 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-LUA_COMPAT=( lua5-1 luajit ) |
42 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
43 |
- |
44 |
-inherit cmake lua-single python-single-r1 toolchain-funcs |
45 |
- |
46 |
-if [[ ${PV} == "9999" ]]; then |
47 |
- EGIT_REPO_URI="https://github.com/csound/csound.git" |
48 |
- inherit git-r3 |
49 |
-else |
50 |
- DOC_P="Csound$(ver_cut 1-2).0" |
51 |
- SRC_URI="https://dev.gentoo.org/~fordfrog/distfiles/${P}-distributable.tar.xz |
52 |
- doc? ( |
53 |
- https://github.com/csound/csound/releases/download/${PV}/${DOC_P}_manual_pdf.zip |
54 |
- https://github.com/csound/csound/releases/download/${PV}/${DOC_P}_manual_html.zip |
55 |
- )" |
56 |
- KEYWORDS="amd64 x86" |
57 |
-fi |
58 |
- |
59 |
-DESCRIPTION="Sound design and signal processing system for composition and performance" |
60 |
-HOMEPAGE="https://csound.github.io/" |
61 |
- |
62 |
-LICENSE="LGPL-2.1 doc? ( FDL-1.2+ )" |
63 |
-SLOT="0" |
64 |
-IUSE="+alsa beats chua curl +cxx debug doc double-precision dssi examples |
65 |
-fltk +fluidsynth hdf5 jack java keyboard linear lua mp3 nls osc portaudio |
66 |
-portaudio portmidi pulseaudio python samples static-libs stk test +threads +utils |
67 |
-vim-syntax websocket" |
68 |
- |
69 |
-REQUIRED_USE=" |
70 |
- alsa? ( threads ) |
71 |
- java? ( cxx ) |
72 |
- linear? ( double-precision ) |
73 |
- lua? ( ${LUA_REQUIRED_USE} cxx ) |
74 |
- python? ( ${PYTHON_REQUIRED_USE} cxx ) |
75 |
-" |
76 |
- |
77 |
-BDEPEND=" |
78 |
- sys-devel/flex |
79 |
- virtual/yacc |
80 |
- chua? ( dev-libs/boost ) |
81 |
- lua? ( dev-lang/swig ) |
82 |
- python? ( dev-lang/swig ) |
83 |
- nls? ( sys-devel/gettext ) |
84 |
- test? ( |
85 |
- dev-util/cunit |
86 |
- ${PYTHON_DEPS} |
87 |
- ) |
88 |
-" |
89 |
-# linear currently works only with sci-mathematics-gmm-5.1 |
90 |
-# https://github.com/csound/csound/issues/920 |
91 |
-CDEPEND=" |
92 |
- dev-cpp/eigen:3 |
93 |
- >=media-libs/libsndfile-1.0.16 |
94 |
- media-libs/libsamplerate |
95 |
- sys-libs/zlib |
96 |
- alsa? ( media-libs/alsa-lib ) |
97 |
- curl? ( net-misc/curl ) |
98 |
- dssi? ( |
99 |
- media-libs/dssi |
100 |
- media-libs/ladspa-sdk |
101 |
- ) |
102 |
- fluidsynth? ( media-sound/fluidsynth:= ) |
103 |
- fltk? ( x11-libs/fltk:1[threads?] ) |
104 |
- hdf5? ( sci-libs/hdf5 ) |
105 |
- jack? ( virtual/jack ) |
106 |
- java? ( >=virtual/jdk-1.8:* ) |
107 |
- keyboard? ( x11-libs/fltk:1[threads?] ) |
108 |
- linear? ( =sci-mathematics/gmm-5.1* ) |
109 |
- lua? ( ${LUA_DEPS} ) |
110 |
- mp3? ( >=media-sound/lame-3.100-r3 ) |
111 |
- osc? ( media-libs/liblo ) |
112 |
- portaudio? ( media-libs/portaudio ) |
113 |
- portmidi? ( media-libs/portmidi ) |
114 |
- pulseaudio? ( media-sound/pulseaudio ) |
115 |
- python? ( ${PYTHON_DEPS} ) |
116 |
- stk? ( media-libs/stk ) |
117 |
- utils? ( !media-sound/snd ) |
118 |
- websocket? ( net-libs/libwebsockets:= ) |
119 |
-" |
120 |
-RDEPEND="${CDEPEND}" |
121 |
-DEPEND=" |
122 |
- ${CDEPEND} |
123 |
- dev-libs/boost |
124 |
-" |
125 |
- |
126 |
-if [[ ${PV} != "9999" ]]; then |
127 |
- DEPEND+="doc? ( app-arch/unzip )" |
128 |
-fi |
129 |
- |
130 |
-# requires specific alsa settings |
131 |
-RESTRICT="test" |
132 |
- |
133 |
-PATCHES=( |
134 |
- "${FILESDIR}/${PN}-6.13.0-xdg-open.patch" |
135 |
- "${FILESDIR}/${PN}-6.15.0-lame.patch" |
136 |
-) |
137 |
- |
138 |
-pkg_setup() { |
139 |
- use lua && lua-single_pkg_setup |
140 |
- |
141 |
- if use python || use test ; then |
142 |
- python-single-r1_pkg_setup |
143 |
- fi |
144 |
-} |
145 |
- |
146 |
-src_prepare() { |
147 |
- cmake_src_prepare |
148 |
- |
149 |
- sed -e '/set(PLUGIN_INSTALL_DIR/s/-${APIVERSION}//' \ |
150 |
- -e '/-O3/d' \ |
151 |
- -i CMakeLists.txt || die |
152 |
- |
153 |
- if use doc; then |
154 |
- local png="${WORKDIR}/html/images/delayk.png" |
155 |
- pngfix -q --out=${png/.png/fixed.png} ${png} # see pngfix help for exit codes |
156 |
- [[ $? -gt 15 ]] && die "Failed to fix ${png}" |
157 |
- mv -f ${png/.png/fixed.png} ${png} || die |
158 |
- fi |
159 |
-} |
160 |
- |
161 |
-src_configure() { |
162 |
- local mycmakeargs=( |
163 |
- -DBUILD_BELA=OFF |
164 |
- -DBUILD_BUCHLA_OPCODES=ON |
165 |
- -DBUILD_CHUA_OPCODES=$(usex chua) |
166 |
- -DBUILD_COUNTER_OPCODES=ON |
167 |
- -DBUILD_CSBEATS=$(usex beats) |
168 |
- -DBUILD_CUDA_OPCODES=OFF |
169 |
- -DBUILD_CXX_INTERFACE=$(usex cxx) |
170 |
- -DBUILD_DSSI_OPCODES=$(usex dssi) |
171 |
- -DBUILD_EMUGENS_OPCODES=ON |
172 |
- -DBUILD_EXCITER_OPCODES=ON |
173 |
- -DBUILD_FLUID_OPCODES=$(usex fluidsynth) |
174 |
- -DBUILD_FRAMEBUFFER_OPCODES=ON |
175 |
- -DBUILD_HDF5_OPCODES=$(usex hdf5) |
176 |
- -DBUILD_INSTALLER=OFF |
177 |
- -DBUILD_JACK_OPCODES=$(usex jack) |
178 |
- -DBUILD_JAVA_INTERFACE=$(usex java) |
179 |
- -DBUILD_LINEAR_ALGEBRA_OPCODES=$(usex linear) |
180 |
- -DBUILD_LUA_INTERFACE=$(usex lua) |
181 |
- -DBUILD_MP3OUT_OPCODE=$(usex mp3) |
182 |
- -DBUILD_MULTI_CORE=$(usex threads) |
183 |
- -DBUILD_OPENCL_OPCODES=OFF |
184 |
- -DBUILD_OSC_OPCODES=$(usex osc) |
185 |
- -DBUILD_P5GLOVE_OPCODES=OFF |
186 |
- -DBUILD_PADSYNTH_OPCODES=ON |
187 |
- -DBUILD_PLATEREV_OPCODES=ON |
188 |
- -DBUILD_PVSGENDY_OPCODE=OFF |
189 |
- -DBUILD_PYTHON_INTERFACE=$(usex python) |
190 |
- -DBUILD_RELEASE=ON |
191 |
- -DBUILD_SCANSYN_OPCODES=OFF # this is not allowed to be redistributed: https://github.com/csound/csound/issues/1148 |
192 |
- -DBUILD_SELECT_OPCODE=ON |
193 |
- -DBUILD_SERIAL_OPCODES=ON |
194 |
- -DBUILD_SHARED_LIBS=ON |
195 |
- -DBUILD_STACK_OPCODES=ON |
196 |
- -DBUILD_STATIC_LIBRARY=$(usex static-libs "ON" $(usex test)) |
197 |
- -DBUILD_STK_OPCODES=$(usex stk) |
198 |
- -DBUILD_TESTS=$(usex test) |
199 |
- -DBUILD_UTILITIES=$(usex utils) |
200 |
- -DBUILD_VIRTUAL_KEYBOARD=$(usex keyboard) |
201 |
- -DBUILD_VST4CS_OPCODES=OFF |
202 |
- -DBUILD_WEBSOCKET_OPCODE=$(usex websocket) |
203 |
- -DBUILD_WIIMOTE_OPCODES=OFF |
204 |
- -DBUILD_WINSOUND=OFF |
205 |
- |
206 |
- -DFAIL_MISSING=ON |
207 |
- -DNEW_PARSER_DEBUG=$(usex debug) |
208 |
- -DREQUIRE_PTHREADS=$(usex threads) |
209 |
- |
210 |
- -DUSE_ALSA=$(usex alsa) |
211 |
- -DUSE_ATOMIC_BUILTIN=ON |
212 |
- -DUSE_AUDIOUNIT=OFF # Apple specific |
213 |
- -DUSE_COMPILER_OPTIMIZATIONS=ON |
214 |
- -DUSE_COREMIDI=OFF # Apple specific |
215 |
- -DUSE_CURL=$(usex curl) |
216 |
- -DUSE_DOUBLE=$(usex double-precision) |
217 |
- -DUSE_FLTK=$(usex fltk) |
218 |
- -DUSE_GETTEXT=$(usex nls) |
219 |
- -DUSE_GIT_COMMIT=ON |
220 |
- -DUSE_IPMIDI=ON |
221 |
- -DUSE_JACK=$(usex jack) |
222 |
- -DUSE_LIB64=$([[ $(get_libdir) == "lib64" ]] && echo "ON" || echo "OFF") |
223 |
- -DUSE_LRINT=ON |
224 |
- -DUSE_PORTAUDIO=$(usex portaudio) |
225 |
- -DUSE_PORTMIDI=$(usex portmidi) |
226 |
- -DUSE_PULSEAUDIO=$(usex pulseaudio) |
227 |
- |
228 |
- ) |
229 |
- |
230 |
- use java && mycmakeargs+=( |
231 |
- -DJAVA_HOME="$(java-config -g JAVA_HOME)" |
232 |
- ) |
233 |
- |
234 |
- use lua && mycmakeargs+=( |
235 |
- -DLUA_H_PATH="$(lua_get_include_dir)" |
236 |
- -DLUA_LIBRARY="$(lua_get_shared_lib)" |
237 |
- # LUA_MODULE_INSTALL_DIR omitted on purpose, csound Lua module links against liblua |
238 |
- # so it must NOT be installed into cmod_dir. |
239 |
- ) |
240 |
- |
241 |
- cmake_src_configure |
242 |
-} |
243 |
- |
244 |
-src_install() { |
245 |
- cmake_src_install |
246 |
- dodoc -r Release_Notes/. |
247 |
- |
248 |
- # generate env.d file |
249 |
- cat > "${T}"/62${PN} <<-_EOF_ || die |
250 |
- OPCODEDIR$(usex double-precision 64 '')="${EPREFIX}/usr/$(get_libdir)/${PN}/plugins$(usex double-precision 64 '')" |
251 |
- CSSTRNGS="${EPREFIX}/usr/share/locale" |
252 |
- _EOF_ |
253 |
- if use stk ; then |
254 |
- echo RAWWAVE_PATH=\"${EPREFIX}/usr/share/csound/rawwaves\" >> "${T}"/62${PN} || die |
255 |
- fi |
256 |
- doenvd "${T}"/62${PN} |
257 |
- |
258 |
- if use examples ; then |
259 |
- dodoc -r examples |
260 |
- docompress -x /usr/share/doc/${PF}/examples |
261 |
- fi |
262 |
- |
263 |
- use samples && dodoc -r samples |
264 |
- |
265 |
- if use vim-syntax ; then |
266 |
- insinto /usr/share/vim/vimfiles/syntax |
267 |
- doins installer/misc/vim/csound_{csd,orc,sco}.vim |
268 |
- insinto /usr/share/vim/vimfiles/plugin |
269 |
- doins installer/misc/vim/csound.vim |
270 |
- fi |
271 |
- |
272 |
- # rename extract to csound_extract (bug #247394) |
273 |
- mv "${ED}"/usr/bin/{,csound_}extract || die |
274 |
- |
275 |
- use python && python_optimize |
276 |
- |
277 |
- use java && (dosym lib_jcsound6.so usr/lib64/lib_jcsound.so.1 || die "Failed to create java lib symlink") |
278 |
- |
279 |
- # install docs |
280 |
- if [[ ${PV} != "9999" ]] && use doc ; then |
281 |
- dodoc "${WORKDIR}"/*.pdf |
282 |
- dodoc -r "${WORKDIR}"/html |
283 |
- fi |
284 |
-} |
285 |
- |
286 |
-pkg_postinst() { |
287 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
288 |
- elog |
289 |
- elog "The extract tool is now installed as csound_extract" |
290 |
- elog "due to collisions with many other packages (bug #247394)." |
291 |
- elog |
292 |
- fi |
293 |
-} |