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/ecasound: metadata.xml ChangeLog ecasound-2.8.1.ebuild
Date: Tue, 28 Jun 2011 04:21:22
Message-Id: 20110628042112.3C6D320054@flycatcher.gentoo.org
1 radhermit 11/06/28 04:21:12
2
3 Modified: metadata.xml ChangeLog
4 Added: ecasound-2.8.1.ebuild
5 Log:
6 Version bump (fixes bug #313033). Add oil, osc, and static-libs USE flags, fix documentation install (bug #299097, thanks to Christophe LEFEBVRE), and improve python support (bug #313945).
7
8 (Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 media-sound/ecasound/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ecasound/metadata.xml?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ecasound/metadata.xml?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ecasound/metadata.xml?r1=1.3&r2=1.4
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/ecasound/metadata.xml,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- metadata.xml 2 Jul 2007 15:10:01 -0000 1.3
24 +++ metadata.xml 28 Jun 2011 04:21:12 -0000 1.4
25 @@ -2,7 +2,6 @@
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 <herd>proaudio</herd>
29 -
30 <longdescription>
31 Ecasound is a software package designed for multitrack audio
32 processing. It can be used for simple tasks like audio playback,
33 @@ -14,5 +13,7 @@
34 objects like oscillators and MIDI-CCs. A versatile console mode
35 user-interface is included in the package.
36 </longdescription>
37 -
38 +<use>
39 + <flag name="oil">Use <pkg>dev-libs/liboil</pkg> for inner loop optimizations</flag>
40 +</use>
41 </pkgmetadata>
42
43
44
45 1.59 media-sound/ecasound/ChangeLog
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ecasound/ChangeLog?rev=1.59&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ecasound/ChangeLog?rev=1.59&content-type=text/plain
49 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ecasound/ChangeLog?r1=1.58&r2=1.59
50
51 Index: ChangeLog
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v
54 retrieving revision 1.58
55 retrieving revision 1.59
56 diff -u -r1.58 -r1.59
57 --- ChangeLog 23 Jun 2010 14:19:23 -0000 1.58
58 +++ ChangeLog 28 Jun 2011 04:21:12 -0000 1.59
59 @@ -1,6 +1,14 @@
60 # ChangeLog for media-sound/ecasound
61 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
62 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.58 2010/06/23 14:19:23 arfrever Exp $
63 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
64 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.59 2011/06/28 04:21:12 radhermit Exp $
65 +
66 +*ecasound-2.8.1 (28 Jun 2011)
67 +
68 + 28 Jun 2011; Tim Harder <radhermit@g.o> +ecasound-2.8.1.ebuild,
69 + +files/ecasound-2.8.1-ldflags.patch, metadata.xml:
70 + Version bump (fixes bug #313033). Add oil, osc, and static-libs USE flags,
71 + fix documentation install (bug #299097, thanks to Christophe LEFEBVRE), and
72 + improve python support (bug #313945).
73
74 23 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
75 ecasound-2.6.0.ebuild:
76
77
78
79 1.1 media-sound/ecasound/ecasound-2.8.1.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ecasound/ecasound-2.8.1.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ecasound/ecasound-2.8.1.ebuild?rev=1.1&content-type=text/plain
83
84 Index: ecasound-2.8.1.ebuild
85 ===================================================================
86 # Copyright 1999-2011 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.8.1.ebuild,v 1.1 2011/06/28 04:21:12 radhermit Exp $
89
90 EAPI=3
91 PYTHON_DEPEND="python? 2"
92
93 inherit eutils python autotools
94
95 DESCRIPTION="a package for multitrack audio processing"
96 HOMEPAGE="http://ecasound.seul.org/ecasound"
97 SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz"
98
99 LICENSE="GPL-2"
100 SLOT="1"
101 KEYWORDS="~amd64 ~ppc ~x86"
102 IUSE="alsa audiofile debug doc jack libsamplerate mikmod ncurses oil osc oss
103 python ruby sndfile static-libs"
104
105 RDEPEND="sys-libs/readline
106 alsa? ( media-libs/alsa-lib )
107 audiofile? ( media-libs/audiofile )
108 jack? ( media-sound/jack-audio-connection-kit )
109 libsamplerate? ( media-libs/libsamplerate )
110 media-libs/ladspa-sdk
111 mikmod? ( media-libs/libmikmod )
112 ncurses? ( sys-libs/ncurses )
113 oil? ( dev-libs/liboil )
114 osc? ( media-libs/liblo )
115 ruby? ( dev-lang/ruby )
116 sndfile? ( media-libs/libsndfile )"
117 DEPEND="${RDEPEND}
118 dev-util/pkgconfig"
119
120 pkg_setup() {
121 use python && python_set_active_version 2
122 }
123
124 src_prepare() {
125 epatch "${FILESDIR}"/${P}-ldflags.patch
126 use python && sed -i -e "s:\$(ecasoundc_libs):\0 $(python_get_library -l):" \
127 pyecasound/Makefile.am || die "sed failed"
128
129 eautoreconf
130 }
131
132 src_configure() {
133 local pyconf
134
135 if use python ; then
136 pyconf="--enable-pyecasound=c
137 --with-python-includes=$(python_get_includedir)
138 --with-python-modules=$(python_get_libdir)"
139 else
140 pyconf="--disable-pyecasound"
141 fi
142
143 econf \
144 --disable-arts \
145 --enable-shared \
146 --enable-sys-readline \
147 --with-largefile \
148 $(use_enable alsa) \
149 $(use_enable audiofile) \
150 $(use_enable debug) \
151 $(use_enable jack) \
152 $(use_enable libsamplerate) \
153 $(use_enable ncurses) \
154 $(use_enable oil liboil) \
155 $(use_enable osc liblo) \
156 $(use_enable oss) \
157 $(use_enable ruby rubyecasound) \
158 $(use_enable sndfile) \
159 $(use_enable static-libs static) \
160 ${pyconf}
161 }
162
163 src_install() {
164 emake DESTDIR="${D}" install || die
165 dodoc AUTHORS BUGS NEWS README TODO || die
166
167 if use doc ; then
168 dohtml Documentation/*.html || die
169 dodoc Documentation/programmers_guide/ecasound_programmers_guide.txt || die
170 fi
171
172 use static-libs || find "${ED}" -name '*.la' -exec rm -f '{}' +
173 }
174
175 pkg_postinst() {
176 use python && python_mod_optimize ecacontrol.py eci.py pyeca.py
177 }
178
179 pkg_postrm() {
180 use python && python_mod_cleanup ecacontrol.py eci.py pyeca.py
181 }