Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/
Date: Wed, 12 Apr 2017 07:54:32
Message-Id: 1491983665.f0364c704d614ba51a5b7028ecbd0dd5f9bba819.polynomial-c@gentoo
1 commit: f0364c704d614ba51a5b7028ecbd0dd5f9bba819
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 12 07:54:01 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 12 07:54:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0364c70
7
8 media-libs/aubio: Bump to version 0.4.5
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 media-libs/aubio/Manifest | 1 +
13 media-libs/aubio/aubio-0.4.5.ebuild | 110 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 111 insertions(+)
15
16 diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
17 index 22f5cdc40ba..9e08e592522 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 SHA256 25d7df0a9cd6366fda764a803424caddf5fb819fc
21 DIST aubio-0.4.2.tar.bz2 304216 SHA256 1cc58e0fed2b9468305b198ad06b889f228b797a082c2ede716dc30fcb4f8f1f SHA512 b57b6d147b305a264f0055726f76a8452f784b556a7fda911f056adbedd2855048e93c0e21b9f359e3f442f1542189aff0c214dd85141e2e06048a07f47703ff WHIRLPOOL 1fa0c877261c82d095144c05f753dd5ea303838d48627edf18af4275f8b4aba0dbe5806bb2504bc2c5a2c169d5bd8edd76bcb3cd990abd7b42842d0223918270
22 DIST aubio-0.4.3.tar.bz2 328852 SHA256 b62cdb073c0c64ae301917fa162969d42cba45e478bdf1e74490bd87e9cceaab SHA512 bc286f1af9bc23e8bb5e4fa49a1d392e4f8169b8ca59409ee79bbbebf887f60ac7f68a6ed465272dbfc46f8c1ebf902513428e67cab5b88c4500ffe93f1c21d5 WHIRLPOOL 260e63d3f32a18fef104dfdf175ac7a864b701048fbaa0fc3005dde6058df45ab66329401a3a47e80df407340b8ab6bb13ceda49510d1860c8302720ec55e3e2
23 DIST aubio-0.4.4.tar.bz2 334754 SHA256 2acdb92623b9d4ba641c387760ffe3ec1e4c6ab498e64e5e2286c99e36ffbff8 SHA512 ddf9019117b5da752eaf74bee0e5ba51d758f41b4e5a2ea64773fc3332c930c7215235b2ceb58bcb73e04811a3367efe19a606aee76d328a4d9670db82608d83 WHIRLPOOL b91b9de9dd5ac244c0f05fa8ba6e8e3e57ffd563d026f5b3834c9eff0eca9a6bbec3eb795fd2738a3a3f53a47a210648aa3893cd8684be187755c2c036a175d6
24 +DIST aubio-0.4.5.tar.bz2 350615 SHA256 70c2804e6f4fbf0ebc0fb9ac8cc9d465ef4a4d438311c074c9a7364e98827af6 SHA512 0aeaee5efc117201ca7b1fe2a421826ade83ce5b3ba50c27a8cf65debeedb20dd5a5ac28e20935bb29ca2b0d1b70cf93feee298989dfc79978f689e989235608 WHIRLPOOL b70d452570d1fc8b7168eac5bca3ce150aa33f24576815efa685cffef60511fa3e259c233c8f3d99ae5f88a6d8e94d4686a040912948c3783323eceec202a843
25
26 diff --git a/media-libs/aubio/aubio-0.4.5.ebuild b/media-libs/aubio/aubio-0.4.5.ebuild
27 new file mode 100644
28 index 00000000000..15673419b95
29 --- /dev/null
30 +++ b/media-libs/aubio/aubio-0.4.5.ebuild
31 @@ -0,0 +1,110 @@
32 +# Copyright 1999-2017 Gentoo Foundation
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="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 +"
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 + doxygen full.cfg || die
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/full/html/.
140 + fi
141 +}