Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/aubio: aubio-0.3.2-r2.ebuild ChangeLog
Date: Sat, 01 Oct 2011 10:22:27
Message-Id: 20111001102212.489C22004C@flycatcher.gentoo.org
1 ssuominen 11/10/01 10:22:12
2
3 Modified: ChangeLog
4 Added: aubio-0.3.2-r2.ebuild
5 Log:
6 Import Fedora patch for byte-compiling errors wrt #312915 by artin Mokrejš and Sebastian Pipping
7
8 (Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.18 media-libs/aubio/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/aubio/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/aubio/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/aubio/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/aubio/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 1 Oct 2011 10:08:12 -0000 1.17
24 +++ ChangeLog 1 Oct 2011 10:22:12 -0000 1.18
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-libs/aubio
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/aubio/ChangeLog,v 1.17 2011/10/01 10:08:12 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/aubio/ChangeLog,v 1.18 2011/10/01 10:22:12 ssuominen Exp $
30 +
31 +*aubio-0.3.2-r2 (01 Oct 2011)
32 +
33 + 01 Oct 2011; Samuli Suominen <ssuominen@g.o> +aubio-0.3.2-r2.ebuild,
34 + +files/aubio-0.3.2-numarray-gnuplot.patch:
35 + Import Fedora patch for byte-compiling errors wrt #312915 by artin Mokrejš
36 + and Sebastian Pipping
37
38 01 Oct 2011; Samuli Suominen <ssuominen@g.o> aubio-0.3.2-r1.ebuild:
39 Use python.eclass and set python2 as default wrt bugs #313523 and #385129
40
41
42
43 1.1 media-libs/aubio/aubio-0.3.2-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/aubio/aubio-0.3.2-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/aubio/aubio-0.3.2-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: aubio-0.3.2-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/aubio/aubio-0.3.2-r2.ebuild,v 1.1 2011/10/01 10:22:11 ssuominen Exp $
53
54 EAPI=3
55
56 PYTHON_DEPEND="2:2.6"
57
58 inherit autotools eutils python
59
60 DESCRIPTION="Library for audio labelling"
61 HOMEPAGE="http://aubio.piem.org"
62 SRC_URI="http://aubio.piem.org/pub/${P}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
67 IUSE="alsa doc jack lash static-libs"
68
69 RDEPEND="sci-libs/fftw:3.0
70 media-libs/libsndfile
71 media-libs/libsamplerate
72 || ( dev-lang/python:2.7 dev-lang/python:2.6 )
73 alsa? ( media-libs/alsa-lib )
74 jack? ( media-sound/jack-audio-connection-kit )
75 lash? ( media-sound/lash )"
76 DEPEND="${RDEPEND}
77 >=dev-lang/swig-1.3.0
78 dev-util/pkgconfig
79 doc? ( app-doc/doxygen virtual/latex-base )"
80
81 pkg_setup() {
82 DOCS=( AUTHORS ChangeLog README TODO )
83
84 python_set_active_version 2
85 python_pkg_setup
86 }
87
88 src_prepare() {
89 epatch \
90 "${FILESDIR}"/${P}-multilib.patch \
91 "${FILESDIR}"/${P}-numarray-gnuplot.patch
92
93 eautoreconf
94 }
95
96 src_configure() {
97 econf \
98 $(use_enable static-libs static) \
99 $(use_enable jack) \
100 $(use_enable alsa) \
101 $(use_enable lash)
102 }
103
104 src_compile() {
105 default
106
107 if use doc; then
108 export VARTEXFONTS="${T}/fonts"
109 cd "${S}"/doc
110 doxygen user.cfg
111 doxygen devel.cfg
112 doxygen examples.cfg
113 fi
114 }
115
116 src_install() {
117 # `default` would be enough here if python.eclass supported EAPI=4
118 emake DESTDIR="${D}" install || die
119 dodoc "${DOCS[@]}"
120
121 doman doc/*.1
122 if use doc; then
123 mv doc/user/html doc/user/user
124 dohtml -r doc/user/user
125 mv doc/devel/html doc/devel/devel
126 dohtml -r doc/devel/devel
127 mv doc/examples/html doc/examples/examples
128 dohtml -r doc/examples/examples
129 fi
130
131 find "${ED}"usr -name '*.la' -exec rm -f {} +
132 }
133
134 pkg_postinst() { python_mod_optimize aubio; }
135 pkg_postrm() { python_mod_cleanup aubio; }