1 |
commit: 3fe16003f7129854ce25cae17d9cbdb671a40329 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 27 18:29:48 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 27 18:29:56 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fe16003 |
7 |
|
8 |
media-libs/aubio: bump to 0.4.3; add subslot |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
media-libs/aubio/Manifest | 1 + |
13 |
media-libs/aubio/aubio-0.4.3.ebuild | 106 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 107 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest |
17 |
index 81f4627..c53e09f 100644 |
18 |
--- a/media-libs/aubio/Manifest |
19 |
+++ b/media-libs/aubio/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST aubio-0.4.1.tar.bz2 288136 SHA256 25d7df0a9cd6366fda764a803424caddf5fb819fc75b42a7a03e1e6f8eb3c695 SHA512 f36800f1a0cbe72509e05d15d79759ed25975e92701804597ed4c9d93e27d5e7b908e0aa65819ce763882945123ea174a0825c7aacf9f9494f56d72de5b8308c WHIRLPOOL ea410de8ca5d81c8b6ff2f98a2353601a48435649e3c5931e41f9e7f4ccb8f9a8faf2156a3632de223638f1e91d608c5a77660fa00633a591488498c5e37fec6 |
22 |
DIST aubio-0.4.2.tar.bz2 304216 SHA256 1cc58e0fed2b9468305b198ad06b889f228b797a082c2ede716dc30fcb4f8f1f SHA512 b57b6d147b305a264f0055726f76a8452f784b556a7fda911f056adbedd2855048e93c0e21b9f359e3f442f1542189aff0c214dd85141e2e06048a07f47703ff WHIRLPOOL 1fa0c877261c82d095144c05f753dd5ea303838d48627edf18af4275f8b4aba0dbe5806bb2504bc2c5a2c169d5bd8edd76bcb3cd990abd7b42842d0223918270 |
23 |
+DIST aubio-0.4.3.tar.bz2 328852 SHA256 b62cdb073c0c64ae301917fa162969d42cba45e478bdf1e74490bd87e9cceaab SHA512 bc286f1af9bc23e8bb5e4fa49a1d392e4f8169b8ca59409ee79bbbebf887f60ac7f68a6ed465272dbfc46f8c1ebf902513428e67cab5b88c4500ffe93f1c21d5 WHIRLPOOL 260e63d3f32a18fef104dfdf175ac7a864b701048fbaa0fc3005dde6058df45ab66329401a3a47e80df407340b8ab6bb13ceda49510d1860c8302720ec55e3e2 |
24 |
|
25 |
diff --git a/media-libs/aubio/aubio-0.4.3.ebuild b/media-libs/aubio/aubio-0.4.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..3d53661 |
28 |
--- /dev/null |
29 |
+++ b/media-libs/aubio/aubio-0.4.3.ebuild |
30 |
@@ -0,0 +1,106 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+DISTUTILS_OPTIONAL=1 |
38 |
+PYTHON_COMPAT=( python2_7 ) |
39 |
+PYTHON_REQ_USE='threads(+)' |
40 |
+ |
41 |
+inherit distutils-r1 waf-utils multilib eutils |
42 |
+ |
43 |
+DESCRIPTION="Library for audio labelling" |
44 |
+HOMEPAGE="http://aubio.org/" |
45 |
+SRC_URI="http://aubio.org//pub/${P}.tar.bz2" |
46 |
+ |
47 |
+LICENSE="GPL-3" |
48 |
+SLOT="0/5" |
49 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
50 |
+IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate sndfile python" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ ffmpeg? ( |
54 |
+ !libav? ( >=media-video/ffmpeg-2.6:0= ) |
55 |
+ libav? ( >=media-video/libav-9:0= ) |
56 |
+ ) |
57 |
+ fftw? ( sci-libs/fftw:3.0 ) |
58 |
+ jack? ( media-sound/jack-audio-connection-kit ) |
59 |
+ libsamplerate? ( media-libs/libsamplerate ) |
60 |
+ python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} ) |
61 |
+ sndfile? ( media-libs/libsndfile )" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ ${PYTHON_DEPS} |
64 |
+ virtual/pkgconfig |
65 |
+ app-text/txt2man |
66 |
+ doc? ( app-doc/doxygen )" |
67 |
+REQUIRED_USE=${PYTHON_REQUIRED_USE} |
68 |
+ |
69 |
+DOCS=( AUTHORS ChangeLog README.md ) |
70 |
+PYTHON_SRC_DIR="${S}/python" |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ sed -i -e "s:doxygen:doxygen_disabled:" wscript || die |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ python_setup |
78 |
+ waf-utils_src_configure \ |
79 |
+ --enable-complex \ |
80 |
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
81 |
+ $(use_enable double-precision double) \ |
82 |
+ $(use_enable fftw fftw3f) \ |
83 |
+ $(use_enable fftw fftw3) \ |
84 |
+ $(use_enable ffmpeg avcodec) \ |
85 |
+ $(use_enable jack) \ |
86 |
+ $(use_enable libsamplerate samplerate) \ |
87 |
+ $(use_enable sndfile) |
88 |
+ |
89 |
+ if use python ; then |
90 |
+ cd "${PYTHON_SRC_DIR}" || die |
91 |
+ distutils-r1_src_configure |
92 |
+ fi |
93 |
+} |
94 |
+ |
95 |
+src_compile() { |
96 |
+ waf-utils_src_compile --notests |
97 |
+ |
98 |
+ if use doc; then |
99 |
+ cd "${S}"/doc || die |
100 |
+ doxygen full.cfg || die |
101 |
+ fi |
102 |
+ |
103 |
+ if use python ; then |
104 |
+ cd "${PYTHON_SRC_DIR}" || die |
105 |
+ distutils-r1_src_compile |
106 |
+ fi |
107 |
+} |
108 |
+ |
109 |
+src_test() { |
110 |
+ waf-utils_src_compile --alltests |
111 |
+ |
112 |
+ if use python ; then |
113 |
+ cd "${PYTHON_SRC_DIR}" || die |
114 |
+ distutils-r1_src_test |
115 |
+ fi |
116 |
+} |
117 |
+ |
118 |
+src_install() { |
119 |
+ waf-utils_src_install |
120 |
+ |
121 |
+ if use doc; then |
122 |
+ dohtml -r doc/full/html/. |
123 |
+ dodoc doc/*.txt |
124 |
+ fi |
125 |
+ |
126 |
+ if use examples; then |
127 |
+ # install dist_noinst_SCRIPTS from Makefile.am |
128 |
+ dodoc -r examples |
129 |
+ fi |
130 |
+ |
131 |
+ if use python ; then |
132 |
+ cd "${PYTHON_SRC_DIR}" || die |
133 |
+ DOCS="" distutils-r1_src_install |
134 |
+ newdoc README README.python |
135 |
+ fi |
136 |
+} |