Gentoo Archives: gentoo-commits

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