Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/snd/
Date: Sun, 19 Jan 2020 22:45:52
Message-Id: 1579473931.da7a1503d41890c02b0bd337cd303b2206dfcfda.asturm@gentoo
1 commit: da7a1503d41890c02b0bd337cd303b2206dfcfda
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 19 22:44:30 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 19 22:45:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da7a1503
7
8 media-sound/snd: Drop 17.4 (r0)
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-sound/snd/snd-17.4.ebuild | 119 ----------------------------------------
14 1 file changed, 119 deletions(-)
15
16 diff --git a/media-sound/snd/snd-17.4.ebuild b/media-sound/snd/snd-17.4.ebuild
17 deleted file mode 100644
18 index 2c8a042ea37..00000000000
19 --- a/media-sound/snd/snd-17.4.ebuild
20 +++ /dev/null
21 @@ -1,119 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -inherit autotools flag-o-matic
28 -
29 -DESCRIPTION="Snd is a sound editor"
30 -HOMEPAGE="https://ccrma.stanford.edu/software/snd/"
31 -SRC_URI="ftp://ccrma-ftp.stanford.edu/pub/Lisp/${P}.tar.gz"
32 -
33 -LICENSE="Snd BSD-2 HPND GPL-2+ LGPL-2.1+ LGPL-3+ ruby? ( free-noncomm ) s7? ( free-noncomm )"
34 -SLOT="0"
35 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
36 -IUSE="alsa doc fftw gmp gsl gtk jack ladspa motif opengl oss portaudio pulseaudio readline ruby +s7"
37 -
38 -RDEPEND="media-libs/audiofile
39 - alsa? ( media-libs/alsa-lib )
40 - fftw? ( sci-libs/fftw:3.0= )
41 - gmp? (
42 - dev-libs/gmp:0=
43 - dev-libs/mpc
44 - dev-libs/mpfr:0=
45 - )
46 - gsl? ( sci-libs/gsl:= )
47 - gtk? (
48 - x11-libs/gtk+:3
49 - x11-libs/pango
50 - x11-libs/cairo
51 - opengl? ( x11-libs/gtkglext )
52 - )
53 - jack? ( media-sound/jack-audio-connection-kit )
54 - ladspa? ( media-libs/ladspa-sdk )
55 - motif? ( >=x11-libs/motif-2.3:0 )
56 - opengl? ( virtual/opengl )
57 - portaudio? ( media-libs/portaudio )
58 - pulseaudio? ( media-sound/pulseaudio )
59 - readline? ( sys-libs/readline:* )
60 - ruby? ( dev-lang/ruby:* )"
61 -DEPEND="${RDEPEND}"
62 -
63 -REQUIRED_USE="
64 - ?? ( portaudio pulseaudio )
65 - ?? ( ruby s7 )"
66 -
67 -PATCHES=(
68 - "${FILESDIR}"/${PN}-17.4-portaudio.patch
69 - "${FILESDIR}"/${PN}-17.4-undefined-oss_sample_types.patch
70 -)
71 -
72 -pkg_setup() {
73 - if ! use gtk && ! use motif ; then
74 - ewarn "Warning: no graphic toolkit selected (gtk or motif)."
75 - ewarn "Upstream suggests to enable one of the toolkits (or both)"
76 - ewarn "or only the command line utilities will be helpful."
77 - fi
78 -}
79 -
80 -src_prepare() {
81 - default
82 - sed -i -e "s:-O2 ::" configure.ac || die
83 - eautoreconf
84 -}
85 -
86 -src_configure() {
87 - # Workaround executable sections QA warning (bug #348754)
88 - append-ldflags -Wl,-z,noexecstack
89 -
90 - local myconf
91 - if ! use ruby && ! use s7 ; then
92 - myconf+=" --without-extension-language"
93 - fi
94 -
95 - econf \
96 - $(use_with alsa) \
97 - $(use_with fftw) \
98 - $(use_with gmp) \
99 - $(use_with gsl) \
100 - $(use_with gtk) \
101 - $(use_with jack) \
102 - $(use_with ladspa) \
103 - $(use_with motif) \
104 - $(use_with oss) \
105 - $(use_with portaudio) \
106 - $(use_with pulseaudio) \
107 - $(use_with ruby) \
108 - $(use_with s7) \
109 - ${myconf}
110 -}
111 -
112 -src_compile() {
113 - emake snd
114 -
115 - # Do not compile ruby extensions for command line programs since they fail
116 - sed -i -e "s:HAVE_RUBY 1:HAVE_RUBY 0:" mus-config.h || die
117 -
118 - local i
119 - for i in sndplay sndinfo; do
120 - emake ${i}
121 - done
122 -}
123 -
124 -src_install () {
125 - dobin snd sndplay sndinfo
126 -
127 - if use ruby ; then
128 - insinto /usr/share/snd
129 - doins *.rb
130 - fi
131 -
132 - if use s7 ; then
133 - insinto /usr/share/snd
134 - doins *.scm
135 - fi
136 -
137 - use doc && HTML_DOCS=( *.html pix/*.png )
138 - einstalldocs
139 - dodoc HISTORY.Snd
140 -}