1 |
commit: 829b401805cdcb154a8c4401f846f4d0ea7dc55f |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 28 00:54:32 2015 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 28 00:54:32 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=829b4018 |
7 |
|
8 |
media-sound/timidity++: Remove old |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
media-sound/timidity++/Manifest | 2 - |
13 |
media-sound/timidity++/files/init.d.timidity.3 | 20 --- |
14 |
.../timidity++/timidity++-2.13.2-r13.ebuild | 176 -------------------- |
15 |
.../timidity++/timidity++-2.13.2-r14.ebuild | 178 -------------------- |
16 |
media-sound/timidity++/timidity++-2.14.0-r1.ebuild | 184 --------------------- |
17 |
media-sound/timidity++/timidity++-2.14.0.ebuild | 182 -------------------- |
18 |
6 files changed, 742 deletions(-) |
19 |
|
20 |
diff --git a/media-sound/timidity++/Manifest b/media-sound/timidity++/Manifest |
21 |
index b83a47d..e7dc0fd 100644 |
22 |
--- a/media-sound/timidity++/Manifest |
23 |
+++ b/media-sound/timidity++/Manifest |
24 |
@@ -1,3 +1 @@ |
25 |
-DIST TiMidity++-2.13.2.tar.bz2 1581230 SHA256 0a8524b789b57eaf944c3d9bce32c21a4e893016b22a02a24cd0a4c6afee7260 SHA512 0e35ad4c8745878daf63932143e60dc4bda0f3ef5d6f046cad74c8c57edf39a7d1d3f0f36758d5b11ace72e2661fba1629d30d90202e9573c07d1ea2b66a6bc1 WHIRLPOOL 134a903ce7f943b538783ee610e074ff279103443bf0b2a9ff10822af376bd31d291197202913aba1325e55ee55b9d20c6087e13a79f135018ed945e8e8c8ff4 |
26 |
DIST TiMidity++-2.14.0.tar.xz 1356476 SHA256 abf0c8367959e85c9e635b8fbd5183fc27bd380e0ef5e45de4158784538c86fc SHA512 d8fc06fa36e4dd42de80c61943da4cd9aec5f8aaf31057a9ededa633d2d48e64c4e53391378d82a7a46ffe4f96c756b010ea9727270f80b134ae1f8bad535bd3 WHIRLPOOL 0031a0e6519ead34c73ed3383d1d74b91b3e25c257854bd3325d25ec9c00bb55c036936ef4ef162ad13c255fefc4e46b802173e93b7ed575c92cf076ab03929b |
27 |
-DIST timidity++-2.13.2-patchset-2.tar.bz2 8465 SHA256 d71bf95d27a87cbf9fbfb3d0a04dfc391f0413e0663b13622111c6325d2fb2dc SHA512 5199a608518f0d92a5dc2d469babe922949b6dd7c07197af3eca167024b20e57466e99baf731abda58a4025fd842d7670dbc01130cdb6eebef11d04f4c2a32ea WHIRLPOOL 2d7281a13512090a22498d5198b4ef2d6b3e74ed23a351b8b187686fdcadea59565b924c5887b04bedf4d3ff289f73952f1bb026ff4e37c30df28d7437453462 |
28 |
|
29 |
diff --git a/media-sound/timidity++/files/init.d.timidity.3 b/media-sound/timidity++/files/init.d.timidity.3 |
30 |
deleted file mode 100644 |
31 |
index 444a914..0000000 |
32 |
--- a/media-sound/timidity++/files/init.d.timidity.3 |
33 |
+++ /dev/null |
34 |
@@ -1,20 +0,0 @@ |
35 |
-#!/sbin/runscript |
36 |
- |
37 |
-depend() { |
38 |
- after alsasound esound |
39 |
-} |
40 |
- |
41 |
-start() { |
42 |
- ebegin "Starting TiMidity++ Virtual Midi Sequencer" |
43 |
- test -n "$TIMIDITY_PCM_NAME" && export TIMIDITY_PCM_NAME |
44 |
- start-stop-daemon --start --background --chdir /usr/share/timidity \ |
45 |
- --chuid timidity:audio --make-pidfile --pidfile /var/run/timidity.pid \ |
46 |
- --exec /usr/bin/timidity -- -iA ${TIMIDITY_OPTS} |
47 |
- eend $? |
48 |
-} |
49 |
- |
50 |
-stop() { |
51 |
- ebegin "Stopping TiMidity++" |
52 |
- start-stop-daemon --stop --quiet --pidfile /var/run/timidity.pid |
53 |
- eend $? |
54 |
-} |
55 |
|
56 |
diff --git a/media-sound/timidity++/timidity++-2.13.2-r13.ebuild b/media-sound/timidity++/timidity++-2.13.2-r13.ebuild |
57 |
deleted file mode 100644 |
58 |
index c48ad1a..0000000 |
59 |
--- a/media-sound/timidity++/timidity++-2.13.2-r13.ebuild |
60 |
+++ /dev/null |
61 |
@@ -1,176 +0,0 @@ |
62 |
-# Copyright 1999-2015 Gentoo Foundation |
63 |
-# Distributed under the terms of the GNU General Public License v2 |
64 |
-# $Id$ |
65 |
- |
66 |
-EAPI=2 |
67 |
-inherit autotools eutils elisp-common user |
68 |
- |
69 |
-MY_PV=${PV/_/-} |
70 |
-MY_P=TiMidity++-${MY_PV} |
71 |
-S=${WORKDIR}/${MY_P} |
72 |
- |
73 |
-DESCRIPTION="A handy MIDI to WAV converter with OSS and ALSA output support" |
74 |
-HOMEPAGE="http://timidity.sourceforge.net/" |
75 |
-SRC_URI="mirror://sourceforge/timidity/${MY_P}.tar.bz2 |
76 |
- mirror://gentoo/${P}-patchset-2.tar.bz2" |
77 |
- |
78 |
-LICENSE="GPL-2" |
79 |
-SLOT="0" |
80 |
-KEYWORDS="amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd" |
81 |
-IUSE="motif oss nas X gtk vorbis tk slang alsa jack emacs ao selinux speex flac ncurses" |
82 |
- |
83 |
-DEPEND="ncurses? ( >=sys-libs/ncurses-5 ) |
84 |
- emacs? ( virtual/emacs ) |
85 |
- gtk? ( x11-libs/gtk+:2 ) |
86 |
- tk? ( dev-lang/tk ) |
87 |
- nas? ( >=media-libs/nas-1.4 ) |
88 |
- alsa? ( media-libs/alsa-lib ) |
89 |
- slang? ( sys-libs/slang ) |
90 |
- jack? ( media-sound/jack-audio-connection-kit ) |
91 |
- vorbis? ( media-libs/libvorbis ) |
92 |
- flac? ( media-libs/flac ) |
93 |
- selinux? ( sec-policy/selinux-timidity ) |
94 |
- speex? ( media-libs/speex ) |
95 |
- ao? ( >=media-libs/libao-0.8.5 ) |
96 |
- motif? ( >=x11-libs/motif-2.3:0 ) |
97 |
- X? ( x11-libs/libXaw x11-libs/libXext >=media-libs/libpng-1.4.2 )" |
98 |
-RDEPEND="${DEPEND} |
99 |
- alsa? ( media-sound/alsa-utils ) |
100 |
- app-eselect/eselect-timidity" |
101 |
- |
102 |
-PDEPEND="|| ( media-sound/timidity-eawpatches media-sound/timidity-freepats )" |
103 |
- |
104 |
-SITEFILE=50${PN}-gentoo.el |
105 |
- |
106 |
-pkg_setup() { |
107 |
- enewgroup audio 18 # Just make sure it exists |
108 |
- enewuser timidity -1 -1 /var/lib/timidity audio |
109 |
-} |
110 |
- |
111 |
-src_prepare() { |
112 |
- EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patches |
113 |
- eautoreconf |
114 |
-} |
115 |
- |
116 |
-src_configure() { |
117 |
- local myconf |
118 |
- local audios |
119 |
- |
120 |
- use flac && audios="${audios},flac" |
121 |
- use speex && audios="${audios},speex" |
122 |
- use vorbis && audios="${audios},vorbis" |
123 |
- |
124 |
- use oss && audios="${audios},oss" |
125 |
- use jack && audios="${audios},jack" |
126 |
- use ao && audios="${audios},ao" |
127 |
- |
128 |
- if use nas; then |
129 |
- audios="${audios},nas" |
130 |
- myconf="${myconf} --with-nas-library=/usr/$(get_libdir)/libaudio.so --with-x" |
131 |
- use X || ewarn "Basic X11 support will be enabled because required by nas." |
132 |
- fi |
133 |
- |
134 |
- if use alsa; then |
135 |
- audios="${audios},alsa" |
136 |
- myconf="${myconf} --with-default-output=alsa --enable-alsaseq" |
137 |
- fi |
138 |
- |
139 |
- # We disable motif by default and then only enable it if it's requested. |
140 |
- if use motif; then |
141 |
- myconf="${myconf} --enable-motif --with-x" |
142 |
- use X || ewarn "Basic X11 support will be enabled because required by motif." |
143 |
- fi |
144 |
- |
145 |
- econf \ |
146 |
- --localstatedir=/var/state/timidity++ \ |
147 |
- --with-lispdir="${SITELISP}/${PN}" \ |
148 |
- --with-elf \ |
149 |
- --enable-audio=${audios} \ |
150 |
- --enable-server \ |
151 |
- --enable-network \ |
152 |
- --enable-dynamic \ |
153 |
- --enable-vt100 \ |
154 |
- --enable-spline=cubic \ |
155 |
- $(use_enable emacs) \ |
156 |
- $(use_enable slang) \ |
157 |
- $(use_enable ncurses) \ |
158 |
- $(use_with X x) \ |
159 |
- $(use_enable X spectrogram) \ |
160 |
- $(use_enable X wrd) \ |
161 |
- $(use_enable X xskin) \ |
162 |
- $(use_enable X xaw) \ |
163 |
- $(use_enable gtk) \ |
164 |
- $(use_enable tk tcltk) \ |
165 |
- --disable-motif \ |
166 |
- ${myconf} |
167 |
-} |
168 |
- |
169 |
-src_install() { |
170 |
- emake DESTDIR="${D}" install || die "emake install failed" |
171 |
- |
172 |
- dodoc AUTHORS ChangeLog* |
173 |
- dodoc NEWS README* "${FILESDIR}/timidity.cfg-r1" |
174 |
- |
175 |
- # these are only for the ALSA sequencer mode |
176 |
- if use alsa; then |
177 |
- newconfd "${FILESDIR}"/conf.d.timidity.2 timidity |
178 |
- newinitd "${FILESDIR}"/init.d.timidity.3 timidity |
179 |
- fi |
180 |
- |
181 |
- insinto /etc |
182 |
- newins "${FILESDIR}/timidity.cfg-r1" timidity.cfg |
183 |
- |
184 |
- dodir /usr/share/timidity |
185 |
- dosym /etc/timidity.cfg /usr/share/timidity/timidity.cfg |
186 |
- |
187 |
- if use emacs; then |
188 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
189 |
- fi |
190 |
- |
191 |
- diropts -o timidity -g nobody -m 0700 |
192 |
- keepdir /var/lib/timidity |
193 |
- |
194 |
- doicon "${FILESDIR}"/timidity.xpm |
195 |
- newmenu "${FILESDIR}"/timidity.desktop.2 timidity.desktop |
196 |
- |
197 |
- # Order of preference: gtk, X (Xaw), ncurses, slang |
198 |
- # Do not create menu item for terminal ones |
199 |
- local interface="-id" |
200 |
- local terminal="true" |
201 |
- local nodisplay="true" |
202 |
- if use gtk || use X; then |
203 |
- interface="-ia" |
204 |
- terminal="false" |
205 |
- nodisplay="false" |
206 |
- use gtk && interface="-ig" |
207 |
- elif use ncurses || use slang; then |
208 |
- local interface="-is" |
209 |
- use ncurses && interface="-in" |
210 |
- fi |
211 |
- sed -e "s/Exec=timidity/Exec=timidity ${interface}/" \ |
212 |
- -e "s/Terminal=.*/Terminal=${terminal}/" \ |
213 |
- -e "s/NoDisplay=.*/NoDisplay=${nodisplay}/" \ |
214 |
- -i "${D}"/usr/share/applications/timidity.desktop || die "sed failed" |
215 |
-} |
216 |
- |
217 |
-pkg_postinst() { |
218 |
- use emacs && elisp-site-regen |
219 |
- |
220 |
- elog "A timidity config file has been installed in /etc/timidity.cfg." |
221 |
- elog "Do not edit this file as it will interfere with the eselect timidity tool." |
222 |
- elog "The tool 'eselect timidity' can be used to switch between installed patchsets." |
223 |
- |
224 |
- if use alsa; then |
225 |
- elog "An init script for the alsa timidity sequencer has been installed." |
226 |
- elog "If you wish to use the timidity virtual sequencer, edit /etc/conf.d/timidity" |
227 |
- elog "and run 'rc-update add timidity <runlevel> && /etc/init.d/timidity start'" |
228 |
- fi |
229 |
- |
230 |
- if use sparc; then |
231 |
- elog "Only saving to wave file and ALSA soundback has been tested working." |
232 |
- fi |
233 |
-} |
234 |
- |
235 |
-pkg_postrm() { |
236 |
- use emacs && elisp-site-regen |
237 |
-} |
238 |
|
239 |
diff --git a/media-sound/timidity++/timidity++-2.13.2-r14.ebuild b/media-sound/timidity++/timidity++-2.13.2-r14.ebuild |
240 |
deleted file mode 100644 |
241 |
index b1b5e37..0000000 |
242 |
--- a/media-sound/timidity++/timidity++-2.13.2-r14.ebuild |
243 |
+++ /dev/null |
244 |
@@ -1,178 +0,0 @@ |
245 |
-# Copyright 1999-2015 Gentoo Foundation |
246 |
-# Distributed under the terms of the GNU General Public License v2 |
247 |
-# $Id$ |
248 |
- |
249 |
-EAPI=4 |
250 |
-inherit autotools eutils elisp-common user |
251 |
- |
252 |
-MY_PV=${PV/_/-} |
253 |
-MY_P=TiMidity++-${MY_PV} |
254 |
-S=${WORKDIR}/${MY_P} |
255 |
- |
256 |
-DESCRIPTION="A handy MIDI to WAV converter with OSS and ALSA output support" |
257 |
-HOMEPAGE="http://timidity.sourceforge.net/" |
258 |
-SRC_URI="mirror://sourceforge/timidity/${MY_P}.tar.bz2 |
259 |
- mirror://gentoo/${P}-patchset-2.tar.bz2" |
260 |
- |
261 |
-LICENSE="GPL-2" |
262 |
-SLOT="0" |
263 |
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
264 |
-IUSE="motif oss nas X gtk vorbis tk slang alsa jack emacs ao selinux speex flac ncurses" |
265 |
- |
266 |
-DEPEND="ncurses? ( >=sys-libs/ncurses-5 ) |
267 |
- emacs? ( virtual/emacs ) |
268 |
- gtk? ( x11-libs/gtk+:2 ) |
269 |
- tk? ( dev-lang/tk ) |
270 |
- nas? ( >=media-libs/nas-1.4 ) |
271 |
- alsa? ( media-libs/alsa-lib ) |
272 |
- slang? ( sys-libs/slang ) |
273 |
- jack? ( media-sound/jack-audio-connection-kit ) |
274 |
- vorbis? ( media-libs/libvorbis ) |
275 |
- flac? ( media-libs/flac ) |
276 |
- selinux? ( sec-policy/selinux-timidity ) |
277 |
- speex? ( media-libs/speex ) |
278 |
- ao? ( >=media-libs/libao-0.8.5 ) |
279 |
- motif? ( >=x11-libs/motif-2.3:0 ) |
280 |
- X? ( x11-libs/libXaw x11-libs/libXext >=media-libs/libpng-1.4.2 )" |
281 |
-RDEPEND="${DEPEND} |
282 |
- alsa? ( media-sound/alsa-utils ) |
283 |
- app-eselect/eselect-timidity" |
284 |
- |
285 |
-PDEPEND="|| ( media-sound/timidity-eawpatches media-sound/timidity-freepats )" |
286 |
- |
287 |
-SITEFILE=50${PN}-gentoo.el |
288 |
- |
289 |
-pkg_setup() { |
290 |
- enewgroup audio 18 # Just make sure it exists |
291 |
- enewuser timidity -1 -1 /var/lib/timidity audio |
292 |
-} |
293 |
- |
294 |
-src_prepare() { |
295 |
- EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patches |
296 |
- eautoreconf |
297 |
-} |
298 |
- |
299 |
-src_configure() { |
300 |
- export EXTRACFLAGS="${CFLAGS}" #385817 |
301 |
- |
302 |
- local myconf |
303 |
- local audios |
304 |
- |
305 |
- use flac && audios="${audios},flac" |
306 |
- use speex && audios="${audios},speex" |
307 |
- use vorbis && audios="${audios},vorbis" |
308 |
- |
309 |
- use oss && audios="${audios},oss" |
310 |
- use jack && audios="${audios},jack" |
311 |
- use ao && audios="${audios},ao" |
312 |
- |
313 |
- if use nas; then |
314 |
- audios="${audios},nas" |
315 |
- myconf="${myconf} --with-nas-library=/usr/$(get_libdir)/libaudio.so --with-x" |
316 |
- use X || ewarn "Basic X11 support will be enabled because required by nas." |
317 |
- fi |
318 |
- |
319 |
- if use alsa; then |
320 |
- audios="${audios},alsa" |
321 |
- myconf="${myconf} --with-default-output=alsa --enable-alsaseq" |
322 |
- fi |
323 |
- |
324 |
- # We disable motif by default and then only enable it if it's requested. |
325 |
- if use motif; then |
326 |
- myconf="${myconf} --enable-motif --with-x" |
327 |
- use X || ewarn "Basic X11 support will be enabled because required by motif." |
328 |
- fi |
329 |
- |
330 |
- econf \ |
331 |
- --localstatedir=/var/state/timidity++ \ |
332 |
- --with-lispdir="${SITELISP}/${PN}" \ |
333 |
- --with-elf \ |
334 |
- --enable-audio=${audios} \ |
335 |
- --enable-server \ |
336 |
- --enable-network \ |
337 |
- --enable-dynamic \ |
338 |
- --enable-vt100 \ |
339 |
- --enable-spline=cubic \ |
340 |
- $(use_enable emacs) \ |
341 |
- $(use_enable slang) \ |
342 |
- $(use_enable ncurses) \ |
343 |
- $(use_with X x) \ |
344 |
- $(use_enable X spectrogram) \ |
345 |
- $(use_enable X wrd) \ |
346 |
- $(use_enable X xskin) \ |
347 |
- $(use_enable X xaw) \ |
348 |
- $(use_enable gtk) \ |
349 |
- $(use_enable tk tcltk) \ |
350 |
- --disable-motif \ |
351 |
- ${myconf} |
352 |
-} |
353 |
- |
354 |
-src_install() { |
355 |
- emake DESTDIR="${D}" install |
356 |
- |
357 |
- dodoc AUTHORS ChangeLog* |
358 |
- dodoc NEWS README* "${FILESDIR}/timidity.cfg-r1" |
359 |
- |
360 |
- # these are only for the ALSA sequencer mode |
361 |
- if use alsa; then |
362 |
- newconfd "${FILESDIR}"/conf.d.timidity.2 timidity |
363 |
- newinitd "${FILESDIR}"/init.d.timidity.4 timidity |
364 |
- fi |
365 |
- |
366 |
- insinto /etc |
367 |
- newins "${FILESDIR}/timidity.cfg-r1" timidity.cfg |
368 |
- |
369 |
- dodir /usr/share/timidity |
370 |
- dosym /etc/timidity.cfg /usr/share/timidity/timidity.cfg |
371 |
- |
372 |
- if use emacs; then |
373 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
374 |
- fi |
375 |
- |
376 |
- diropts -o timidity -g nobody -m 0700 |
377 |
- keepdir /var/lib/timidity |
378 |
- |
379 |
- doicon "${FILESDIR}"/timidity.xpm |
380 |
- newmenu "${FILESDIR}"/timidity.desktop.2 timidity.desktop |
381 |
- |
382 |
- # Order of preference: gtk, X (Xaw), ncurses, slang |
383 |
- # Do not create menu item for terminal ones |
384 |
- local interface="-id" |
385 |
- local terminal="true" |
386 |
- local nodisplay="true" |
387 |
- if use gtk || use X; then |
388 |
- interface="-ia" |
389 |
- terminal="false" |
390 |
- nodisplay="false" |
391 |
- use gtk && interface="-ig" |
392 |
- elif use ncurses || use slang; then |
393 |
- local interface="-is" |
394 |
- use ncurses && interface="-in" |
395 |
- fi |
396 |
- sed -e "s/Exec=timidity/Exec=timidity ${interface}/" \ |
397 |
- -e "s/Terminal=.*/Terminal=${terminal}/" \ |
398 |
- -e "s/NoDisplay=.*/NoDisplay=${nodisplay}/" \ |
399 |
- -i "${D}"/usr/share/applications/timidity.desktop || die "sed failed" |
400 |
-} |
401 |
- |
402 |
-pkg_postinst() { |
403 |
- use emacs && elisp-site-regen |
404 |
- |
405 |
- elog "A timidity config file has been installed in /etc/timidity.cfg." |
406 |
- elog "Do not edit this file as it will interfere with the eselect timidity tool." |
407 |
- elog "The tool 'eselect timidity' can be used to switch between installed patchsets." |
408 |
- |
409 |
- if use alsa; then |
410 |
- elog "An init script for the alsa timidity sequencer has been installed." |
411 |
- elog "If you wish to use the timidity virtual sequencer, edit /etc/conf.d/timidity" |
412 |
- elog "and run 'rc-update add timidity <runlevel> && /etc/init.d/timidity start'" |
413 |
- fi |
414 |
- |
415 |
- if use sparc; then |
416 |
- elog "Only saving to wave file and ALSA soundback has been tested working." |
417 |
- fi |
418 |
-} |
419 |
- |
420 |
-pkg_postrm() { |
421 |
- use emacs && elisp-site-regen |
422 |
-} |
423 |
|
424 |
diff --git a/media-sound/timidity++/timidity++-2.14.0-r1.ebuild b/media-sound/timidity++/timidity++-2.14.0-r1.ebuild |
425 |
deleted file mode 100644 |
426 |
index 0757e09..0000000 |
427 |
--- a/media-sound/timidity++/timidity++-2.14.0-r1.ebuild |
428 |
+++ /dev/null |
429 |
@@ -1,184 +0,0 @@ |
430 |
-# Copyright 1999-2015 Gentoo Foundation |
431 |
-# Distributed under the terms of the GNU General Public License v2 |
432 |
-# $Id$ |
433 |
- |
434 |
-EAPI=5 |
435 |
-inherit autotools eutils elisp-common user systemd toolchain-funcs |
436 |
- |
437 |
-MY_PV=${PV/_/-} |
438 |
-MY_P=TiMidity++-${MY_PV} |
439 |
-S=${WORKDIR}/${MY_P} |
440 |
- |
441 |
-DESCRIPTION="A handy MIDI to WAV converter with OSS and ALSA output support" |
442 |
-HOMEPAGE="http://timidity.sourceforge.net/" |
443 |
-SRC_URI="mirror://sourceforge/timidity/${MY_P}.tar.xz" |
444 |
- |
445 |
-LICENSE="GPL-2" |
446 |
-SLOT="0" |
447 |
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
448 |
-IUSE="motif oss nas X gtk vorbis tk slang alsa jack emacs ao selinux speex flac ncurses" |
449 |
- |
450 |
-DEPEND="ncurses? ( >=sys-libs/ncurses-5 ) |
451 |
- emacs? ( virtual/emacs ) |
452 |
- gtk? ( x11-libs/gtk+:2 ) |
453 |
- tk? ( >=dev-lang/tk-8.5.13 ) |
454 |
- nas? ( >=media-libs/nas-1.4 ) |
455 |
- alsa? ( media-libs/alsa-lib ) |
456 |
- slang? ( sys-libs/slang ) |
457 |
- jack? ( media-sound/jack-audio-connection-kit ) |
458 |
- vorbis? ( media-libs/libvorbis ) |
459 |
- flac? ( media-libs/flac ) |
460 |
- speex? ( media-libs/speex ) |
461 |
- ao? ( >=media-libs/libao-0.8.5 ) |
462 |
- motif? ( >=x11-libs/motif-2.3:0 ) |
463 |
- X? ( x11-libs/libXaw x11-libs/libXext >=media-libs/libpng-1.4.2 )" |
464 |
-RDEPEND="${DEPEND} |
465 |
- alsa? ( media-sound/alsa-utils ) |
466 |
- app-eselect/eselect-timidity |
467 |
- selinux? ( sec-policy/selinux-timidity )" |
468 |
- |
469 |
-PDEPEND="|| ( media-sound/timidity-eawpatches media-sound/timidity-freepats )" |
470 |
- |
471 |
-SITEFILE=50${PN}-gentoo.el |
472 |
- |
473 |
-pkg_setup() { |
474 |
- enewgroup audio 18 # Just make sure it exists |
475 |
- enewuser timidity -1 -1 /var/lib/timidity audio |
476 |
-} |
477 |
- |
478 |
-src_prepare() { |
479 |
- epatch \ |
480 |
- "${FILESDIR}"/${P}-params.patch \ |
481 |
- "${FILESDIR}"/${P}-revert-for-required-ctl_speana_data-function.patch \ |
482 |
- "${FILESDIR}"/${P}-tcltk86.patch \ |
483 |
- "${FILESDIR}"/${P}-ar.patch \ |
484 |
- "${FILESDIR}"/${P}-configure-flags.patch |
485 |
- |
486 |
- eautoreconf |
487 |
-} |
488 |
- |
489 |
-src_configure() { |
490 |
- export EXTRACFLAGS="${CFLAGS}" #385817 |
491 |
- |
492 |
- local myconf=() |
493 |
- local audios |
494 |
- |
495 |
- use flac && audios+=",flac" |
496 |
- use speex && audios+=",speex" |
497 |
- use vorbis && audios+=",vorbis" |
498 |
- use oss && audios+=",oss" |
499 |
- use jack && audios+=",jack" |
500 |
- use ao && audios+=",ao" |
501 |
- |
502 |
- if use nas; then |
503 |
- audios+=",nas" |
504 |
- myconf+=( --with-nas-library="/usr/$(get_libdir)/libaudio.so" --with-x ) |
505 |
- use X || ewarn "Basic X11 support will be enabled because required by nas." |
506 |
- fi |
507 |
- |
508 |
- if use alsa; then |
509 |
- audios+=",alsa" |
510 |
- myconf+=( --with-default-output=alsa --enable-alsaseq ) |
511 |
- fi |
512 |
- |
513 |
- # We disable motif by default and then only enable it if it's requested. |
514 |
- if use motif; then |
515 |
- myconf+=( --enable-motif --with-x ) |
516 |
- use X || ewarn "Basic X11 support will be enabled because required by motif." |
517 |
- fi |
518 |
- |
519 |
- econf \ |
520 |
- --localstatedir=/var/state/timidity++ \ |
521 |
- --with-lispdir="${SITELISP}/${PN}" \ |
522 |
- --with-elf \ |
523 |
- --enable-audio=${audios} \ |
524 |
- --enable-server \ |
525 |
- --enable-network \ |
526 |
- --enable-dynamic \ |
527 |
- --enable-vt100 \ |
528 |
- --enable-spline=cubic \ |
529 |
- $(use_enable emacs) \ |
530 |
- $(use_enable slang) \ |
531 |
- $(use_enable ncurses) \ |
532 |
- $(use_with X x) \ |
533 |
- $(use_enable X spectrogram) \ |
534 |
- $(use_enable X wrd) \ |
535 |
- $(use_enable X xskin) \ |
536 |
- $(use_enable X xaw) \ |
537 |
- $(use_enable gtk) \ |
538 |
- $(use_enable tk tcltk) \ |
539 |
- --disable-motif \ |
540 |
- "${myconf[@]}" |
541 |
-} |
542 |
- |
543 |
-src_install() { |
544 |
- emake DESTDIR="${D}" install |
545 |
- |
546 |
- dodoc AUTHORS ChangeLog* |
547 |
- dodoc NEWS README* "${FILESDIR}"/timidity.cfg-r1 |
548 |
- |
549 |
- # these are only for the ALSA sequencer mode |
550 |
- if use alsa; then |
551 |
- newconfd "${FILESDIR}"/conf.d.timidity.2 timidity |
552 |
- newinitd "${FILESDIR}"/init.d.timidity.4 timidity |
553 |
- |
554 |
- systemd_dounit "${FILESDIR}"/timidity.service |
555 |
- fi |
556 |
- |
557 |
- insinto /etc |
558 |
- newins "${FILESDIR}"/timidity.cfg-r1 timidity.cfg |
559 |
- |
560 |
- dodir /usr/share/timidity |
561 |
- dosym /etc/timidity.cfg /usr/share/timidity/timidity.cfg |
562 |
- |
563 |
- if use emacs; then |
564 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
565 |
- fi |
566 |
- |
567 |
- diropts -o timidity -g nobody -m 0700 |
568 |
- keepdir /var/lib/timidity |
569 |
- |
570 |
- doicon "${FILESDIR}"/timidity.xpm |
571 |
- newmenu "${FILESDIR}"/timidity.desktop.2 timidity.desktop |
572 |
- |
573 |
- # Order of preference: gtk, X (Xaw), ncurses, slang |
574 |
- # Do not create menu item for terminal ones |
575 |
- local interface="-id" |
576 |
- local terminal="true" |
577 |
- local nodisplay="true" |
578 |
- if use gtk || use X; then |
579 |
- interface="-ia" |
580 |
- terminal="false" |
581 |
- nodisplay="false" |
582 |
- use gtk && interface="-ig" |
583 |
- elif use ncurses || use slang; then |
584 |
- local interface="-is" |
585 |
- use ncurses && interface="-in" |
586 |
- fi |
587 |
- sed -e "s/Exec=timidity/Exec=timidity ${interface}/" \ |
588 |
- -e "s/Terminal=.*/Terminal=${terminal}/" \ |
589 |
- -e "s/NoDisplay=.*/NoDisplay=${nodisplay}/" \ |
590 |
- -i "${D}"/usr/share/applications/timidity.desktop || die |
591 |
-} |
592 |
- |
593 |
-pkg_postinst() { |
594 |
- use emacs && elisp-site-regen |
595 |
- |
596 |
- elog "A timidity config file has been installed in /etc/timidity.cfg." |
597 |
- elog "Do not edit this file as it will interfere with the eselect timidity tool." |
598 |
- elog "The tool 'eselect timidity' can be used to switch between installed patchsets." |
599 |
- |
600 |
- if use alsa; then |
601 |
- elog "An init script for the alsa timidity sequencer has been installed." |
602 |
- elog "If you wish to use the timidity virtual sequencer, edit /etc/conf.d/timidity" |
603 |
- elog "and run 'rc-update add timidity <runlevel> && /etc/init.d/timidity start'" |
604 |
- fi |
605 |
- |
606 |
- if use sparc; then |
607 |
- elog "Only saving to wave file and ALSA soundback has been tested working." |
608 |
- fi |
609 |
-} |
610 |
- |
611 |
-pkg_postrm() { |
612 |
- use emacs && elisp-site-regen |
613 |
-} |
614 |
|
615 |
diff --git a/media-sound/timidity++/timidity++-2.14.0.ebuild b/media-sound/timidity++/timidity++-2.14.0.ebuild |
616 |
deleted file mode 100644 |
617 |
index b06c43d..0000000 |
618 |
--- a/media-sound/timidity++/timidity++-2.14.0.ebuild |
619 |
+++ /dev/null |
620 |
@@ -1,182 +0,0 @@ |
621 |
-# Copyright 1999-2015 Gentoo Foundation |
622 |
-# Distributed under the terms of the GNU General Public License v2 |
623 |
-# $Id$ |
624 |
- |
625 |
-EAPI=4 |
626 |
-inherit autotools eutils elisp-common user systemd |
627 |
- |
628 |
-MY_PV=${PV/_/-} |
629 |
-MY_P=TiMidity++-${MY_PV} |
630 |
-S=${WORKDIR}/${MY_P} |
631 |
- |
632 |
-DESCRIPTION="A handy MIDI to WAV converter with OSS and ALSA output support" |
633 |
-HOMEPAGE="http://timidity.sourceforge.net/" |
634 |
-SRC_URI="mirror://sourceforge/timidity/${MY_P}.tar.xz" |
635 |
- |
636 |
-LICENSE="GPL-2" |
637 |
-SLOT="0" |
638 |
-KEYWORDS="amd64 arm hppa ppc ppc64 ~sparc x86 ~x86-fbsd" |
639 |
-IUSE="motif oss nas X gtk vorbis tk slang alsa jack emacs ao selinux speex flac ncurses" |
640 |
- |
641 |
-DEPEND="ncurses? ( >=sys-libs/ncurses-5 ) |
642 |
- emacs? ( virtual/emacs ) |
643 |
- gtk? ( x11-libs/gtk+:2 ) |
644 |
- tk? ( dev-lang/tk ) |
645 |
- nas? ( >=media-libs/nas-1.4 ) |
646 |
- alsa? ( media-libs/alsa-lib ) |
647 |
- slang? ( sys-libs/slang ) |
648 |
- jack? ( media-sound/jack-audio-connection-kit ) |
649 |
- vorbis? ( media-libs/libvorbis ) |
650 |
- flac? ( media-libs/flac ) |
651 |
- speex? ( media-libs/speex ) |
652 |
- ao? ( >=media-libs/libao-0.8.5 ) |
653 |
- motif? ( >=x11-libs/motif-2.3:0 ) |
654 |
- X? ( x11-libs/libXaw x11-libs/libXext >=media-libs/libpng-1.4.2 )" |
655 |
-RDEPEND="${DEPEND} |
656 |
- alsa? ( media-sound/alsa-utils ) |
657 |
- app-eselect/eselect-timidity |
658 |
- selinux? ( sec-policy/selinux-timidity )" |
659 |
- |
660 |
-PDEPEND="|| ( media-sound/timidity-eawpatches media-sound/timidity-freepats )" |
661 |
- |
662 |
-SITEFILE=50${PN}-gentoo.el |
663 |
- |
664 |
-pkg_setup() { |
665 |
- enewgroup audio 18 # Just make sure it exists |
666 |
- enewuser timidity -1 -1 /var/lib/timidity audio |
667 |
-} |
668 |
- |
669 |
-src_prepare() { |
670 |
- epatch \ |
671 |
- "${FILESDIR}"/${P}-params.patch \ |
672 |
- "${FILESDIR}"/${P}-revert-for-required-ctl_speana_data-function.patch |
673 |
- |
674 |
- eautoreconf |
675 |
-} |
676 |
- |
677 |
-src_configure() { |
678 |
- export EXTRACFLAGS="${CFLAGS}" #385817 |
679 |
- |
680 |
- local myconf |
681 |
- local audios |
682 |
- |
683 |
- use flac && audios="${audios},flac" |
684 |
- use speex && audios="${audios},speex" |
685 |
- use vorbis && audios="${audios},vorbis" |
686 |
- |
687 |
- use oss && audios="${audios},oss" |
688 |
- use jack && audios="${audios},jack" |
689 |
- use ao && audios="${audios},ao" |
690 |
- |
691 |
- if use nas; then |
692 |
- audios="${audios},nas" |
693 |
- myconf="${myconf} --with-nas-library=/usr/$(get_libdir)/libaudio.so --with-x" |
694 |
- use X || ewarn "Basic X11 support will be enabled because required by nas." |
695 |
- fi |
696 |
- |
697 |
- if use alsa; then |
698 |
- audios="${audios},alsa" |
699 |
- myconf="${myconf} --with-default-output=alsa --enable-alsaseq" |
700 |
- fi |
701 |
- |
702 |
- # We disable motif by default and then only enable it if it's requested. |
703 |
- if use motif; then |
704 |
- myconf="${myconf} --enable-motif --with-x" |
705 |
- use X || ewarn "Basic X11 support will be enabled because required by motif." |
706 |
- fi |
707 |
- |
708 |
- econf \ |
709 |
- --localstatedir=/var/state/timidity++ \ |
710 |
- --with-lispdir="${SITELISP}/${PN}" \ |
711 |
- --with-elf \ |
712 |
- --enable-audio=${audios} \ |
713 |
- --enable-server \ |
714 |
- --enable-network \ |
715 |
- --enable-dynamic \ |
716 |
- --enable-vt100 \ |
717 |
- --enable-spline=cubic \ |
718 |
- $(use_enable emacs) \ |
719 |
- $(use_enable slang) \ |
720 |
- $(use_enable ncurses) \ |
721 |
- $(use_with X x) \ |
722 |
- $(use_enable X spectrogram) \ |
723 |
- $(use_enable X wrd) \ |
724 |
- $(use_enable X xskin) \ |
725 |
- $(use_enable X xaw) \ |
726 |
- $(use_enable gtk) \ |
727 |
- $(use_enable tk tcltk) \ |
728 |
- --disable-motif \ |
729 |
- ${myconf} |
730 |
-} |
731 |
- |
732 |
-src_install() { |
733 |
- emake DESTDIR="${D}" install |
734 |
- |
735 |
- dodoc AUTHORS ChangeLog* |
736 |
- dodoc NEWS README* "${FILESDIR}"/timidity.cfg-r1 |
737 |
- |
738 |
- # these are only for the ALSA sequencer mode |
739 |
- if use alsa; then |
740 |
- newconfd "${FILESDIR}"/conf.d.timidity.2 timidity |
741 |
- newinitd "${FILESDIR}"/init.d.timidity.4 timidity |
742 |
- |
743 |
- systemd_dounit "${FILESDIR}"/timidity.service |
744 |
- fi |
745 |
- |
746 |
- insinto /etc |
747 |
- newins "${FILESDIR}"/timidity.cfg-r1 timidity.cfg |
748 |
- |
749 |
- dodir /usr/share/timidity |
750 |
- dosym /etc/timidity.cfg /usr/share/timidity/timidity.cfg |
751 |
- |
752 |
- if use emacs; then |
753 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
754 |
- fi |
755 |
- |
756 |
- diropts -o timidity -g nobody -m 0700 |
757 |
- keepdir /var/lib/timidity |
758 |
- |
759 |
- doicon "${FILESDIR}"/timidity.xpm |
760 |
- newmenu "${FILESDIR}"/timidity.desktop.2 timidity.desktop |
761 |
- |
762 |
- # Order of preference: gtk, X (Xaw), ncurses, slang |
763 |
- # Do not create menu item for terminal ones |
764 |
- local interface="-id" |
765 |
- local terminal="true" |
766 |
- local nodisplay="true" |
767 |
- if use gtk || use X; then |
768 |
- interface="-ia" |
769 |
- terminal="false" |
770 |
- nodisplay="false" |
771 |
- use gtk && interface="-ig" |
772 |
- elif use ncurses || use slang; then |
773 |
- local interface="-is" |
774 |
- use ncurses && interface="-in" |
775 |
- fi |
776 |
- sed -e "s/Exec=timidity/Exec=timidity ${interface}/" \ |
777 |
- -e "s/Terminal=.*/Terminal=${terminal}/" \ |
778 |
- -e "s/NoDisplay=.*/NoDisplay=${nodisplay}/" \ |
779 |
- -i "${D}"/usr/share/applications/timidity.desktop || die "sed failed" |
780 |
-} |
781 |
- |
782 |
-pkg_postinst() { |
783 |
- use emacs && elisp-site-regen |
784 |
- |
785 |
- elog "A timidity config file has been installed in /etc/timidity.cfg." |
786 |
- elog "Do not edit this file as it will interfere with the eselect timidity tool." |
787 |
- elog "The tool 'eselect timidity' can be used to switch between installed patchsets." |
788 |
- |
789 |
- if use alsa; then |
790 |
- elog "An init script for the alsa timidity sequencer has been installed." |
791 |
- elog "If you wish to use the timidity virtual sequencer, edit /etc/conf.d/timidity" |
792 |
- elog "and run 'rc-update add timidity <runlevel> && /etc/init.d/timidity start'" |
793 |
- fi |
794 |
- |
795 |
- if use sparc; then |
796 |
- elog "Only saving to wave file and ALSA soundback has been tested working." |
797 |
- fi |
798 |
-} |
799 |
- |
800 |
-pkg_postrm() { |
801 |
- use emacs && elisp-site-regen |
802 |
-} |