1 |
commit: 9a4fc0238e3cb400d531479d045dd6dd167fa605 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 25 08:21:19 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 25 08:21:19 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a4fc023 |
7 |
|
8 |
media-libs/aubio: Bump to version 0.4.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
11 |
|
12 |
media-libs/aubio/Manifest | 1 + |
13 |
media-libs/aubio/aubio-0.4.7.ebuild | 112 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 113 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest |
17 |
index c44983e3ee0..1241c55db3e 100644 |
18 |
--- a/media-libs/aubio/Manifest |
19 |
+++ b/media-libs/aubio/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST aubio-0.4.1.tar.bz2 288136 BLAKE2B ba7368fab21fec73dc555ea0d7291eea010a415d |
21 |
DIST aubio-0.4.2.tar.bz2 304216 BLAKE2B aab7e55d580105e6180503503ae2970d150d86e445d5c1b10d3f39c8cdf7496d0c280a57a2fc7ad3ea5142996d56c53cd2e1c6f736fb1a98b9b142438c919e04 SHA512 b57b6d147b305a264f0055726f76a8452f784b556a7fda911f056adbedd2855048e93c0e21b9f359e3f442f1542189aff0c214dd85141e2e06048a07f47703ff |
22 |
DIST aubio-0.4.5.tar.bz2 350615 BLAKE2B 2108b4e2c9ef7f15631d785f71d6bce6804b0b61a5022e75a841e9e0772b6a4e9e53fe11c74e3907aa74eb1191bc0a5082f4854d2fe0746e14a4f9ac50ae06b2 SHA512 0aeaee5efc117201ca7b1fe2a421826ade83ce5b3ba50c27a8cf65debeedb20dd5a5ac28e20935bb29ca2b0d1b70cf93feee298989dfc79978f689e989235608 |
23 |
DIST aubio-0.4.6.tar.bz2 363016 BLAKE2B 3847ed02b7d64d9796bd1f5a06044d945f5859ab87a762978bf2b0b6650cc0e19c9b8eec99a793e14dd25c06f66d2bffd453ecca824fbc5f47700fda7f78854b SHA512 0e5cab0c88d51f2fb70c0d85e1c067a7b3758fbffdbd5026686726379aa36203adb63ed3f8e40c83ea02930e0ffc4e6c246803f1d518d448d47a01984678e77d |
24 |
+DIST aubio-0.4.7.tar.bz2 372173 BLAKE2B 544239b215dd87d4cf4a6ed6b5dd856411d0a3f1c3242e3e1077fa0780160785a9934884a1f0d0dc80fe21b1d417bc3800db59842ec300a4c29d75b7942cba05 SHA512 30c614f2b502b993df28d4746a99421fe0aada33c98c42ea19c271554b29b360cb4d4f6650c1b1da508da4bc341348c5944cb452f69b2bf354ca6348f84de260 |
25 |
|
26 |
diff --git a/media-libs/aubio/aubio-0.4.7.ebuild b/media-libs/aubio/aubio-0.4.7.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..9cb10b60097 |
29 |
--- /dev/null |
30 |
+++ b/media-libs/aubio/aubio-0.4.7.ebuild |
31 |
@@ -0,0 +1,112 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
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="https://aubio.org/" |
45 |
+SRC_URI="https://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? ( virtual/jack ) |
59 |
+ libsamplerate? ( media-libs/libsamplerate ) |
60 |
+ python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} ) |
61 |
+ sndfile? ( media-libs/libsndfile ) |
62 |
+" |
63 |
+DEPEND=" |
64 |
+ ${RDEPEND} |
65 |
+ ${PYTHON_DEPS} |
66 |
+ app-text/txt2man |
67 |
+ virtual/pkgconfig |
68 |
+ doc? ( app-doc/doxygen ) |
69 |
+" |
70 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
71 |
+ |
72 |
+DOCS=( AUTHORS ChangeLog README.md ) |
73 |
+PYTHON_SRC_DIR="${S}" |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ default |
77 |
+ sed -i -e "s:doxygen:doxygen_disabled:" wscript || die |
78 |
+} |
79 |
+ |
80 |
+src_configure() { |
81 |
+ python_setup |
82 |
+ waf-utils_src_configure \ |
83 |
+ --enable-complex \ |
84 |
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
85 |
+ $(use_enable double-precision double) \ |
86 |
+ $(use_enable fftw fftw3f) \ |
87 |
+ $(use_enable fftw fftw3) \ |
88 |
+ $(use_enable ffmpeg avcodec) \ |
89 |
+ $(use_enable jack) \ |
90 |
+ $(use_enable libsamplerate samplerate) \ |
91 |
+ $(use_enable sndfile) |
92 |
+ |
93 |
+ if use python ; then |
94 |
+ cd "${PYTHON_SRC_DIR}" || die |
95 |
+ distutils-r1_src_configure |
96 |
+ fi |
97 |
+} |
98 |
+ |
99 |
+src_compile() { |
100 |
+ waf-utils_src_compile --notests |
101 |
+ |
102 |
+ if use doc; then |
103 |
+ cd "${S}"/doc || die |
104 |
+ emake dirhtml |
105 |
+ fi |
106 |
+ |
107 |
+ if use python ; then |
108 |
+ cd "${PYTHON_SRC_DIR}" || die |
109 |
+ distutils-r1_src_compile |
110 |
+ fi |
111 |
+} |
112 |
+ |
113 |
+src_test() { |
114 |
+ waf-utils_src_compile --alltests |
115 |
+ |
116 |
+ if use python ; then |
117 |
+ cd "${PYTHON_SRC_DIR}" || die |
118 |
+ distutils-r1_src_test |
119 |
+ fi |
120 |
+} |
121 |
+ |
122 |
+src_install() { |
123 |
+ waf-utils_src_install |
124 |
+ |
125 |
+ if use examples; then |
126 |
+ # install dist_noinst_SCRIPTS from Makefile.am |
127 |
+ dodoc -r examples |
128 |
+ fi |
129 |
+ |
130 |
+ if use python ; then |
131 |
+ cd "${PYTHON_SRC_DIR}" || die |
132 |
+ DOCS="" distutils-r1_src_install |
133 |
+ newdoc python/README.md README.python |
134 |
+ fi |
135 |
+ |
136 |
+ if use doc; then |
137 |
+ dodoc doc/*.txt |
138 |
+ docinto html |
139 |
+ dodoc -r doc/_build/dirhtml/. |
140 |
+ fi |
141 |
+ |
142 |
+ find "${ED}" -name "*.a" -delete || die |
143 |
+} |