1 |
radhermit 11/08/30 08:23:15 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: snd-12.4.ebuild |
5 |
Log: |
6 |
Version bump. Add doc and s7 USE flags, install ruby scripts, and use REQUIRED_USE to allow support for at most one extension language. |
7 |
|
8 |
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 media-sound/snd/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/snd/metadata.xml?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/snd/metadata.xml?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/snd/metadata.xml?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/snd/metadata.xml,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- metadata.xml 8 Jan 2004 00:07:07 -0000 1.1 |
24 |
+++ metadata.xml 30 Aug 2011 08:23:15 -0000 1.2 |
25 |
@@ -6,4 +6,7 @@ |
26 |
<email>sound@g.o</email> |
27 |
<name>Gentoo Sound Team</name> |
28 |
</maintainer> |
29 |
+<use> |
30 |
+ <flag name="s7">Enable the s7 extension language (a version of Scheme)</flag> |
31 |
+</use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.56 media-sound/snd/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/snd/ChangeLog?rev=1.56&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/snd/ChangeLog?rev=1.56&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/snd/ChangeLog?r1=1.55&r2=1.56 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/snd/ChangeLog,v |
45 |
retrieving revision 1.55 |
46 |
retrieving revision 1.56 |
47 |
diff -u -r1.55 -r1.56 |
48 |
--- ChangeLog 22 Aug 2011 08:45:53 -0000 1.55 |
49 |
+++ ChangeLog 30 Aug 2011 08:23:15 -0000 1.56 |
50 |
@@ -1,6 +1,13 @@ |
51 |
# ChangeLog for media-sound/snd |
52 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/ChangeLog,v 1.55 2011/08/22 08:45:53 radhermit Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/ChangeLog,v 1.56 2011/08/30 08:23:15 radhermit Exp $ |
55 |
+ |
56 |
+*snd-12.4 (30 Aug 2011) |
57 |
+ |
58 |
+ 30 Aug 2011; Tim Harder <radhermit@g.o> +snd-12.4.ebuild, |
59 |
+ metadata.xml: |
60 |
+ Version bump. Add doc and s7 USE flags, install ruby scripts, and use |
61 |
+ REQUIRED_USE to allow support for at most one extension language. |
62 |
|
63 |
*snd-12.3 (22 Aug 2011) |
64 |
|
65 |
|
66 |
|
67 |
|
68 |
1.1 media-sound/snd/snd-12.4.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/snd/snd-12.4.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/snd/snd-12.4.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: snd-12.4.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2011 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/snd-12.4.ebuild,v 1.1 2011/08/30 08:23:15 radhermit Exp $ |
78 |
|
79 |
EAPI=4 |
80 |
|
81 |
inherit multilib flag-o-matic autotools |
82 |
|
83 |
DESCRIPTION="Snd is a sound editor" |
84 |
HOMEPAGE="http://ccrma.stanford.edu/software/snd/" |
85 |
SRC_URI="ftp://ccrma-ftp.stanford.edu/pub/Lisp/${P}.tar.gz" |
86 |
|
87 |
SLOT="0" |
88 |
LICENSE="as-is" |
89 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux" |
90 |
IUSE="alsa doc esd fam fftw gmp gsl gtk jack ladspa motif opengl oss portaudio pulseaudio readline ruby +s7" |
91 |
|
92 |
RDEPEND="media-libs/audiofile |
93 |
alsa? ( media-libs/alsa-lib ) |
94 |
esd? ( media-sound/esound ) |
95 |
fam? ( virtual/fam ) |
96 |
fftw? ( sci-libs/fftw ) |
97 |
gmp? ( dev-libs/gmp |
98 |
dev-libs/mpc |
99 |
dev-libs/mpfr ) |
100 |
gsl? ( sci-libs/gsl ) |
101 |
gtk? ( x11-libs/gtk+:3 |
102 |
x11-libs/pango |
103 |
x11-libs/cairo |
104 |
opengl? ( x11-libs/gtkglext ) ) |
105 |
jack? ( media-sound/jack-audio-connection-kit ) |
106 |
ladspa? ( media-libs/ladspa-sdk ) |
107 |
motif? ( >=x11-libs/openmotif-2.3:0 ) |
108 |
opengl? ( virtual/opengl ) |
109 |
portaudio? ( media-libs/portaudio ) |
110 |
pulseaudio? ( media-sound/pulseaudio ) |
111 |
readline? ( sys-libs/readline ) |
112 |
ruby? ( dev-lang/ruby )" |
113 |
|
114 |
REQUIRED_USE="^^ ( |
115 |
( !ruby !s7 ) |
116 |
( ruby !s7 ) |
117 |
( !ruby s7 ) |
118 |
)" |
119 |
|
120 |
pkg_setup() { |
121 |
if ! use gtk && ! use motif; then |
122 |
ewarn "Warning: no graphic toolkit selected (gtk or motif)." |
123 |
ewarn "Upstream suggests to enable one of the toolkits (or both)" |
124 |
ewarn "or only the command line utilities will be helpful." |
125 |
fi |
126 |
} |
127 |
|
128 |
src_prepare() { |
129 |
sed -i -e "s:-O2 ::" configure.ac || die |
130 |
eautoreconf |
131 |
} |
132 |
|
133 |
src_configure() { |
134 |
# Workaround executable sections QA warning (bug #348754) |
135 |
append-ldflags -Wl,-z,noexecstack |
136 |
|
137 |
local myconf |
138 |
if use opengl; then |
139 |
myconf+=" --with-just-gl" |
140 |
else |
141 |
myconf+=" --without-gl" |
142 |
fi |
143 |
|
144 |
if ! use ruby && ! use s7 ; then |
145 |
myconf+=" --without-extension-language" |
146 |
fi |
147 |
|
148 |
econf \ |
149 |
$(use_with alsa) \ |
150 |
$(use_with esd) \ |
151 |
$(use_with fam) \ |
152 |
$(use_with fftw) \ |
153 |
$(use_with gmp) \ |
154 |
$(use_with gsl) \ |
155 |
$(use_with gtk) \ |
156 |
$(use_with jack) \ |
157 |
$(use_with ladspa) \ |
158 |
$(use_with motif) \ |
159 |
$(use_with oss) \ |
160 |
$(use_with portaudio) \ |
161 |
$(use_with pulseaudio) \ |
162 |
$(use_enable readline) \ |
163 |
$(use_with ruby) \ |
164 |
$(use_with s7) \ |
165 |
--with-float-samples \ |
166 |
${myconf} |
167 |
|
168 |
} |
169 |
|
170 |
src_compile() { |
171 |
emake snd |
172 |
|
173 |
# Do not compile ruby extensions for command line programs since they fail |
174 |
sed -i -e "s:HAVE_RUBY 1:HAVE_RUBY 0:" mus-config.h |
175 |
|
176 |
for i in sndinfo audinfo sndplay; do |
177 |
emake ${i} |
178 |
done |
179 |
} |
180 |
|
181 |
src_install () { |
182 |
dobin snd sndplay sndinfo audinfo |
183 |
|
184 |
if use ruby ; then |
185 |
insinto /usr/share/snd |
186 |
doins *.rb |
187 |
fi |
188 |
|
189 |
if use s7 ; then |
190 |
insinto /usr/share/snd |
191 |
doins *.scm |
192 |
fi |
193 |
|
194 |
dodoc README.Snd HISTORY.Snd NEWS |
195 |
use doc && dohtml -r *.html pix/*.png tutorial |
196 |
} |