[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/

2024-07-06 Thread Arthur Zamarin
commit: b72f9112c6bab2cc94002a4acb1e8c591b35c1dc
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Jul  6 07:42:27 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jul  6 08:16:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b72f9112

media-libs/aubio: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Arthur Zamarin  gentoo.org>

 .../aubio-0.4.9-remove-universal-newlines.patch| 31 --
 1 file changed, 31 deletions(-)

diff --git a/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch 
b/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch
deleted file mode 100644
index 304dae7afc5b..
--- a/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch
+++ /dev/null
@@ -1,31 +0,0 @@
 aubio-0.4.9/waflib/ConfigSet.py2023-03-07 16:02:26.109510883 -0500
-+++ aubio-0.4.9/waflib/ConfigSet.py2023-03-07 16:05:12.892415156 -0500
-@@ -146,7 +146,7 @@ class ConfigSet(object):
-   Utils.writef(filename,''.join(buf))
-   def load(self,filename):
-   tbl=self.table
--  code=Utils.readf(filename,m='rU')
-+  code=Utils.readf(filename,m='r')
-   for m in re_imp.finditer(code):
-   g=m.group
-   tbl[g(2)]=eval(g(3))
 aubio-0.4.9/waflib/Context.py  2023-03-07 16:02:26.109510883 -0500
-+++ aubio-0.4.9/waflib/Context.py  2023-03-07 16:05:20.764245554 -0500
-@@ -106,7 +106,7 @@ class Context(ctx):
-   cache[node]=True
-   self.pre_recurse(node)
-   try:
--  function_code=node.read('rU',encoding)
-+  function_code=node.read('r',encoding)
-   
exec(compile(function_code,node.abspath(),'exec'),self.exec_dict)
-   finally:
-   self.post_recurse(node)
-@@ -346,7 +346,7 @@ def load_module(path,encoding=None):
-   pass
-   module=imp.new_module(WSCRIPT_FILE)
-   try:
--  code=Utils.readf(path,m='rU',encoding=encoding)
-+  code=Utils.readf(path,m='r',encoding=encoding)
-   except EnvironmentError:
-   raise Errors.WafError('Could not read the file %r'%path)
-   module_dir=os.path.dirname(path)



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2024-07-04 Thread Miroslav Šulc
commit: 808697f776b5a79621b54e372dc6f8adcc15e4ed
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Thu Jul  4 13:36:45 2024 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Thu Jul  4 13:36:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=808697f7

media-libs/aubio: dropped obsolete 0.4.9-r2

Bug: https://bugs.gentoo.org/935423
Closes: https://bugs.gentoo.org/589262
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r2.ebuild | 152 -
 1 file changed, 152 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r2.ebuild 
b/media-libs/aubio/aubio-0.4.9-r2.ebuild
deleted file mode 100644
index ddedae01e700..
--- a/media-libs/aubio/aubio-0.4.9-r2.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{9..11} )
-PYTHON_REQ_USE='threads(+)'
-inherit distutils-r1 waf-utils
-
-DESCRIPTION="Library for audio labelling"
-HOMEPAGE="https://aubio.org/";
-SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0/5"
-KEYWORDS="amd64 ~loong ~ppc ppc64 sparc x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   ?? ( double-precision libsamplerate )
-   doc? ( python )
-"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ffmpeg? ( >=media-video/ffmpeg-2.6:0= )
-   fftw? ( sci-libs/fftw:3.0= )
-   jack? ( virtual/jack )
-   libsamplerate? ( media-libs/libsamplerate )
-   python? (
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   )
-   sndfile? ( media-libs/libsndfile )
-"
-
-DEPEND="${RDEPEND}
-   ${PYTHON_DEPS}
-   app-text/txt2man
-   virtual/pkgconfig
-   doc? (
-   app-text/doxygen
-   dev-python/sphinx
-   )
-"
-
-DOCS=( AUTHORS ChangeLog README.md )
-PYTHON_SRC_DIR="${S}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.4.9-docdir.patch
-   "${FILESDIR}"/ffmpeg5.patch
-   "${FILESDIR}"/${PN}-0.4.9-remove-universal-newlines.patch
-)
-
-src_prepare() {
-   default
-
-   sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
-
-   sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die
-
-   # ERROR: "Skipped: no test sounds, add some in 'python/tests/sounds/'!"
-   rm python/tests/test_source.py || die
-
-   if ! use test; then
-   sed -e "/bld.*tests/d" -i wscript || die
-   fi
-}
-
-src_configure() {
-   python_setup
-
-   local mywafconfargs=(
-   --enable-complex
-   --docdir="${EPREFIX}"/usr/share/doc/${PF}
-   $(use_enable doc docs)
-   $(use_enable double-precision double)
-   $(use_enable fftw fftw3)
-   $(use_enable ffmpeg avcodec)
-   $(use_enable jack)
-   $(use_enable libsamplerate samplerate)
-   $(use_enable sndfile)
-   )
-
-   use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) )
-
-   waf-utils_src_configure "${mywafconfargs[@]}"
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_configure
-   fi
-}
-
-src_compile() {
-   waf-utils_src_compile --notests
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_compile
-
-   if use doc ; then
-   # No API function like distutils_install_for_testing 
available for this use case
-   pushd "${S}"/doc &>/dev/null || die
-   python_setup
-   LD_LIBRARY_PATH="${S}/build/src:${LD_LIBRARY_PATH}" \
-   
PYTHONPATH="${S%%/}-${EPYTHON/./_}/lib${PYTHONPATH:+:${PYTHONPATH}}" \
-   emake dirhtml
-   fi
-
-   cd "${S}" || die
-   fi
-}
-
-src_test() {
-   waf-utils_src_compile --alltests
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_test
-   fi
-}
-
-python_test() {
-LD_LIBRARY_PATH="${S}/build/src:${LD_LIBRARY_PATH}" eunittest 
python/tests
-}
-
-src_install() {
-   waf-utils_src_install
-
-   if use examples; then
-   # install dist_noinst_SCRIPTS from Makefile.am
-   dodoc -r examples
-   fi
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   DOCS="" distutils-r1_src_install
-   newdoc python/README.md README.python
-   fi
-
-   if use doc; then
-   dodoc doc/*.txt
-   docinto html
-   dodoc -r doc/_build/dirhtml/.
-   fi
-
-   find "${ED}" -name "*.a" -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2024-07-03 Thread Sam James
commit: 64bd3e68a28b23908cfda1a395fddec7bda9d17d
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul  3 22:36:05 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul  3 22:36:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64bd3e68

media-libs/aubio: Stabilize 0.4.9-r4 x86, #935423

Signed-off-by: Sam James  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r4.ebuild 
b/media-libs/aubio/aubio-0.4.9-r4.ebuild
index ec93f19e21f2..b12e5e546d59 100644
--- a/media-libs/aubio/aubio-0.4.9-r4.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r4.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="~amd64 ~loong ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~amd64 ~loong ~ppc ~ppc64 sparc x86"
 IUSE="blas doc double-precision examples ffmpeg fftw jack libsamplerate 
sndfile python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2024-07-03 Thread Sam James
commit: 55d0ed5567c98590bf06b13885114e1d914d2c80
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul  3 22:36:06 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul  3 22:36:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55d0ed55

media-libs/aubio: Stabilize 0.4.9-r4 ppc64, #935423

Signed-off-by: Sam James  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r4.ebuild 
b/media-libs/aubio/aubio-0.4.9-r4.ebuild
index b12e5e546d59..631f4e6a7103 100644
--- a/media-libs/aubio/aubio-0.4.9-r4.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r4.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="~amd64 ~loong ~ppc ~ppc64 sparc x86"
+KEYWORDS="~amd64 ~loong ~ppc ppc64 sparc x86"
 IUSE="blas doc double-precision examples ffmpeg fftw jack libsamplerate 
sndfile python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2024-07-03 Thread Sam James
commit: ff83f77706e98bb5ffe1bc6b934e99d5bed220fe
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul  3 22:36:04 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul  3 22:36:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff83f777

media-libs/aubio: Stabilize 0.4.9-r4 sparc, #935423

Signed-off-by: Sam James  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r4.ebuild 
b/media-libs/aubio/aubio-0.4.9-r4.ebuild
index 0c8533c51c66..ec93f19e21f2 100644
--- a/media-libs/aubio/aubio-0.4.9-r4.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r4.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="~amd64 ~loong ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~loong ~ppc ~ppc64 sparc ~x86"
 IUSE="blas doc double-precision examples ffmpeg fftw jack libsamplerate 
sndfile python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2024-07-03 Thread Sam James
commit: ce644fc1f2f22fb0c713d8b4ed57f3466339e4cd
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul  3 22:36:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul  3 22:36:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce644fc1

media-libs/aubio: Stabilize 0.4.9-r4 amd64, #935423

Signed-off-by: Sam James  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r4.ebuild 
b/media-libs/aubio/aubio-0.4.9-r4.ebuild
index 631f4e6a7103..eb61db1359ae 100644
--- a/media-libs/aubio/aubio-0.4.9-r4.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r4.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="~amd64 ~loong ~ppc ppc64 sparc x86"
+KEYWORDS="amd64 ~loong ~ppc ppc64 sparc x86"
 IUSE="blas doc double-precision examples ffmpeg fftw jack libsamplerate 
sndfile python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/

2024-06-24 Thread Sam James
commit: 765cbe9e259d277abfaa186a9d5cb2d7725b211a
Author: Aliaksei Urbanski  gmail  com>
AuthorDate: Wed Jun 19 00:59:28 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 25 02:08:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=765cbe9e

media-libs/aubio: revbump to 0.4.9-r4

These changes fix:
  - compile with python-exec[-native-symlinks]
  - GCC 14 compatibility
  - NumPy 2 compatibility
  - documentation issues:
* partially missing docs on the first install
* duplicated docs on reinstalls
  - missing blas USE flag
  - missing pytest dependency

[sam: Drop the changes to -r2.]

Closes: https://bugs.gentoo.org/933405
Closes: https://bugs.gentoo.org/925102
Bug: https://bugs.gentoo.org/589262
Signed-off-by: Aliaksei Urbanski  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36988
Signed-off-by: Sam James  gentoo.org>

 ...aubio-0.4.9-r3.ebuild => aubio-0.4.9-r4.ebuild} | 32 +--
 media-libs/aubio/files/aubio-0.4.9-gcc-14.patch| 37 ++
 media-libs/aubio/files/aubio-0.4.9-numpy-2.patch   | 13 
 3 files changed, 72 insertions(+), 10 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r3.ebuild 
b/media-libs/aubio/aubio-0.4.9-r4.ebuild
similarity index 77%
rename from media-libs/aubio/aubio-0.4.9-r3.ebuild
rename to media-libs/aubio/aubio-0.4.9-r4.ebuild
index 4a910ed12d2e..0c8533c51c66 100644
--- a/media-libs/aubio/aubio-0.4.9-r3.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r4.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 DISTUTILS_EXT=1
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils
 
@@ -22,7 +22,7 @@ SRC_URI="
 LICENSE="GPL-3"
 SLOT="0/5"
 KEYWORDS="~amd64 ~loong ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
+IUSE="blas doc double-precision examples ffmpeg fftw jack libsamplerate 
sndfile python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
?? ( double-precision libsamplerate )
@@ -32,6 +32,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
 RESTRICT="!test? ( test )"
 
 RDEPEND="
+   blas? ( virtual/cblas )
ffmpeg? ( >=media-video/ffmpeg-2.6:0= )
fftw? ( sci-libs/fftw:3.0= )
jack? ( virtual/jack )
@@ -47,10 +48,8 @@ DEPEND="${RDEPEND}
${PYTHON_DEPS}
app-text/txt2man
virtual/pkgconfig
-   doc? (
-   app-text/doxygen
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   )
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
 "
 BDEPEND="${DISTUTILS_DEPS}"
 
@@ -59,13 +58,23 @@ PYTHON_SRC_DIR="${S}"
 
 PATCHES=(
"${FILESDIR}"/${P}-docdir.patch
+   "${FILESDIR}"/${P}-gcc-14.patch
+   "${FILESDIR}"/${P}-numpy-2.patch
"${FILESDIR}"/ffmpeg5.patch
 )
 
 src_prepare() {
default
 
-   sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
+   # In case when aubio is already installed, calling of the
+   # `sphinx` function at the wscript causes a python interpreter
+   # crash on `import aubio` if aubio was built with =2.
+   # Additionally, it causes duplication of the documentation.
+   sed \
+   -e '/\(doxygen\|sphinx\)(bld)$/d' \
+   -e "s/package = 'blas'/package = 'cblas'/" \
+   -i wscript || die
 
sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die
 
@@ -77,7 +86,9 @@ src_prepare() {
fi
 
# update waf to fix Python 3.12 compatibility
+   python_setup
sed -r \
+   -e "s:python:${PYTHON}:" \
-e "s:(WAFVERSION=).*:\1${WAFVERSION}:" \
-e "s:(WAFURL=).*:\1'${DISTDIR}/${WAFTARBALL}':" \
-e 's:^fetchwaf$:cp "${WAFURL}" "${WAFTARBALL}":' \
@@ -91,6 +102,7 @@ src_configure() {
local mywafconfargs=(
--enable-complex
--docdir="${EPREFIX}"/usr/share/doc/${PF}
+   $(use_enable blas)
$(use_enable doc docs)
$(use_enable double-precision double)
$(use_enable fftw fftw3)
@@ -122,8 +134,8 @@ src_compile() {
pushd "${S}"/doc &>/dev/null || die
python_setup
LD_LIBRARY_PATH="${S}/build/src:${LD_LIBRARY_PATH}" \
-   
PYTHONPATH="${S%%/}-${EPYTHON/./_}/lib${PYTHONPATH:+:${PYTHONPATH}}" \
-   emake dirhtml
+   
PYTHONPATH="${S%%/}-${EPYTHON/./_}/install/usr/lib/${EPYTHON}/site-packages:${PYTHONPATH}"
 \
+   emake html
fi
 
cd "${S}" || die
@@ -160,7 +172,7 @@ src_install() {
if use doc; then
dodoc doc/*.txt
docinto html
-   dodoc -r doc/_build/dirhtml/.
+   dodoc 

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2024-06-01 Thread Sam James
commit: 8cf655f807ec6425decf5c1ff1933b770ca104ff
Author: Aliaksei Urbanski  gmail  com>
AuthorDate: Thu Apr 25 14:40:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun  2 00:34:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cf655f8

media-libs/aubio: revbump to 0.4.9-r3

These changes:
  - add Python 3.12 support
  - migrate to PEP 517 build
  - bump EAPI to 8

Bug: https://bugs.gentoo.org/929631
Bug: https://bugs.gentoo.org/909987

Signed-off-by: Aliaksei Urbanski  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36421
Signed-off-by: Sam James  gentoo.org>

 media-libs/aubio/Manifest  |   1 +
 media-libs/aubio/aubio-0.4.9-r3.ebuild | 167 +
 2 files changed, 168 insertions(+)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index cafe77d9791a..1fc0bdb0e590 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1 +1,2 @@
 DIST aubio-0.4.9.tar.bz2 397604 BLAKE2B 
b849d92678ea8fb20e17921b1a61fdc85a84d4a528acfefa3278169ab5f7fe935217ec37dd9f931202f0f0a1fd3a9518372afbce34cc2dd3ca30c6b4e5d9a301
 SHA512 
0cb81bb4b15051db3f3f4d160d500af56fdfb237e0a74e3f366f53c2870030aa0a7cee8469a611a9694c36b8866d3d42ffb48241c999de08f3fee43e6d903130
+DIST waf-2.0.27.tar.bz2 693624 BLAKE2B 
34dcb84df2f42d7c92988226ae0208a9407a091f79e47b8abe1d3b33105d58df06072bfb3c22a7bb6dfa8f083224642c55fa2c9fc0110a2d49d3d10ea754c928
 SHA512 
a62dbb1ee89d88969c31d3f634577d80b8a595460d445cae9b42ca423cfcbbb96347b5b67697165833f3dd496b4bc7e312e166af86cb3b97ed57ffe59f46b98a

diff --git a/media-libs/aubio/aubio-0.4.9-r3.ebuild 
b/media-libs/aubio/aubio-0.4.9-r3.ebuild
new file mode 100644
index ..4a910ed12d2e
--- /dev/null
+++ b/media-libs/aubio/aubio-0.4.9-r3.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE='threads(+)'
+inherit distutils-r1 waf-utils
+
+DESCRIPTION="Library for audio labelling"
+HOMEPAGE="https://aubio.org/";
+WAFVERSION=2.0.27
+WAFTARBALL=waf-${WAFVERSION}.tar.bz2
+SRC_URI="
+   https://aubio.org/pub/${P}.tar.bz2
+   https://waf.io/${WAFTARBALL}
+"
+
+LICENSE="GPL-3"
+SLOT="0/5"
+KEYWORDS="~amd64 ~loong ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   ?? ( double-precision libsamplerate )
+   doc? ( python )
+"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ffmpeg? ( >=media-video/ffmpeg-2.6:0= )
+   fftw? ( sci-libs/fftw:3.0= )
+   jack? ( virtual/jack )
+   libsamplerate? ( media-libs/libsamplerate )
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   )
+   sndfile? ( media-libs/libsndfile )
+"
+
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   app-text/txt2man
+   virtual/pkgconfig
+   doc? (
+   app-text/doxygen
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   )
+"
+BDEPEND="${DISTUTILS_DEPS}"
+
+DOCS=( AUTHORS ChangeLog README.md )
+PYTHON_SRC_DIR="${S}"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-docdir.patch
+   "${FILESDIR}"/ffmpeg5.patch
+)
+
+src_prepare() {
+   default
+
+   sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
+
+   sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die
+
+   # ERROR: "Skipped: no test sounds, add some in 'python/tests/sounds/'!"
+   rm python/tests/test_source.py || die
+
+   if ! use test; then
+   sed -e "/bld.*tests/d" -i wscript || die
+   fi
+
+   # update waf to fix Python 3.12 compatibility
+   sed -r \
+   -e "s:(WAFVERSION=).*:\1${WAFVERSION}:" \
+   -e "s:(WAFURL=).*:\1'${DISTDIR}/${WAFTARBALL}':" \
+   -e 's:^fetchwaf$:cp "${WAFURL}" "${WAFTARBALL}":' \
+   -i scripts/get_waf.sh || die
+   emake expandwaf
+}
+
+src_configure() {
+   python_setup
+
+   local mywafconfargs=(
+   --enable-complex
+   --docdir="${EPREFIX}"/usr/share/doc/${PF}
+   $(use_enable doc docs)
+   $(use_enable double-precision double)
+   $(use_enable fftw fftw3)
+   $(use_enable ffmpeg avcodec)
+   $(use_enable jack)
+   $(use_enable libsamplerate samplerate)
+   $(use_enable sndfile)
+   )
+
+   use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) )
+
+   waf-utils_src_configure "${mywafconfargs[@]}"
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_configure
+   fi
+}
+
+src_compile() {
+   waf-utils_src_compile --notests
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2023-09-06 Thread WANG Xuerui
commit: a02aa3835c4e2bafc8a91b49aac2489201c8cbb9
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu Aug 31 21:10:53 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Wed Sep  6 18:29:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a02aa383

media-libs/aubio: keyword 0.4.9-r2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r2.ebuild 
b/media-libs/aubio/aubio-0.4.9-r2.ebuild
index 8cd665ace6bd..fb573697b749 100644
--- a/media-libs/aubio/aubio-0.4.9-r2.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="amd64 ~ppc ppc64 sparc x86"
+KEYWORDS="amd64 ~loong ~ppc ppc64 sparc x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/

2023-03-13 Thread Miroslav Šulc
commit: 50c8da202c029804b80186af5997e85317035f51
Author: Violet Purcell  inventati  org>
AuthorDate: Mon Mar 13 19:08:12 2023 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Tue Mar 14 06:35:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50c8da20

media-libs/aubio: enable py3.11

Signed-off-by: Violet Purcell  inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/30093
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r2.ebuild |  3 ++-
 .../aubio-0.4.9-remove-universal-newlines.patch| 31 ++
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r2.ebuild 
b/media-libs/aubio/aubio-0.4.9-r2.ebuild
index d352834990c5..8cd665ace6bd 100644
--- a/media-libs/aubio/aubio-0.4.9-r2.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils
 
@@ -52,6 +52,7 @@ PYTHON_SRC_DIR="${S}"
 PATCHES=(
"${FILESDIR}"/${PN}-0.4.9-docdir.patch
"${FILESDIR}"/ffmpeg5.patch
+   "${FILESDIR}"/${PN}-0.4.9-remove-universal-newlines.patch
 )
 
 src_prepare() {

diff --git a/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch 
b/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch
new file mode 100644
index ..304dae7afc5b
--- /dev/null
+++ b/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch
@@ -0,0 +1,31 @@
+--- aubio-0.4.9/waflib/ConfigSet.py2023-03-07 16:02:26.109510883 -0500
 aubio-0.4.9/waflib/ConfigSet.py2023-03-07 16:05:12.892415156 -0500
+@@ -146,7 +146,7 @@ class ConfigSet(object):
+   Utils.writef(filename,''.join(buf))
+   def load(self,filename):
+   tbl=self.table
+-  code=Utils.readf(filename,m='rU')
++  code=Utils.readf(filename,m='r')
+   for m in re_imp.finditer(code):
+   g=m.group
+   tbl[g(2)]=eval(g(3))
+--- aubio-0.4.9/waflib/Context.py  2023-03-07 16:02:26.109510883 -0500
 aubio-0.4.9/waflib/Context.py  2023-03-07 16:05:20.764245554 -0500
+@@ -106,7 +106,7 @@ class Context(ctx):
+   cache[node]=True
+   self.pre_recurse(node)
+   try:
+-  function_code=node.read('rU',encoding)
++  function_code=node.read('r',encoding)
+   
exec(compile(function_code,node.abspath(),'exec'),self.exec_dict)
+   finally:
+   self.post_recurse(node)
+@@ -346,7 +346,7 @@ def load_module(path,encoding=None):
+   pass
+   module=imp.new_module(WSCRIPT_FILE)
+   try:
+-  code=Utils.readf(path,m='rU',encoding=encoding)
++  code=Utils.readf(path,m='r',encoding=encoding)
+   except EnvironmentError:
+   raise Errors.WafError('Could not read the file %r'%path)
+   module_dir=os.path.dirname(path)



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2022-06-22 Thread Miroslav Šulc
commit: 71fa229ce314df4d02534442c2b01074dc859e12
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Thu Jun 23 04:02:39 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Thu Jun 23 04:02:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71fa229c

media-libs/aubio: dropped obsolete 0.4.9-r1

Bug: https://bugs.gentoo.org/853610
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r1.ebuild | 142 -
 1 file changed, 142 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r1.ebuild 
b/media-libs/aubio/aubio-0.4.9-r1.ebuild
deleted file mode 100644
index 48d70ea69fd3..
--- a/media-libs/aubio/aubio-0.4.9-r1.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE='threads(+)'
-inherit distutils-r1 waf-utils
-
-DESCRIPTION="Library for audio labelling"
-HOMEPAGE="https://aubio.org/";
-SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0/5"
-KEYWORDS="amd64 ~ppc ppc64 sparc x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   ?? ( double-precision libsamplerate )
-   doc? ( python )
-"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ffmpeg? ( >=media-video/ffmpeg-2.6:0= )
-   fftw? ( sci-libs/fftw:3.0= )
-   jack? ( virtual/jack )
-   libsamplerate? ( media-libs/libsamplerate )
-   python? (
-   ${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
-   )
-   sndfile? ( media-libs/libsndfile )
-"
-
-DEPEND="${RDEPEND}
-   ${PYTHON_DEPS}
-   app-text/txt2man
-   virtual/pkgconfig
-   doc? (
-   app-doc/doxygen
-   dev-python/sphinx
-   )
-"
-
-DOCS=( AUTHORS ChangeLog README.md )
-PYTHON_SRC_DIR="${S}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.4.9-docdir.patch
-   "${FILESDIR}"/ffmpeg5.patch
-)
-
-src_prepare() {
-   default
-
-   sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
-
-   sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die
-
-   if ! use test; then
-   sed -e "/bld.*tests/d" -i wscript || die
-   fi
-}
-
-src_configure() {
-   python_setup
-   local mywafconfargs=(
-   --enable-complex
-   --docdir="${EPREFIX}"/usr/share/doc/${PF}
-   $(use_enable doc docs)
-   $(use_enable double-precision double)
-   $(use_enable fftw fftw3)
-   $(use_enable ffmpeg avcodec)
-   $(use_enable jack)
-   $(use_enable libsamplerate samplerate)
-   $(use_enable sndfile)
-   )
-   use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) )
-
-   waf-utils_src_configure "${mywafconfargs[@]}"
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_configure
-   fi
-}
-
-src_compile() {
-   waf-utils_src_compile --notests
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_compile
-
-   if use doc ; then
-   # No API function like distutils_install_for_testing 
available for this use case
-   pushd "${S}"/doc &>/dev/null || die
-   python_setup
-   LD_LIBRARY_PATH="${S}/build/src" \
-   
PYTHONPATH="${S%%/}-${EPYTHON/./_}/lib${PYTHONPATH:+:${PYTHONPATH}}" \
-   emake dirhtml
-   fi
-
-   cd "${S}" || die
-   fi
-}
-
-src_test() {
-   waf-utils_src_compile --alltests
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_test
-   fi
-}
-
-src_install() {
-   waf-utils_src_install
-
-   if use examples; then
-   # install dist_noinst_SCRIPTS from Makefile.am
-   dodoc -r examples
-   fi
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   DOCS="" distutils-r1_src_install
-   newdoc python/README.md README.python
-   fi
-
-   if use doc; then
-   dodoc doc/*.txt
-   docinto html
-   dodoc -r doc/_build/dirhtml/.
-   fi
-
-   find "${ED}" -name "*.a" -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2022-06-21 Thread Agostino Sarubbo
commit: 22eef483ae372f28307d2e897a1146546eacf271
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun 22 05:50:37 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun 22 05:50:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22eef483

media-libs/aubio: x86 stable wrt bug #853610

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r2.ebuild 
b/media-libs/aubio/aubio-0.4.9-r2.ebuild
index 350b2b270872..437da41dbe3f 100644
--- a/media-libs/aubio/aubio-0.4.9-r2.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="amd64 ~ppc ppc64 sparc ~x86"
+KEYWORDS="amd64 ~ppc ppc64 sparc x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2022-06-21 Thread Agostino Sarubbo
commit: 2bdfecd49e4e1a53cfc036d2a669531e6fd34a8e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun 22 05:49:46 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun 22 05:49:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bdfecd4

media-libs/aubio: sparc stable wrt bug #853610

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r2.ebuild 
b/media-libs/aubio/aubio-0.4.9-r2.ebuild
index 7071c066c7f1..350b2b270872 100644
--- a/media-libs/aubio/aubio-0.4.9-r2.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="amd64 ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~ppc ppc64 sparc ~x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2022-06-21 Thread Agostino Sarubbo
commit: 0bc1d11d0cf71503aeab1080304487e49ee34f61
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun 22 05:48:45 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun 22 05:48:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bc1d11d

media-libs/aubio: ppc64 stable wrt bug #853610

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r2.ebuild 
b/media-libs/aubio/aubio-0.4.9-r2.ebuild
index dd4ae5d76e49..7071c066c7f1 100644
--- a/media-libs/aubio/aubio-0.4.9-r2.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~ppc ppc64 ~sparc ~x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2022-06-21 Thread Agostino Sarubbo
commit: 39e3e12efc442c5c8c5bff48b5b02be70204ae8b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun 22 05:45:45 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun 22 05:45:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39e3e12e

media-libs/aubio: amd64 stable wrt bug #853610

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r2.ebuild 
b/media-libs/aubio/aubio-0.4.9-r2.ebuild
index f98faae91fcd..dd4ae5d76e49 100644
--- a/media-libs/aubio/aubio-0.4.9-r2.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2022-06-19 Thread Sam James
commit: 155fb7ff1e66b5effd7dfc4cdf718769a7835156
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun 20 01:43:14 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 20 01:45:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155fb7ff

media-libs/aubio: update EAPI 6 -> 7; Python 3.10; fix Python tests

- EAPI 6->7 (not 8 b/c waf-utils)
- Add Python 3.10
- Python tests weren't actually being run before! They pass w/ all impls.

Closes: https://bugs.gentoo.org/799722
Closes: https://bugs.gentoo.org/806866
Closes: https://bugs.gentoo.org/846014
Signed-off-by: Sam James  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r2.ebuild | 151 +
 1 file changed, 151 insertions(+)

diff --git a/media-libs/aubio/aubio-0.4.9-r2.ebuild 
b/media-libs/aubio/aubio-0.4.9-r2.ebuild
new file mode 100644
index ..f98faae91fcd
--- /dev/null
+++ b/media-libs/aubio/aubio-0.4.9-r2.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE='threads(+)'
+inherit distutils-r1 waf-utils
+
+DESCRIPTION="Library for audio labelling"
+HOMEPAGE="https://aubio.org/";
+SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0/5"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   ?? ( double-precision libsamplerate )
+   doc? ( python )
+"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ffmpeg? ( >=media-video/ffmpeg-2.6:0= )
+   fftw? ( sci-libs/fftw:3.0= )
+   jack? ( virtual/jack )
+   libsamplerate? ( media-libs/libsamplerate )
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   )
+   sndfile? ( media-libs/libsndfile )
+"
+
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   app-text/txt2man
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-python/sphinx
+   )
+"
+
+DOCS=( AUTHORS ChangeLog README.md )
+PYTHON_SRC_DIR="${S}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.4.9-docdir.patch
+   "${FILESDIR}"/ffmpeg5.patch
+)
+
+src_prepare() {
+   default
+
+   sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
+
+   sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die
+
+   # ERROR: "Skipped: no test sounds, add some in 'python/tests/sounds/'!"
+   rm python/tests/test_source.py || die
+
+   if ! use test; then
+   sed -e "/bld.*tests/d" -i wscript || die
+   fi
+}
+
+src_configure() {
+   python_setup
+
+   local mywafconfargs=(
+   --enable-complex
+   --docdir="${EPREFIX}"/usr/share/doc/${PF}
+   $(use_enable doc docs)
+   $(use_enable double-precision double)
+   $(use_enable fftw fftw3)
+   $(use_enable ffmpeg avcodec)
+   $(use_enable jack)
+   $(use_enable libsamplerate samplerate)
+   $(use_enable sndfile)
+   )
+
+   use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) )
+
+   waf-utils_src_configure "${mywafconfargs[@]}"
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_configure
+   fi
+}
+
+src_compile() {
+   waf-utils_src_compile --notests
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_compile
+
+   if use doc ; then
+   # No API function like distutils_install_for_testing 
available for this use case
+   pushd "${S}"/doc &>/dev/null || die
+   python_setup
+   LD_LIBRARY_PATH="${S}/build/src:${LD_LIBRARY_PATH}" \
+   
PYTHONPATH="${S%%/}-${EPYTHON/./_}/lib${PYTHONPATH:+:${PYTHONPATH}}" \
+   emake dirhtml
+   fi
+
+   cd "${S}" || die
+   fi
+}
+
+src_test() {
+   waf-utils_src_compile --alltests
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_test
+   fi
+}
+
+python_test() {
+LD_LIBRARY_PATH="${S}/build/src:${LD_LIBRARY_PATH}" eunittest 
python/tests
+}
+
+src_install() {
+   waf-utils_src_install
+
+   if use examples; then
+   # install dist_noinst_SCRIPTS from Makefile.am
+   dodoc -r examples
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   DOCS="" distutils-r1_src_install
+   newdoc python/README.md README.python
+   fi
+
+   if use doc; then
+   dodoc doc/*.txt
+   docinto html
+   dodoc -r doc/_build/dirhtml/.
+   f

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2022-05-30 Thread Sam James
commit: acd2d238cc523e895375eb6641ae4300c6689477
Author: Sam James  gentoo  org>
AuthorDate: Tue May 31 04:28:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 31 04:28:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acd2d238

media-libs/aubio: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 media-libs/aubio/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-libs/aubio/metadata.xml b/media-libs/aubio/metadata.xml
index 90fd530387b5..74ba2a643f99 100644
--- a/media-libs/aubio/metadata.xml
+++ b/media-libs/aubio/metadata.xml
@@ -1,11 +1,14 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-
+   
proau...@gentoo.org
Gentoo ProAudio Project


Compile in double precision 
mode.

+   
+   aubio/aubio
+   
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/

2022-02-28 Thread Alexis Ballier
commit: af459c88b6c5fdef8fca4d3c5a33aed8d0ff16a5
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Feb 28 09:55:25 2022 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Feb 28 10:05:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af459c88

media-libs/aubio: ffmpeg5 fix

from upstream

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexis Ballier  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r1.ebuild |  1 +
 media-libs/aubio/files/ffmpeg5.patch   | 28 
 2 files changed, 29 insertions(+)

diff --git a/media-libs/aubio/aubio-0.4.9-r1.ebuild 
b/media-libs/aubio/aubio-0.4.9-r1.ebuild
index 579361fe63c9..48d70ea69fd3 100644
--- a/media-libs/aubio/aubio-0.4.9-r1.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r1.ebuild
@@ -51,6 +51,7 @@ PYTHON_SRC_DIR="${S}"
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.4.9-docdir.patch
+   "${FILESDIR}"/ffmpeg5.patch
 )
 
 src_prepare() {

diff --git a/media-libs/aubio/files/ffmpeg5.patch 
b/media-libs/aubio/files/ffmpeg5.patch
new file mode 100644
index ..e4901ad69c01
--- /dev/null
+++ b/media-libs/aubio/files/ffmpeg5.patch
@@ -0,0 +1,28 @@
+From 8a05420e5dd8c7b8b2447f82dc919765876511b3 Mon Sep 17 00:00:00 2001
+From: Paul Brossier 
+Date: Tue, 25 Jan 2022 18:30:27 +0100
+Subject: [PATCH 1/1] [source_avcodec] define FF_API_LAVF_AVCTX for libavcodec
+ > 59, thx @berolinux (closes gh-353)
+
+---
+ src/io/source_avcodec.c | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/io/source_avcodec.c b/src/io/source_avcodec.c
+index e0ae93b5..1421bd9a 100644
+--- a/src/io/source_avcodec.c
 b/src/io/source_avcodec.c
+@@ -68,6 +68,10 @@
+ #define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE
+ #endif
+ 
++#if LIBAVCODEC_VERSION_MAJOR >= 59
++#define FF_API_LAVF_AVCTX 1
++#endif
++
+ struct _aubio_source_avcodec_t {
+   uint_t hop_size;
+   uint_t samplerate;
+-- 
+2.11.0
+



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2022-02-01 Thread Michał Górny
commit: 358d603c4cc63d380eb61599143360b2b796d85c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb  1 18:42:36 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb  1 18:51:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=358d603c

media-libs/aubio: Remove DISTUTILS_USE_SETUPTOOLS

DISTUTILS_USE_SETUPTOOLS is not used with DISTUTILS_OPTIONAL, and now it
triggers a QA warning.  Remove it.

Signed-off-by: Michał Górny  gentoo.org>

 media-libs/aubio/aubio-0.4.9-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.9-r1.ebuild 
b/media-libs/aubio/aubio-0.4.9-r1.ebuild
index 33eae76c51c9..579361fe63c9 100644
--- a/media-libs/aubio/aubio-0.4.9-r1.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_SETUPTOOLS=no
 PYTHON_COMPAT=( python3_{7..9} )
 PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2021-06-30 Thread Miroslav Šulc
commit: ca7094e068fd08f0e07d4be0f376e25d00b44e3a
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Wed Jun 30 17:42:53 2021 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Wed Jun 30 17:42:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca7094e0

media-libs/aubio: fixed DISTUTILS_USE_SETUPTOOLS

Closes: https://bugs.gentoo.org/799326
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/aubio/{aubio-0.4.9.ebuild => aubio-0.4.9-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.9.ebuild 
b/media-libs/aubio/aubio-0.4.9-r1.ebuild
similarity index 97%
rename from media-libs/aubio/aubio-0.4.9.ebuild
rename to media-libs/aubio/aubio-0.4.9-r1.ebuild
index 3e1e243b1c3..33eae76c51c 100644
--- a/media-libs/aubio/aubio-0.4.9.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_SETUPTOOLS=rdepend
+DISTUTILS_USE_SETUPTOOLS=no
 PYTHON_COMPAT=( python3_{7..9} )
 PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2020-11-23 Thread Lars Wendler
commit: f9e8b75d6f480fc4461b6e4c460471ec4ac1b292
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Nov 23 23:09:32 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Nov 23 23:09:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e8b75d

media-libs/aubio: Added python3_{8,9} support

Added dev-python/sphinx to USE="doc" dependency

Closes: https://bugs.gentoo.org/729638
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 media-libs/aubio/aubio-0.4.9.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.9.ebuild 
b/media-libs/aubio/aubio-0.4.9.ebuild
index e7905fd67a9..d5ac80ce71d 100644
--- a/media-libs/aubio/aubio-0.4.9.ebuild
+++ b/media-libs/aubio/aubio-0.4.9.ebuild
@@ -4,7 +4,8 @@
 EAPI=6
 
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{6,7} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6..9} )
 PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils
 
@@ -40,7 +41,10 @@ DEPEND="${RDEPEND}
${PYTHON_DEPS}
app-text/txt2man
virtual/pkgconfig
-   doc? ( app-doc/doxygen )
+   doc? (
+   app-doc/doxygen
+   dev-python/sphinx
+   )
 "
 
 DOCS=( AUTHORS ChangeLog README.md )



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/

2020-07-15 Thread Sam James
commit: 3fada402b4218b1e0e6e731900d6f889f1939d82
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 16 00:29:08 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 16 01:01:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fada402

media-libs/aubio: security cleanup

Bug: https://bugs.gentoo.org/711226
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 media-libs/aubio/Manifest   |   2 -
 media-libs/aubio/aubio-0.4.7-r1.ebuild  | 123 ---
 media-libs/aubio/aubio-0.4.8.ebuild | 124 
 media-libs/aubio/files/aubio-0.4.8-docdir.patch |  20 
 4 files changed, 269 deletions(-)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index 77196db1fd3..cafe77d9791 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1,3 +1 @@
-DIST aubio-0.4.7.tar.bz2 372173 BLAKE2B 
544239b215dd87d4cf4a6ed6b5dd856411d0a3f1c3242e3e1077fa0780160785a9934884a1f0d0dc80fe21b1d417bc3800db59842ec300a4c29d75b7942cba05
 SHA512 
30c614f2b502b993df28d4746a99421fe0aada33c98c42ea19c271554b29b360cb4d4f6650c1b1da508da4bc341348c5944cb452f69b2bf354ca6348f84de260
-DIST aubio-0.4.8.tar.bz2 387933 BLAKE2B 
e30d0ce97360376edf8eba895dc3040157a139c843ef9d6bf0483ffb750916eaccf9e28b8d80dcc0034572cca4f08479e4db44468c96206ce7b60a2fa9600634
 SHA512 
e58b32beda36865a5243ec7ed4647cf96e3652a25fd319fc697c08f93487f895070dc66b830700b40b879220c2e3a53b8cdc255ce2e34770ba5e34b36a4f51b4
 DIST aubio-0.4.9.tar.bz2 397604 BLAKE2B 
b849d92678ea8fb20e17921b1a61fdc85a84d4a528acfefa3278169ab5f7fe935217ec37dd9f931202f0f0a1fd3a9518372afbce34cc2dd3ca30c6b4e5d9a301
 SHA512 
0cb81bb4b15051db3f3f4d160d500af56fdfb237e0a74e3f366f53c2870030aa0a7cee8469a611a9694c36b8866d3d42ffb48241c999de08f3fee43e6d903130

diff --git a/media-libs/aubio/aubio-0.4.7-r1.ebuild 
b/media-libs/aubio/aubio-0.4.7-r1.ebuild
deleted file mode 100644
index 977ee51acd4..000
--- a/media-libs/aubio/aubio-0.4.7-r1.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE='threads(+)'
-inherit distutils-r1 waf-utils
-
-DESCRIPTION="Library for audio labelling"
-HOMEPAGE="https://aubio.org/";
-SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0/5"
-KEYWORDS="amd64 ~ppc ppc64 sparc x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ffmpeg? ( >=media-video/ffmpeg-2.6:0= )
-   fftw? ( sci-libs/fftw:3.0= )
-   jack? ( virtual/jack )
-   libsamplerate? ( media-libs/libsamplerate )
-   python? (
-   ${PYTHON_DEPS}
-   || (
-   dev-python/numpy-python2[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   )
-   )
-   sndfile? ( media-libs/libsndfile )
-"
-DEPEND="${RDEPEND}
-   ${PYTHON_DEPS}
-   app-text/txt2man
-   virtual/pkgconfig
-   doc? ( app-doc/doxygen )
-"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   ?? ( double-precision libsamplerate )
-"
-
-DOCS=( AUTHORS ChangeLog README.md )
-PYTHON_SRC_DIR="${S}"
-
-src_prepare() {
-   default
-   sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
-
-   if ! use test; then
-   sed -e "/bld.*tests/d" -i wscript || die
-   fi
-}
-
-src_configure() {
-   python_setup
-   local mywafconfargs=(
-   --enable-complex
-   --docdir="${EPREFIX}"/usr/share/doc/${PF}
-   $(use_enable double-precision double)
-   $(use_enable fftw fftw3)
-   $(use_enable ffmpeg avcodec)
-   $(use_enable jack)
-   $(use_enable libsamplerate samplerate)
-   $(use_enable sndfile)
-   )
-   use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) )
-
-   waf-utils_src_configure "${mywafconfargs[@]}"
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_configure
-   fi
-}
-
-src_compile() {
-   waf-utils_src_compile --notests
-
-   if use doc; then
-   cd "${S}"/doc || die
-   emake dirhtml
-   fi
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_compile
-   fi
-}
-
-src_test() {
-   waf-utils_src_compile --alltests
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_test
-   fi
-}
-
-src_install() {
-   waf-utils_src_install
-
-   if use examples; then
-   # install dist_noinst_SCRIPTS from Makefile.am
-   dodoc -r examples
-   fi
-
-   if use python ; then
-   cd "${

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2020-06-24 Thread Sergei Trofimovich
commit: 3cae4f79ec4c34840f0fb8485b5de5e552dc3c24
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Jun 24 15:34:01 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jun 24 17:22:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cae4f79

media-libs/aubio: stable 0.4.9 for sparc, bug #711226

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/aubio/aubio-0.4.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9.ebuild 
b/media-libs/aubio/aubio-0.4.9.ebuild
index 6bf7e405254..e7905fd67a9 100644
--- a/media-libs/aubio/aubio-0.4.9.ebuild
+++ b/media-libs/aubio/aubio-0.4.9.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="amd64 ~ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~ppc ppc64 sparc x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2020-06-21 Thread Agostino Sarubbo
commit: 485b42c02a1ac54bc1482d892c1572e88525378e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 22 06:55:07 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 22 06:56:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=485b42c0

media-libs/aubio: amd64 stable wrt bug #711226

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/aubio/aubio-0.4.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9.ebuild 
b/media-libs/aubio/aubio-0.4.9.ebuild
index 7022ebc1eb5..6bf7e405254 100644
--- a/media-libs/aubio/aubio-0.4.9.ebuild
+++ b/media-libs/aubio/aubio-0.4.9.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="~amd64 ~ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~ppc ppc64 ~sparc x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2020-06-21 Thread Agostino Sarubbo
commit: 2b6b08b236f161560473dffe62c596b778c05842
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 21 17:07:41 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 21 17:07:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6b08b2

media-libs/aubio: ppc64 stable wrt bug #711226

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/aubio/aubio-0.4.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.9.ebuild 
b/media-libs/aubio/aubio-0.4.9.ebuild
index 575a7ff300a..7022ebc1eb5 100644
--- a/media-libs/aubio/aubio-0.4.9.ebuild
+++ b/media-libs/aubio/aubio-0.4.9.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~amd64 ~ppc ppc64 ~sparc x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2020-06-21 Thread Thomas Deutschmann
commit: 701b292cd636514c6f199006953443ecfada373f
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Jun 21 15:16:09 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Jun 21 15:16:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=701b292c

media-libs/aubio: fix USE=doc

Closes: https://bugs.gentoo.org/679184
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/aubio/aubio-0.4.9.ebuild | 29 +
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.9.ebuild 
b/media-libs/aubio/aubio-0.4.9.ebuild
index 786cb94ce5e..575a7ff300a 100644
--- a/media-libs/aubio/aubio-0.4.9.ebuild
+++ b/media-libs/aubio/aubio-0.4.9.ebuild
@@ -16,6 +16,12 @@ LICENSE="GPL-3"
 SLOT="0/5"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   ?? ( double-precision libsamplerate )
+   doc? ( python )
+"
+
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -29,15 +35,13 @@ RDEPEND="
)
sndfile? ( media-libs/libsndfile )
 "
+
 DEPEND="${RDEPEND}
${PYTHON_DEPS}
app-text/txt2man
virtual/pkgconfig
doc? ( app-doc/doxygen )
 "
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   ?? ( double-precision libsamplerate )
-"
 
 DOCS=( AUTHORS ChangeLog README.md )
 PYTHON_SRC_DIR="${S}"
@@ -48,8 +52,11 @@ PATCHES=(
 
 src_prepare() {
default
+
sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
 
+   sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die
+
if ! use test; then
sed -e "/bld.*tests/d" -i wscript || die
fi
@@ -81,14 +88,20 @@ src_configure() {
 src_compile() {
waf-utils_src_compile --notests
 
-   if use doc; then
-   cd "${S}"/doc || die
-   emake dirhtml
-   fi
-
if use python ; then
cd "${PYTHON_SRC_DIR}" || die
distutils-r1_src_compile
+
+   if use doc ; then
+   # No API function like distutils_install_for_testing 
available for this use case
+   pushd "${S}"/doc &>/dev/null || die
+   python_setup
+   LD_LIBRARY_PATH="${S}/build/src" \
+   
PYTHONPATH="${S%%/}-${EPYTHON/./_}/lib${PYTHONPATH:+:${PYTHONPATH}}" \
+   emake dirhtml
+   fi
+
+   cd "${S}" || die
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2020-04-25 Thread Mikle Kolyada
commit: f3cf14f2b161b6a90062ec024bf321726187c5c5
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr 25 19:23:51 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr 25 19:23:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3cf14f2

media-libs/aubio: migrate from libav

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada  gentoo.org>

 media-libs/aubio/aubio-0.4.7-r1.ebuild | 7 ++-
 media-libs/aubio/aubio-0.4.8.ebuild| 7 ++-
 media-libs/aubio/aubio-0.4.9.ebuild| 7 ++-
 3 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.7-r1.ebuild 
b/media-libs/aubio/aubio-0.4.7-r1.ebuild
index 544e1262ead..977ee51acd4 100644
--- a/media-libs/aubio/aubio-0.4.7-r1.ebuild
+++ b/media-libs/aubio/aubio-0.4.7-r1.ebuild
@@ -15,14 +15,11 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 LICENSE="GPL-3"
 SLOT="0/5"
 KEYWORDS="amd64 ~ppc ppc64 sparc x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python test"
+IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   ffmpeg? (
-   !libav? ( >=media-video/ffmpeg-2.6:0= )
-   libav? ( >=media-video/libav-9:0= )
-   )
+   ffmpeg? ( >=media-video/ffmpeg-2.6:0= )
fftw? ( sci-libs/fftw:3.0= )
jack? ( virtual/jack )
libsamplerate? ( media-libs/libsamplerate )

diff --git a/media-libs/aubio/aubio-0.4.8.ebuild 
b/media-libs/aubio/aubio-0.4.8.ebuild
index c0e64da911d..cb37129ec5c 100644
--- a/media-libs/aubio/aubio-0.4.8.ebuild
+++ b/media-libs/aubio/aubio-0.4.8.ebuild
@@ -15,14 +15,11 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 LICENSE="GPL-3"
 SLOT="0/5"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python test"
+IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   ffmpeg? (
-   !libav? ( >=media-video/ffmpeg-2.6:0= )
-   libav? ( >=media-video/libav-9:0= )
-   )
+   ffmpeg? (  >=media-video/ffmpeg-2.6:0= )
fftw? ( sci-libs/fftw:3.0= )
jack? ( virtual/jack )
libsamplerate? ( media-libs/libsamplerate )

diff --git a/media-libs/aubio/aubio-0.4.9.ebuild 
b/media-libs/aubio/aubio-0.4.9.ebuild
index b03de834c4f..117ce73c4de 100644
--- a/media-libs/aubio/aubio-0.4.9.ebuild
+++ b/media-libs/aubio/aubio-0.4.9.ebuild
@@ -15,14 +15,11 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 LICENSE="GPL-3"
 SLOT="0/5"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python test"
+IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   ffmpeg? (
-   !libav? ( >=media-video/ffmpeg-2.6:0= )
-   libav? ( >=media-video/libav-9:0= )
-   )
+   ffmpeg? ( >=media-video/ffmpeg-2.6:0= )
fftw? ( sci-libs/fftw:3.0= )
jack? ( virtual/jack )
libsamplerate? ( media-libs/libsamplerate )



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2020-01-22 Thread Michał Górny
commit: 1eddbb7597a5f4495d657914937ddb03820c614b
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 22 21:45:22 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 22 21:49:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eddbb75

media-libs/aubio: Revbump post dep change

Signed-off-by: Michał Górny  gentoo.org>

 media-libs/aubio/{aubio-0.4.7.ebuild => aubio-0.4.7-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.7.ebuild 
b/media-libs/aubio/aubio-0.4.7-r1.ebuild
similarity index 100%
rename from media-libs/aubio/aubio-0.4.7.ebuild
rename to media-libs/aubio/aubio-0.4.7-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2020-01-15 Thread Michał Górny
commit: f7b62181e1a4a8d2f24f15e07ee4cdc201f43d31
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 16 06:12:19 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 16 06:37:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7b62181

media-libs/aubio: Permit numpy-python2

Signed-off-by: Michał Górny  gentoo.org>

 media-libs/aubio/aubio-0.4.7.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.7.ebuild 
b/media-libs/aubio/aubio-0.4.7.ebuild
index 25b51776ece..544e1262ead 100644
--- a/media-libs/aubio/aubio-0.4.7.ebuild
+++ b/media-libs/aubio/aubio-0.4.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -28,7 +28,10 @@ RDEPEND="
libsamplerate? ( media-libs/libsamplerate )
python? (
${PYTHON_DEPS}
-   dev-python/numpy[${PYTHON_USEDEP}]
+   || (
+   dev-python/numpy-python2[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   )
)
sndfile? ( media-libs/libsndfile )
 "



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2020-01-15 Thread Michał Górny
commit: 59ff8a1c12fd7e19ccb8436688ef222b774a164a
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 16 06:13:02 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 16 06:37:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ff8a1c

media-libs/aubio: Remove Python 2

Signed-off-by: Michał Górny  gentoo.org>

 media-libs/aubio/aubio-0.4.8.ebuild | 2 +-
 media-libs/aubio/aubio-0.4.9.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.8.ebuild 
b/media-libs/aubio/aubio-0.4.8.ebuild
index dbdea5d92c6..c0e64da911d 100644
--- a/media-libs/aubio/aubio-0.4.8.ebuild
+++ b/media-libs/aubio/aubio-0.4.8.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( python3_{6,7} )
 PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils
 

diff --git a/media-libs/aubio/aubio-0.4.9.ebuild 
b/media-libs/aubio/aubio-0.4.9.ebuild
index 4406674b7a9..b03de834c4f 100644
--- a/media-libs/aubio/aubio-0.4.9.ebuild
+++ b/media-libs/aubio/aubio-0.4.9.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( python3_{6,7} )
 PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2019-02-20 Thread Lars Wendler
commit: 822c965955bc7ef3a9edf5eb05611bd6de3f6099
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Feb 20 15:08:03 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Feb 20 15:08:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=822c9659

media-libs/aubio: Fixed build with USE="-doc"

Closes: https://bugs.gentoo.org/678220
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 media-libs/aubio/aubio-0.4.9.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/aubio/aubio-0.4.9.ebuild 
b/media-libs/aubio/aubio-0.4.9.ebuild
index 89c6112ddc2..657b2bcec03 100644
--- a/media-libs/aubio/aubio-0.4.9.ebuild
+++ b/media-libs/aubio/aubio-0.4.9.ebuild
@@ -62,6 +62,7 @@ src_configure() {
local mywafconfargs=(
--enable-complex
--docdir="${EPREFIX}"/usr/share/doc/${PF}
+   $(use_enable doc docs)
$(use_enable double-precision double)
$(use_enable fftw fftw3)
$(use_enable ffmpeg avcodec)



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/, media-libs/aubio/files/

2019-02-13 Thread Lars Wendler
commit: d4dcf8d9423be2fa4053c69ec078e4063dc3e5bb
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Feb 14 02:20:55 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Feb 14 02:58:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4dcf8d9

media-libs/aubio: Bump to version 0.4.9

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 media-libs/aubio/Manifest   |   1 +
 media-libs/aubio/aubio-0.4.9.ebuild | 126 
 media-libs/aubio/files/aubio-0.4.9-docdir.patch |  20 
 3 files changed, 147 insertions(+)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index 73c0139fa3e..77196db1fd3 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1,2 +1,3 @@
 DIST aubio-0.4.7.tar.bz2 372173 BLAKE2B 
544239b215dd87d4cf4a6ed6b5dd856411d0a3f1c3242e3e1077fa0780160785a9934884a1f0d0dc80fe21b1d417bc3800db59842ec300a4c29d75b7942cba05
 SHA512 
30c614f2b502b993df28d4746a99421fe0aada33c98c42ea19c271554b29b360cb4d4f6650c1b1da508da4bc341348c5944cb452f69b2bf354ca6348f84de260
 DIST aubio-0.4.8.tar.bz2 387933 BLAKE2B 
e30d0ce97360376edf8eba895dc3040157a139c843ef9d6bf0483ffb750916eaccf9e28b8d80dcc0034572cca4f08479e4db44468c96206ce7b60a2fa9600634
 SHA512 
e58b32beda36865a5243ec7ed4647cf96e3652a25fd319fc697c08f93487f895070dc66b830700b40b879220c2e3a53b8cdc255ce2e34770ba5e34b36a4f51b4
+DIST aubio-0.4.9.tar.bz2 397604 BLAKE2B 
b849d92678ea8fb20e17921b1a61fdc85a84d4a528acfefa3278169ab5f7fe935217ec37dd9f931202f0f0a1fd3a9518372afbce34cc2dd3ca30c6b4e5d9a301
 SHA512 
0cb81bb4b15051db3f3f4d160d500af56fdfb237e0a74e3f366f53c2870030aa0a7cee8469a611a9694c36b8866d3d42ffb48241c999de08f3fee43e6d903130

diff --git a/media-libs/aubio/aubio-0.4.9.ebuild 
b/media-libs/aubio/aubio-0.4.9.ebuild
new file mode 100644
index 000..89c6112ddc2
--- /dev/null
+++ b/media-libs/aubio/aubio-0.4.9.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
+PYTHON_REQ_USE='threads(+)'
+inherit distutils-r1 waf-utils
+
+DESCRIPTION="Library for audio labelling"
+HOMEPAGE="https://aubio.org/";
+SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0/5"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python test"
+
+RDEPEND="
+   ffmpeg? (
+   !libav? ( >=media-video/ffmpeg-2.6:0= )
+   libav? ( >=media-video/libav-9:0= )
+   )
+   fftw? ( sci-libs/fftw:3.0= )
+   jack? ( virtual/jack )
+   libsamplerate? ( media-libs/libsamplerate )
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   )
+   sndfile? ( media-libs/libsndfile )
+"
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   app-text/txt2man
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen )
+"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   ?? ( double-precision libsamplerate )
+"
+
+DOCS=( AUTHORS ChangeLog README.md )
+PYTHON_SRC_DIR="${S}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.4.9-docdir.patch
+)
+
+src_prepare() {
+   default
+   sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
+
+   if ! use test; then
+   sed -e "/bld.*tests/d" -i wscript || die
+   fi
+}
+
+src_configure() {
+   python_setup
+   local mywafconfargs=(
+   --enable-complex
+   --docdir="${EPREFIX}"/usr/share/doc/${PF}
+   $(use_enable double-precision double)
+   $(use_enable fftw fftw3)
+   $(use_enable ffmpeg avcodec)
+   $(use_enable jack)
+   $(use_enable libsamplerate samplerate)
+   $(use_enable sndfile)
+   )
+   use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) )
+
+   waf-utils_src_configure "${mywafconfargs[@]}"
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_configure
+   fi
+}
+
+src_compile() {
+   waf-utils_src_compile --notests
+
+   if use doc; then
+   cd "${S}"/doc || die
+   emake dirhtml
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_test() {
+   waf-utils_src_compile --alltests
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_test
+   fi
+}
+
+src_install() {
+   waf-utils_src_install
+
+   if use examples; then
+   # install dist_noinst_SCRIPTS from Makefile.am
+   dodoc -r examples
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   DOCS="" distutils-r1_src_install
+

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/, media-libs/aubio/files/

2018-12-03 Thread Lars Wendler
commit: 8368600a28901b37e357f73400f952aad2f137b8
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Dec  3 12:38:07 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Dec  3 12:38:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8368600a

media-libs/aubio: Bump to version 0.4.8

- Fixed docdir install path
- added python3 support

Closes: https://bugs.gentoo.org/655618
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 media-libs/aubio/Manifest   |   1 +
 media-libs/aubio/aubio-0.4.8.ebuild | 126 
 media-libs/aubio/files/aubio-0.4.8-docdir.patch |  20 
 3 files changed, 147 insertions(+)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index b4ed4a63e48..73c0139fa3e 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1 +1,2 @@
 DIST aubio-0.4.7.tar.bz2 372173 BLAKE2B 
544239b215dd87d4cf4a6ed6b5dd856411d0a3f1c3242e3e1077fa0780160785a9934884a1f0d0dc80fe21b1d417bc3800db59842ec300a4c29d75b7942cba05
 SHA512 
30c614f2b502b993df28d4746a99421fe0aada33c98c42ea19c271554b29b360cb4d4f6650c1b1da508da4bc341348c5944cb452f69b2bf354ca6348f84de260
+DIST aubio-0.4.8.tar.bz2 387933 BLAKE2B 
e30d0ce97360376edf8eba895dc3040157a139c843ef9d6bf0483ffb750916eaccf9e28b8d80dcc0034572cca4f08479e4db44468c96206ce7b60a2fa9600634
 SHA512 
e58b32beda36865a5243ec7ed4647cf96e3652a25fd319fc697c08f93487f895070dc66b830700b40b879220c2e3a53b8cdc255ce2e34770ba5e34b36a4f51b4

diff --git a/media-libs/aubio/aubio-0.4.8.ebuild 
b/media-libs/aubio/aubio-0.4.8.ebuild
new file mode 100644
index 000..f75c644d475
--- /dev/null
+++ b/media-libs/aubio/aubio-0.4.8.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
+PYTHON_REQ_USE='threads(+)'
+inherit distutils-r1 waf-utils
+
+DESCRIPTION="Library for audio labelling"
+HOMEPAGE="https://aubio.org/";
+SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0/5"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python test"
+
+RDEPEND="
+   ffmpeg? (
+   !libav? ( >=media-video/ffmpeg-2.6:0= )
+   libav? ( >=media-video/libav-9:0= )
+   )
+   fftw? ( sci-libs/fftw:3.0= )
+   jack? ( virtual/jack )
+   libsamplerate? ( media-libs/libsamplerate )
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   )
+   sndfile? ( media-libs/libsndfile )
+"
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   app-text/txt2man
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen )
+"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   ?? ( double-precision libsamplerate )
+"
+
+DOCS=( AUTHORS ChangeLog README.md )
+PYTHON_SRC_DIR="${S}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.4.8-docdir.patch
+)
+
+src_prepare() {
+   default
+   sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
+
+   if ! use test; then
+   sed -e "/bld.*tests/d" -i wscript || die
+   fi
+}
+
+src_configure() {
+   python_setup
+   local mywafconfargs=(
+   --enable-complex
+   --docdir="${EPREFIX}"/usr/share/doc/${PF}
+   $(use_enable double-precision double)
+   $(use_enable fftw fftw3)
+   $(use_enable ffmpeg avcodec)
+   $(use_enable jack)
+   $(use_enable libsamplerate samplerate)
+   $(use_enable sndfile)
+   )
+   use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) )
+
+   waf-utils_src_configure "${mywafconfargs[@]}"
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_configure
+   fi
+}
+
+src_compile() {
+   waf-utils_src_compile --notests
+
+   if use doc; then
+   cd "${S}"/doc || die
+   emake dirhtml
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_test() {
+   waf-utils_src_compile --alltests
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_test
+   fi
+}
+
+src_install() {
+   waf-utils_src_install
+
+   if use examples; then
+   # install dist_noinst_SCRIPTS from Makefile.am
+   dodoc -r examples
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   DOCS="" distutils-r1_src_install
+   newdoc python/README.md README.python
+   fi
+
+   if use doc; then
+   dodoc doc/*.txt
+   docinto html
+   dodoc -r doc/_build/dirhtml/.
+   fi
+
+   find

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/, media-libs/aubio/files/

2018-10-06 Thread Andreas Sturmlechner
commit: 640bb6cccb3c071724ae448942c4e37e9d6821f0
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Oct  6 19:33:01 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Oct  6 19:45:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=640bb6cc

media-libs/aubio: Security cleanup

Bug: https://bugs.gentoo.org/667510
Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-libs/aubio/Manifest |   3 -
 media-libs/aubio/aubio-0.4.1-r1.ebuild| 104 
 media-libs/aubio/aubio-0.4.2-r1.ebuild| 105 
 media-libs/aubio/aubio-0.4.6.ebuild   | 111 --
 media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch |  22 -
 media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch  |  13 ---
 6 files changed, 358 deletions(-)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index 6a455a6bc03..b4ed4a63e48 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1,4 +1 @@
-DIST aubio-0.4.1.tar.bz2 288136 BLAKE2B 
ba7368fab21fec73dc555ea0d7291eea010a415d8bc77601337cf311277f3c82564c2f021b971a4117a3f99ab69e7a61e55b8ee488ca24b9b5319ab4a00a3a6b
 SHA512 
f36800f1a0cbe72509e05d15d79759ed25975e92701804597ed4c9d93e27d5e7b908e0aa65819ce763882945123ea174a0825c7aacf9f9494f56d72de5b8308c
-DIST aubio-0.4.2.tar.bz2 304216 BLAKE2B 
aab7e55d580105e6180503503ae2970d150d86e445d5c1b10d3f39c8cdf7496d0c280a57a2fc7ad3ea5142996d56c53cd2e1c6f736fb1a98b9b142438c919e04
 SHA512 
b57b6d147b305a264f0055726f76a8452f784b556a7fda911f056adbedd2855048e93c0e21b9f359e3f442f1542189aff0c214dd85141e2e06048a07f47703ff
-DIST aubio-0.4.6.tar.bz2 363016 BLAKE2B 
3847ed02b7d64d9796bd1f5a06044d945f5859ab87a762978bf2b0b6650cc0e19c9b8eec99a793e14dd25c06f66d2bffd453ecca824fbc5f47700fda7f78854b
 SHA512 
0e5cab0c88d51f2fb70c0d85e1c067a7b3758fbffdbd5026686726379aa36203adb63ed3f8e40c83ea02930e0ffc4e6c246803f1d518d448d47a01984678e77d
 DIST aubio-0.4.7.tar.bz2 372173 BLAKE2B 
544239b215dd87d4cf4a6ed6b5dd856411d0a3f1c3242e3e1077fa0780160785a9934884a1f0d0dc80fe21b1d417bc3800db59842ec300a4c29d75b7942cba05
 SHA512 
30c614f2b502b993df28d4746a99421fe0aada33c98c42ea19c271554b29b360cb4d4f6650c1b1da508da4bc341348c5944cb452f69b2bf354ca6348f84de260

diff --git a/media-libs/aubio/aubio-0.4.1-r1.ebuild 
b/media-libs/aubio/aubio-0.4.1-r1.ebuild
deleted file mode 100644
index 59a64870fc8..000
--- a/media-libs/aubio/aubio-0.4.1-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE='threads(+)'
-
-inherit distutils-r1 waf-utils multilib eutils
-
-DESCRIPTION="Library for audio labelling"
-HOMEPAGE="https://aubio.org/";
-SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ppc64 sparc x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile 
python"
-
-RDEPEND="
-   ffmpeg? ( virtual/ffmpeg )
-   fftw? ( sci-libs/fftw:3.0 )
-   jack? ( virtual/jack )
-   libsamplerate? ( media-libs/libsamplerate )
-   python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
-   sndfile? ( media-libs/libsndfile )"
-DEPEND="${RDEPEND}
-   ${PYTHON_DEPS}
-   virtual/pkgconfig
-   app-text/txt2man
-   doc? ( app-doc/doxygen )"
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-DOCS=( AUTHORS ChangeLog README.md )
-PYTHON_SRC_DIR="${S}/python"
-
-src_prepare() {
-   sed -i -e "s:\/lib:\/$(get_libdir):" src/wscript_build || die
-   sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
-   has_version '>=media-video/ffmpeg-2.8' && epatch 
"${FILESDIR}/${PN}-0.4.1-ffmpeg29.patch"
-}
-
-src_configure() {
-   python_setup
-   waf-utils_src_configure \
-   --enable-complex \
-   --docdir="${EPREFIX}"/usr/share/doc/${PF} \
-   $(use_enable double-precision double) \
-   $(use_enable fftw fftw3f) \
-   $(use_enable fftw fftw3) \
-   $(use_enable ffmpeg avcodec) \
-   $(use_enable jack) \
-   $(use_enable libsamplerate samplerate) \
-   $(use_enable sndfile)
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_configure
-   fi
-}
-
-src_compile() {
-   waf-utils_src_compile --notests
-
-   if use doc; then
-   cd "${S}"/doc || die
-   doxygen full.cfg || die
-   fi
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_compile
-   fi
-}
-
-src_test() {
-   waf-utils_src_compile --alltests
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_test
-   fi
-}
-

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2018-10-06 Thread Matt Turner
commit: 0df15a44020ee175a40317a662280e73597e9513
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Oct  6 16:13:24 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Oct  6 16:47:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df15a44

media-libs/aubio-0.4.7: ppc64 stable, bug 667510

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/aubio/aubio-0.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.7.ebuild 
b/media-libs/aubio/aubio-0.4.7.ebuild
index 8929776a5d5..8b392873a27 100644
--- a/media-libs/aubio/aubio-0.4.7.ebuild
+++ b/media-libs/aubio/aubio-0.4.7.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="amd64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 ~ppc ppc64 sparc x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2018-10-04 Thread Sergei Trofimovich
commit: 897e18d0a3bae9417fd6c30b5854b7cd61b394ac
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Oct  4 20:35:58 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Oct  4 20:55:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=897e18d0

media-libs/aubio: stable 0.4.7 for sparc, bug #667510

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/aubio/aubio-0.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.7.ebuild 
b/media-libs/aubio/aubio-0.4.7.ebuild
index 06aae75532e..8929776a5d5 100644
--- a/media-libs/aubio/aubio-0.4.7.ebuild
+++ b/media-libs/aubio/aubio-0.4.7.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~ppc ~ppc64 sparc x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2018-10-04 Thread Mikle Kolyada
commit: 25bf37c7b7a2f9e9717abde3cfa25e8a5d68336e
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Oct  4 09:00:08 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Oct  4 09:00:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25bf37c7

media-libs/aubio: amd64 stable wrt bug #667510

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 media-libs/aubio/aubio-0.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.7.ebuild 
b/media-libs/aubio/aubio-0.4.7.ebuild
index 7e59a4289bd..06aae75532e 100644
--- a/media-libs/aubio/aubio-0.4.7.ebuild
+++ b/media-libs/aubio/aubio-0.4.7.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2018-10-01 Thread Thomas Deutschmann
commit: c9cf86177f0e1aadc26476099252e9e397bef75e
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Oct  1 22:37:56 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Oct  1 22:42:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9cf8617

media-libs/aubio: x86 stable (bug #667510)

Signed-off-by: Thomas Deutschmann  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-libs/aubio/aubio-0.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.7.ebuild 
b/media-libs/aubio/aubio-0.4.7.ebuild
index c7b767af9eb..7e59a4289bd 100644
--- a/media-libs/aubio/aubio-0.4.7.ebuild
+++ b/media-libs/aubio/aubio-0.4.7.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86"
 IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2018-10-01 Thread Andreas Sturmlechner
commit: 4f613c9fe28398d60b4329e2e9e64dd5316579fd
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Oct  1 20:07:08 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Oct  1 20:08:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f613c9f

media-libs/aubio: Disable tests for real

Tests were always built and run regardless. At least disable them
if not requested.

Bug: https://bugs.gentoo.org/651956
Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-libs/aubio/aubio-0.4.7.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.7.ebuild 
b/media-libs/aubio/aubio-0.4.7.ebuild
index a7d7db9a590..c7b767af9eb 100644
--- a/media-libs/aubio/aubio-0.4.7.ebuild
+++ b/media-libs/aubio/aubio-0.4.7.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 LICENSE="GPL-3"
 SLOT="0/5"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python"
+IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python test"
 
 RDEPEND="
ffmpeg? (
@@ -46,7 +46,11 @@ PYTHON_SRC_DIR="${S}"
 
 src_prepare() {
default
-   sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
+   sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
+
+   if ! use test; then
+   sed -e "/bld.*tests/d" -i wscript || die
+   fi
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2018-10-01 Thread Andreas Sturmlechner
commit: 7674f62e279bbf9d479859f802bb6baa2f9561be
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Oct  1 19:16:47 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Oct  1 20:08:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7674f62e

media-libs/aubio: Drop unused multilib,eutils, add missing slot op

One line per dep.

Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-libs/aubio/aubio-0.4.7.ebuild | 13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.7.ebuild 
b/media-libs/aubio/aubio-0.4.7.ebuild
index 9cb10b60097..0592ffa0a50 100644
--- a/media-libs/aubio/aubio-0.4.7.ebuild
+++ b/media-libs/aubio/aubio-0.4.7.ebuild
@@ -6,8 +6,7 @@ EAPI=6
 DISTUTILS_OPTIONAL=1
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE='threads(+)'
-
-inherit distutils-r1 waf-utils multilib eutils
+inherit distutils-r1 waf-utils
 
 DESCRIPTION="Library for audio labelling"
 HOMEPAGE="https://aubio.org/";
@@ -23,14 +22,16 @@ RDEPEND="
!libav? ( >=media-video/ffmpeg-2.6:0= )
libav? ( >=media-video/libav-9:0= )
)
-   fftw? ( sci-libs/fftw:3.0 )
+   fftw? ( sci-libs/fftw:3.0= )
jack? ( virtual/jack )
libsamplerate? ( media-libs/libsamplerate )
-   python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/numpy[${PYTHON_USEDEP}]
+   )
sndfile? ( media-libs/libsndfile )
 "
-DEPEND="
-   ${RDEPEND}
+DEPEND="${RDEPEND}
${PYTHON_DEPS}
app-text/txt2man
virtual/pkgconfig



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2018-10-01 Thread Andreas Sturmlechner
commit: 19c3f586c801c32054718525defffa129cadf9bd
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Oct  1 19:31:48 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Oct  1 20:08:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c3f586

media-libs/aubio: Fix USE flag conflicts

Thanks-to: ak <4nykey  gmail.com>
Closes: https://bugs.gentoo.org/605750
Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-libs/aubio/aubio-0.4.7.ebuild | 25 +++--
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.7.ebuild 
b/media-libs/aubio/aubio-0.4.7.ebuild
index 0592ffa0a50..a7d7db9a590 100644
--- a/media-libs/aubio/aubio-0.4.7.ebuild
+++ b/media-libs/aubio/aubio-0.4.7.ebuild
@@ -37,7 +37,9 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen )
 "
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   ?? ( double-precision libsamplerate )
+"
 
 DOCS=( AUTHORS ChangeLog README.md )
 PYTHON_SRC_DIR="${S}"
@@ -49,16 +51,19 @@ src_prepare() {
 
 src_configure() {
python_setup
-   waf-utils_src_configure \
-   --enable-complex \
-   --docdir="${EPREFIX}"/usr/share/doc/${PF} \
-   $(use_enable double-precision double) \
-   $(use_enable fftw fftw3f) \
-   $(use_enable fftw fftw3) \
-   $(use_enable ffmpeg avcodec) \
-   $(use_enable jack) \
-   $(use_enable libsamplerate samplerate) \
+   local mywafconfargs=(
+   --enable-complex
+   --docdir="${EPREFIX}"/usr/share/doc/${PF}
+   $(use_enable double-precision double)
+   $(use_enable fftw fftw3)
+   $(use_enable ffmpeg avcodec)
+   $(use_enable jack)
+   $(use_enable libsamplerate samplerate)
$(use_enable sndfile)
+   )
+   use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) )
+
+   waf-utils_src_configure "${mywafconfargs[@]}"
 
if use python ; then
cd "${PYTHON_SRC_DIR}" || die



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2018-09-25 Thread Lars Wendler
commit: 9a4fc0238e3cb400d531479d045dd6dd167fa605
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Sep 25 08:21:19 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Sep 25 08:21:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a4fc023

media-libs/aubio: Bump to version 0.4.7

Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-libs/aubio/Manifest   |   1 +
 media-libs/aubio/aubio-0.4.7.ebuild | 112 
 2 files changed, 113 insertions(+)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index c44983e3ee0..1241c55db3e 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -2,3 +2,4 @@ DIST aubio-0.4.1.tar.bz2 288136 BLAKE2B 
ba7368fab21fec73dc555ea0d7291eea010a415d
 DIST aubio-0.4.2.tar.bz2 304216 BLAKE2B 
aab7e55d580105e6180503503ae2970d150d86e445d5c1b10d3f39c8cdf7496d0c280a57a2fc7ad3ea5142996d56c53cd2e1c6f736fb1a98b9b142438c919e04
 SHA512 
b57b6d147b305a264f0055726f76a8452f784b556a7fda911f056adbedd2855048e93c0e21b9f359e3f442f1542189aff0c214dd85141e2e06048a07f47703ff
 DIST aubio-0.4.5.tar.bz2 350615 BLAKE2B 
2108b4e2c9ef7f15631d785f71d6bce6804b0b61a5022e75a841e9e0772b6a4e9e53fe11c74e3907aa74eb1191bc0a5082f4854d2fe0746e14a4f9ac50ae06b2
 SHA512 
0aeaee5efc117201ca7b1fe2a421826ade83ce5b3ba50c27a8cf65debeedb20dd5a5ac28e20935bb29ca2b0d1b70cf93feee298989dfc79978f689e989235608
 DIST aubio-0.4.6.tar.bz2 363016 BLAKE2B 
3847ed02b7d64d9796bd1f5a06044d945f5859ab87a762978bf2b0b6650cc0e19c9b8eec99a793e14dd25c06f66d2bffd453ecca824fbc5f47700fda7f78854b
 SHA512 
0e5cab0c88d51f2fb70c0d85e1c067a7b3758fbffdbd5026686726379aa36203adb63ed3f8e40c83ea02930e0ffc4e6c246803f1d518d448d47a01984678e77d
+DIST aubio-0.4.7.tar.bz2 372173 BLAKE2B 
544239b215dd87d4cf4a6ed6b5dd856411d0a3f1c3242e3e1077fa0780160785a9934884a1f0d0dc80fe21b1d417bc3800db59842ec300a4c29d75b7942cba05
 SHA512 
30c614f2b502b993df28d4746a99421fe0aada33c98c42ea19c271554b29b360cb4d4f6650c1b1da508da4bc341348c5944cb452f69b2bf354ca6348f84de260

diff --git a/media-libs/aubio/aubio-0.4.7.ebuild 
b/media-libs/aubio/aubio-0.4.7.ebuild
new file mode 100644
index 000..9cb10b60097
--- /dev/null
+++ b/media-libs/aubio/aubio-0.4.7.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+
+inherit distutils-r1 waf-utils multilib eutils
+
+DESCRIPTION="Library for audio labelling"
+HOMEPAGE="https://aubio.org/";
+SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0/5"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python"
+
+RDEPEND="
+   ffmpeg? (
+   !libav? ( >=media-video/ffmpeg-2.6:0= )
+   libav? ( >=media-video/libav-9:0= )
+   )
+   fftw? ( sci-libs/fftw:3.0 )
+   jack? ( virtual/jack )
+   libsamplerate? ( media-libs/libsamplerate )
+   python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
+   sndfile? ( media-libs/libsndfile )
+"
+DEPEND="
+   ${RDEPEND}
+   ${PYTHON_DEPS}
+   app-text/txt2man
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen )
+"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=( AUTHORS ChangeLog README.md )
+PYTHON_SRC_DIR="${S}"
+
+src_prepare() {
+   default
+   sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
+}
+
+src_configure() {
+   python_setup
+   waf-utils_src_configure \
+   --enable-complex \
+   --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+   $(use_enable double-precision double) \
+   $(use_enable fftw fftw3f) \
+   $(use_enable fftw fftw3) \
+   $(use_enable ffmpeg avcodec) \
+   $(use_enable jack) \
+   $(use_enable libsamplerate samplerate) \
+   $(use_enable sndfile)
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_configure
+   fi
+}
+
+src_compile() {
+   waf-utils_src_compile --notests
+
+   if use doc; then
+   cd "${S}"/doc || die
+   emake dirhtml
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_test() {
+   waf-utils_src_compile --alltests
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_test
+   fi
+}
+
+src_install() {
+   waf-utils_src_install
+
+   if use examples; then
+   # install dist_noinst_SCRIPTS from Makefile.am
+   dodoc -r examples
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   DOCS="" distutils-r1_src_install
+   newdoc python/README.md README.pyt

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2018-09-25 Thread Lars Wendler
commit: 774e5eb52de86e6b9d40b39aff5793b2457d829b
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Sep 25 08:21:58 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Sep 25 08:21:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=774e5eb5

media-libs/aubio: Removed old.

Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-libs/aubio/Manifest  |   1 -
 media-libs/aubio/aubio-0.4.5-r1.ebuild | 110 -
 2 files changed, 111 deletions(-)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index 1241c55db3e..6a455a6bc03 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1,5 +1,4 @@
 DIST aubio-0.4.1.tar.bz2 288136 BLAKE2B 
ba7368fab21fec73dc555ea0d7291eea010a415d8bc77601337cf311277f3c82564c2f021b971a4117a3f99ab69e7a61e55b8ee488ca24b9b5319ab4a00a3a6b
 SHA512 
f36800f1a0cbe72509e05d15d79759ed25975e92701804597ed4c9d93e27d5e7b908e0aa65819ce763882945123ea174a0825c7aacf9f9494f56d72de5b8308c
 DIST aubio-0.4.2.tar.bz2 304216 BLAKE2B 
aab7e55d580105e6180503503ae2970d150d86e445d5c1b10d3f39c8cdf7496d0c280a57a2fc7ad3ea5142996d56c53cd2e1c6f736fb1a98b9b142438c919e04
 SHA512 
b57b6d147b305a264f0055726f76a8452f784b556a7fda911f056adbedd2855048e93c0e21b9f359e3f442f1542189aff0c214dd85141e2e06048a07f47703ff
-DIST aubio-0.4.5.tar.bz2 350615 BLAKE2B 
2108b4e2c9ef7f15631d785f71d6bce6804b0b61a5022e75a841e9e0772b6a4e9e53fe11c74e3907aa74eb1191bc0a5082f4854d2fe0746e14a4f9ac50ae06b2
 SHA512 
0aeaee5efc117201ca7b1fe2a421826ade83ce5b3ba50c27a8cf65debeedb20dd5a5ac28e20935bb29ca2b0d1b70cf93feee298989dfc79978f689e989235608
 DIST aubio-0.4.6.tar.bz2 363016 BLAKE2B 
3847ed02b7d64d9796bd1f5a06044d945f5859ab87a762978bf2b0b6650cc0e19c9b8eec99a793e14dd25c06f66d2bffd453ecca824fbc5f47700fda7f78854b
 SHA512 
0e5cab0c88d51f2fb70c0d85e1c067a7b3758fbffdbd5026686726379aa36203adb63ed3f8e40c83ea02930e0ffc4e6c246803f1d518d448d47a01984678e77d
 DIST aubio-0.4.7.tar.bz2 372173 BLAKE2B 
544239b215dd87d4cf4a6ed6b5dd856411d0a3f1c3242e3e1077fa0780160785a9934884a1f0d0dc80fe21b1d417bc3800db59842ec300a4c29d75b7942cba05
 SHA512 
30c614f2b502b993df28d4746a99421fe0aada33c98c42ea19c271554b29b360cb4d4f6650c1b1da508da4bc341348c5944cb452f69b2bf354ca6348f84de260

diff --git a/media-libs/aubio/aubio-0.4.5-r1.ebuild 
b/media-libs/aubio/aubio-0.4.5-r1.ebuild
deleted file mode 100644
index c02467cd6e7..000
--- a/media-libs/aubio/aubio-0.4.5-r1.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE='threads(+)'
-
-inherit distutils-r1 waf-utils multilib eutils
-
-DESCRIPTION="Library for audio labelling"
-HOMEPAGE="https://aubio.org/";
-SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0/5"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python"
-
-RDEPEND="
-   ffmpeg? (
-   !libav? ( >=media-video/ffmpeg-2.6:0= )
-   libav? ( >=media-video/libav-9:0= )
-   )
-   fftw? ( sci-libs/fftw:3.0 )
-   jack? ( virtual/jack )
-   libsamplerate? ( media-libs/libsamplerate )
-   python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
-   sndfile? ( media-libs/libsndfile )
-"
-DEPEND="
-   ${RDEPEND}
-   ${PYTHON_DEPS}
-   app-text/txt2man
-   virtual/pkgconfig
-   doc? ( app-doc/doxygen )
-"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=( AUTHORS ChangeLog README.md )
-PYTHON_SRC_DIR="${S}"
-
-src_prepare() {
-   default
-   sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
-}
-
-src_configure() {
-   python_setup
-   waf-utils_src_configure \
-   --enable-complex \
-   --docdir="${EPREFIX}"/usr/share/doc/${PF} \
-   $(use_enable double-precision double) \
-   $(use_enable fftw fftw3f) \
-   $(use_enable fftw fftw3) \
-   $(use_enable ffmpeg avcodec) \
-   $(use_enable jack) \
-   $(use_enable libsamplerate samplerate) \
-   $(use_enable sndfile)
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_configure
-   fi
-}
-
-src_compile() {
-   waf-utils_src_compile --notests
-
-   if use doc; then
-   cd "${S}"/doc || die
-   emake dirhtml
-   fi
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_compile
-   fi
-}
-
-src_test() {
-   waf-utils_src_compile --alltests
-
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   distutils-r1_src_test
-   fi
-}
-
-src_install() {
-   waf-utils_src_install
-
-   if use examples; then
-   # install dist_noinst_SCRIPTS fr

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/

2018-04-20 Thread Alexis Ballier
commit: cc722585c1aa2e0d59093d53c8f466e51ae8aa60
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Apr 20 14:51:11 2018 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Apr 20 18:11:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc722585

media-libs/aubio: fix build with ffmpeg4

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 media-libs/aubio/aubio-0.4.6.ebuild  |  3 ++-
 media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch | 13 +
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.6.ebuild 
b/media-libs/aubio/aubio-0.4.6.ebuild
index c02467cd6e7..9c6af6537ba 100644
--- a/media-libs/aubio/aubio-0.4.6.ebuild
+++ b/media-libs/aubio/aubio-0.4.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -40,6 +40,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DOCS=( AUTHORS ChangeLog README.md )
 PYTHON_SRC_DIR="${S}"
+PATCHES=( "${FILESDIR}/${PN}-0.4.6-ffmpeg4.patch" )
 
 src_prepare() {
default

diff --git a/media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch 
b/media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch
new file mode 100644
index 000..7df4665655b
--- /dev/null
+++ b/media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch
@@ -0,0 +1,13 @@
+Index: aubio-0.4.6/src/io/source_avcodec.c
+===
+--- aubio-0.4.6.orig/src/io/source_avcodec.c
 aubio-0.4.6/src/io/source_avcodec.c
+@@ -58,7 +58,7 @@
+ #include "fmat.h"
+ #include "source_avcodec.h"
+ 
+-#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE
++#define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE
+ 
+ struct _aubio_source_avcodec_t {
+   uint_t hop_size;



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2017-10-06 Thread Lars Wendler
commit: c0405a099cdb8f8f35578fbee4a09e60f5e53028
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Oct  6 07:29:08 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Oct  6 07:29:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0405a09

media-libs/aubio: Bump to version 0.4.6

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 media-libs/aubio/Manifest   |   1 +
 media-libs/aubio/aubio-0.4.6.ebuild | 110 
 2 files changed, 111 insertions(+)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index 9e08e592522..34a48c1434d 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -3,3 +3,4 @@ DIST aubio-0.4.2.tar.bz2 304216 SHA256 
1cc58e0fed2b9468305b198ad06b889f228b797a0
 DIST aubio-0.4.3.tar.bz2 328852 SHA256 
b62cdb073c0c64ae301917fa162969d42cba45e478bdf1e74490bd87e9cceaab SHA512 
bc286f1af9bc23e8bb5e4fa49a1d392e4f8169b8ca59409ee79bbbebf887f60ac7f68a6ed465272dbfc46f8c1ebf902513428e67cab5b88c4500ffe93f1c21d5
 WHIRLPOOL 
260e63d3f32a18fef104dfdf175ac7a864b701048fbaa0fc3005dde6058df45ab66329401a3a47e80df407340b8ab6bb13ceda49510d1860c8302720ec55e3e2
 DIST aubio-0.4.4.tar.bz2 334754 SHA256 
2acdb92623b9d4ba641c387760ffe3ec1e4c6ab498e64e5e2286c99e36ffbff8 SHA512 
ddf9019117b5da752eaf74bee0e5ba51d758f41b4e5a2ea64773fc3332c930c7215235b2ceb58bcb73e04811a3367efe19a606aee76d328a4d9670db82608d83
 WHIRLPOOL 
b91b9de9dd5ac244c0f05fa8ba6e8e3e57ffd563d026f5b3834c9eff0eca9a6bbec3eb795fd2738a3a3f53a47a210648aa3893cd8684be187755c2c036a175d6
 DIST aubio-0.4.5.tar.bz2 350615 SHA256 
70c2804e6f4fbf0ebc0fb9ac8cc9d465ef4a4d438311c074c9a7364e98827af6 SHA512 
0aeaee5efc117201ca7b1fe2a421826ade83ce5b3ba50c27a8cf65debeedb20dd5a5ac28e20935bb29ca2b0d1b70cf93feee298989dfc79978f689e989235608
 WHIRLPOOL 
b70d452570d1fc8b7168eac5bca3ce150aa33f24576815efa685cffef60511fa3e259c233c8f3d99ae5f88a6d8e94d4686a040912948c3783323eceec202a843
+DIST aubio-0.4.6.tar.bz2 363016 SHA256 
bdc73be1f007218d3ea6d2a503b38a217815a0e2ccc4ed441f6e850ed5d47cfb SHA512 
0e5cab0c88d51f2fb70c0d85e1c067a7b3758fbffdbd5026686726379aa36203adb63ed3f8e40c83ea02930e0ffc4e6c246803f1d518d448d47a01984678e77d
 WHIRLPOOL 
3c1a789d4103681ed005fa4d10aa6b8e3515c2b46a6dc6584e8c94e701dd681fd8fe3561809a9bdaf41c2e3605b2da8d3f19f331825102ff2cf84a1995c7da65

diff --git a/media-libs/aubio/aubio-0.4.6.ebuild 
b/media-libs/aubio/aubio-0.4.6.ebuild
new file mode 100644
index 000..c02467cd6e7
--- /dev/null
+++ b/media-libs/aubio/aubio-0.4.6.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+
+inherit distutils-r1 waf-utils multilib eutils
+
+DESCRIPTION="Library for audio labelling"
+HOMEPAGE="https://aubio.org/";
+SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0/5"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python"
+
+RDEPEND="
+   ffmpeg? (
+   !libav? ( >=media-video/ffmpeg-2.6:0= )
+   libav? ( >=media-video/libav-9:0= )
+   )
+   fftw? ( sci-libs/fftw:3.0 )
+   jack? ( virtual/jack )
+   libsamplerate? ( media-libs/libsamplerate )
+   python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
+   sndfile? ( media-libs/libsndfile )
+"
+DEPEND="
+   ${RDEPEND}
+   ${PYTHON_DEPS}
+   app-text/txt2man
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen )
+"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=( AUTHORS ChangeLog README.md )
+PYTHON_SRC_DIR="${S}"
+
+src_prepare() {
+   default
+   sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
+}
+
+src_configure() {
+   python_setup
+   waf-utils_src_configure \
+   --enable-complex \
+   --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+   $(use_enable double-precision double) \
+   $(use_enable fftw fftw3f) \
+   $(use_enable fftw fftw3) \
+   $(use_enable ffmpeg avcodec) \
+   $(use_enable jack) \
+   $(use_enable libsamplerate samplerate) \
+   $(use_enable sndfile)
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_configure
+   fi
+}
+
+src_compile() {
+   waf-utils_src_compile --notests
+
+   if use doc; then
+   cd "${S}"/doc || die
+   emake dirhtml
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_test() {
+   waf-utils_src_compile --alltests
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_test
+   fi
+}
+
+src_install() {
+   waf-utils_src_install
+
+   if u

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2017-10-06 Thread Lars Wendler
commit: 304efbe39de7c893ad2f51100474acc47e66992e
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Oct  6 07:29:58 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Oct  6 07:29:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=304efbe3

media-libs/aubio: Removed old.

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 media-libs/aubio/Manifest  |   2 -
 media-libs/aubio/aubio-0.4.3-r1.ebuild | 105 -
 media-libs/aubio/aubio-0.4.4-r1.ebuild | 105 -
 3 files changed, 212 deletions(-)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index 34a48c1434d..b7263be4362 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1,6 +1,4 @@
 DIST aubio-0.4.1.tar.bz2 288136 SHA256 
25d7df0a9cd6366fda764a803424caddf5fb819fc75b42a7a03e1e6f8eb3c695 SHA512 
f36800f1a0cbe72509e05d15d79759ed25975e92701804597ed4c9d93e27d5e7b908e0aa65819ce763882945123ea174a0825c7aacf9f9494f56d72de5b8308c
 WHIRLPOOL 
ea410de8ca5d81c8b6ff2f98a2353601a48435649e3c5931e41f9e7f4ccb8f9a8faf2156a3632de223638f1e91d608c5a77660fa00633a591488498c5e37fec6
 DIST aubio-0.4.2.tar.bz2 304216 SHA256 
1cc58e0fed2b9468305b198ad06b889f228b797a082c2ede716dc30fcb4f8f1f SHA512 
b57b6d147b305a264f0055726f76a8452f784b556a7fda911f056adbedd2855048e93c0e21b9f359e3f442f1542189aff0c214dd85141e2e06048a07f47703ff
 WHIRLPOOL 
1fa0c877261c82d095144c05f753dd5ea303838d48627edf18af4275f8b4aba0dbe5806bb2504bc2c5a2c169d5bd8edd76bcb3cd990abd7b42842d0223918270
-DIST aubio-0.4.3.tar.bz2 328852 SHA256 
b62cdb073c0c64ae301917fa162969d42cba45e478bdf1e74490bd87e9cceaab SHA512 
bc286f1af9bc23e8bb5e4fa49a1d392e4f8169b8ca59409ee79bbbebf887f60ac7f68a6ed465272dbfc46f8c1ebf902513428e67cab5b88c4500ffe93f1c21d5
 WHIRLPOOL 
260e63d3f32a18fef104dfdf175ac7a864b701048fbaa0fc3005dde6058df45ab66329401a3a47e80df407340b8ab6bb13ceda49510d1860c8302720ec55e3e2
-DIST aubio-0.4.4.tar.bz2 334754 SHA256 
2acdb92623b9d4ba641c387760ffe3ec1e4c6ab498e64e5e2286c99e36ffbff8 SHA512 
ddf9019117b5da752eaf74bee0e5ba51d758f41b4e5a2ea64773fc3332c930c7215235b2ceb58bcb73e04811a3367efe19a606aee76d328a4d9670db82608d83
 WHIRLPOOL 
b91b9de9dd5ac244c0f05fa8ba6e8e3e57ffd563d026f5b3834c9eff0eca9a6bbec3eb795fd2738a3a3f53a47a210648aa3893cd8684be187755c2c036a175d6
 DIST aubio-0.4.5.tar.bz2 350615 SHA256 
70c2804e6f4fbf0ebc0fb9ac8cc9d465ef4a4d438311c074c9a7364e98827af6 SHA512 
0aeaee5efc117201ca7b1fe2a421826ade83ce5b3ba50c27a8cf65debeedb20dd5a5ac28e20935bb29ca2b0d1b70cf93feee298989dfc79978f689e989235608
 WHIRLPOOL 
b70d452570d1fc8b7168eac5bca3ce150aa33f24576815efa685cffef60511fa3e259c233c8f3d99ae5f88a6d8e94d4686a040912948c3783323eceec202a843
 DIST aubio-0.4.6.tar.bz2 363016 SHA256 
bdc73be1f007218d3ea6d2a503b38a217815a0e2ccc4ed441f6e850ed5d47cfb SHA512 
0e5cab0c88d51f2fb70c0d85e1c067a7b3758fbffdbd5026686726379aa36203adb63ed3f8e40c83ea02930e0ffc4e6c246803f1d518d448d47a01984678e77d
 WHIRLPOOL 
3c1a789d4103681ed005fa4d10aa6b8e3515c2b46a6dc6584e8c94e701dd681fd8fe3561809a9bdaf41c2e3605b2da8d3f19f331825102ff2cf84a1995c7da65

diff --git a/media-libs/aubio/aubio-0.4.3-r1.ebuild 
b/media-libs/aubio/aubio-0.4.3-r1.ebuild
deleted file mode 100644
index 74a669bf10d..000
--- a/media-libs/aubio/aubio-0.4.3-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE='threads(+)'
-
-inherit distutils-r1 waf-utils multilib eutils
-
-DESCRIPTION="Library for audio labelling"
-HOMEPAGE="http://aubio.org/";
-SRC_URI="http://aubio.org//pub/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0/5"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python"
-
-RDEPEND="
-   ffmpeg? (
-   !libav? ( >=media-video/ffmpeg-2.6:0= )
-   libav? ( >=media-video/libav-9:0= )
-   )
-   fftw? ( sci-libs/fftw:3.0 )
-   jack? ( virtual/jack )
-   libsamplerate? ( media-libs/libsamplerate )
-   python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
-   sndfile? ( media-libs/libsndfile )"
-DEPEND="${RDEPEND}
-   ${PYTHON_DEPS}
-   virtual/pkgconfig
-   app-text/txt2man
-   doc? ( app-doc/doxygen )"
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-DOCS=( AUTHORS ChangeLog README.md )
-PYTHON_SRC_DIR="${S}"
-
-src_prepare() {
-   sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
-}
-
-src_configure() {
-   python_setup
-   waf-utils_src_configure \
-   --enable-complex \
-   --docdir="${EPREFIX}"/usr/share/doc/${PF} \
-   $(use_enable double-precision double) \
-   $(use_enable fftw fftw3f) \
-   $(use_enable fftw fftw3) \
-   $(use_enable ffmpeg avcodec) \
-   $(use_enable jack) \
-   $(use_enable libsa

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2017-08-22 Thread Michał Górny
commit: 3740446d0d19bd9014085543072951acf952bc92
Author: David Hicks  hicks  id  au>
AuthorDate: Tue Aug 22 12:33:23 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 22 21:40:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3740446d

media-libs/aubio: HOMEPAGE and SRC_URI 301 redirect to HTTPS

Package-Manager: Portage-2.3.7, Repoman-2.3.3

 media-libs/aubio/aubio-0.4.1-r1.ebuild | 4 ++--
 media-libs/aubio/aubio-0.4.2-r1.ebuild | 4 ++--
 media-libs/aubio/aubio-0.4.4-r1.ebuild | 4 ++--
 media-libs/aubio/aubio-0.4.5-r1.ebuild | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.1-r1.ebuild 
b/media-libs/aubio/aubio-0.4.1-r1.ebuild
index 8ccc2f4753d..59a64870fc8 100644
--- a/media-libs/aubio/aubio-0.4.1-r1.ebuild
+++ b/media-libs/aubio/aubio-0.4.1-r1.ebuild
@@ -10,8 +10,8 @@ PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils multilib eutils
 
 DESCRIPTION="Library for audio labelling"
-HOMEPAGE="http://aubio.org/";
-SRC_URI="http://aubio.org//pub/${P}.tar.bz2";
+HOMEPAGE="https://aubio.org/";
+SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0"

diff --git a/media-libs/aubio/aubio-0.4.2-r1.ebuild 
b/media-libs/aubio/aubio-0.4.2-r1.ebuild
index 108990c8de9..47feb82207d 100644
--- a/media-libs/aubio/aubio-0.4.2-r1.ebuild
+++ b/media-libs/aubio/aubio-0.4.2-r1.ebuild
@@ -10,8 +10,8 @@ PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils multilib eutils
 
 DESCRIPTION="Library for audio labelling"
-HOMEPAGE="http://aubio.org/";
-SRC_URI="http://aubio.org//pub/${P}.tar.bz2";
+HOMEPAGE="https://aubio.org/";
+SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0"

diff --git a/media-libs/aubio/aubio-0.4.4-r1.ebuild 
b/media-libs/aubio/aubio-0.4.4-r1.ebuild
index 74a669bf10d..34b2422b195 100644
--- a/media-libs/aubio/aubio-0.4.4-r1.ebuild
+++ b/media-libs/aubio/aubio-0.4.4-r1.ebuild
@@ -10,8 +10,8 @@ PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils multilib eutils
 
 DESCRIPTION="Library for audio labelling"
-HOMEPAGE="http://aubio.org/";
-SRC_URI="http://aubio.org//pub/${P}.tar.bz2";
+HOMEPAGE="https://aubio.org/";
+SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"

diff --git a/media-libs/aubio/aubio-0.4.5-r1.ebuild 
b/media-libs/aubio/aubio-0.4.5-r1.ebuild
index 371258ddba3..c02467cd6e7 100644
--- a/media-libs/aubio/aubio-0.4.5-r1.ebuild
+++ b/media-libs/aubio/aubio-0.4.5-r1.ebuild
@@ -10,8 +10,8 @@ PYTHON_REQ_USE='threads(+)'
 inherit distutils-r1 waf-utils multilib eutils
 
 DESCRIPTION="Library for audio labelling"
-HOMEPAGE="http://aubio.org/";
-SRC_URI="http://aubio.org//pub/${P}.tar.bz2";
+HOMEPAGE="https://aubio.org/";
+SRC_URI="https://aubio.org/pub/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0/5"



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2017-05-09 Thread Alexis Ballier
commit: f891bb8ffd906298f9fcd267dfcb5452ccdde160
Author: Karl Linden  gmail  com>
AuthorDate: Tue May  9 05:18:04 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue May  9 07:28:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f891bb8f

media-libs/aubio: depend on virtual/jack

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 media-libs/aubio/{aubio-0.4.1.ebuild => aubio-0.4.1-r1.ebuild} | 4 ++--
 media-libs/aubio/{aubio-0.4.2.ebuild => aubio-0.4.2-r1.ebuild} | 4 ++--
 media-libs/aubio/{aubio-0.4.4.ebuild => aubio-0.4.3-r1.ebuild} | 2 +-
 media-libs/aubio/{aubio-0.4.3.ebuild => aubio-0.4.4-r1.ebuild} | 4 ++--
 media-libs/aubio/{aubio-0.4.5.ebuild => aubio-0.4.5-r1.ebuild} | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.1.ebuild 
b/media-libs/aubio/aubio-0.4.1-r1.ebuild
similarity index 96%
rename from media-libs/aubio/aubio-0.4.1.ebuild
rename to media-libs/aubio/aubio-0.4.1-r1.ebuild
index 13f75c8be79..8ccc2f4753d 100644
--- a/media-libs/aubio/aubio-0.4.1.ebuild
+++ b/media-libs/aubio/aubio-0.4.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -21,7 +21,7 @@ IUSE="doc double-precision examples ffmpeg fftw jack 
libsamplerate sndfile pytho
 RDEPEND="
ffmpeg? ( virtual/ffmpeg )
fftw? ( sci-libs/fftw:3.0 )
-   jack? ( media-sound/jack-audio-connection-kit )
+   jack? ( virtual/jack )
libsamplerate? ( media-libs/libsamplerate )
python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
sndfile? ( media-libs/libsndfile )"

diff --git a/media-libs/aubio/aubio-0.4.2.ebuild 
b/media-libs/aubio/aubio-0.4.2-r1.ebuild
similarity index 96%
rename from media-libs/aubio/aubio-0.4.2.ebuild
rename to media-libs/aubio/aubio-0.4.2-r1.ebuild
index f2817976d3f..108990c8de9 100644
--- a/media-libs/aubio/aubio-0.4.2.ebuild
+++ b/media-libs/aubio/aubio-0.4.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -24,7 +24,7 @@ RDEPEND="
libav? ( >=media-video/libav-9:0= )
)
fftw? ( sci-libs/fftw:3.0 )
-   jack? ( media-sound/jack-audio-connection-kit )
+   jack? ( virtual/jack )
libsamplerate? ( media-libs/libsamplerate )
python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
sndfile? ( media-libs/libsndfile )"

diff --git a/media-libs/aubio/aubio-0.4.4.ebuild 
b/media-libs/aubio/aubio-0.4.3-r1.ebuild
similarity index 97%
rename from media-libs/aubio/aubio-0.4.4.ebuild
rename to media-libs/aubio/aubio-0.4.3-r1.ebuild
index 5cb99e4ee1f..74a669bf10d 100644
--- a/media-libs/aubio/aubio-0.4.4.ebuild
+++ b/media-libs/aubio/aubio-0.4.3-r1.ebuild
@@ -24,7 +24,7 @@ RDEPEND="
libav? ( >=media-video/libav-9:0= )
)
fftw? ( sci-libs/fftw:3.0 )
-   jack? ( media-sound/jack-audio-connection-kit )
+   jack? ( virtual/jack )
libsamplerate? ( media-libs/libsamplerate )
python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
sndfile? ( media-libs/libsndfile )"

diff --git a/media-libs/aubio/aubio-0.4.3.ebuild 
b/media-libs/aubio/aubio-0.4.4-r1.ebuild
similarity index 96%
rename from media-libs/aubio/aubio-0.4.3.ebuild
rename to media-libs/aubio/aubio-0.4.4-r1.ebuild
index 3aef8331276..74a669bf10d 100644
--- a/media-libs/aubio/aubio-0.4.3.ebuild
+++ b/media-libs/aubio/aubio-0.4.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -24,7 +24,7 @@ RDEPEND="
libav? ( >=media-video/libav-9:0= )
)
fftw? ( sci-libs/fftw:3.0 )
-   jack? ( media-sound/jack-audio-connection-kit )
+   jack? ( virtual/jack )
libsamplerate? ( media-libs/libsamplerate )
python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
sndfile? ( media-libs/libsndfile )"

diff --git a/media-libs/aubio/aubio-0.4.5.ebuild 
b/media-libs/aubio/aubio-0.4.5-r1.ebuild
similarity index 97%
rename from media-libs/aubio/aubio-0.4.5.ebuild
rename to media-libs/aubio/aubio-0.4.5-r1.ebuild
index f7f10c20a7a..371258ddba3 100644
--- a/media-libs/aubio/aubio-0.4.5.ebuild
+++ b/media-libs/aubio/aubio-0.4.5-r1.ebuild
@@ -24,7 +24,7 @@ RDEPEND="
libav? ( >=media-video/libav-9:0= )
)
fftw? ( sci-libs/fftw:3.0 )
-   jack? ( media-sound/jack-audio-connection-kit )
+   jack? ( virtual/jack )
libsamplerate? ( media-libs/libsamplerate )
python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
sndfile? ( media-libs/libsndfile )



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2017-04-24 Thread Lars Wendler
commit: d36dc183c0cf94fa40d698daf6c715140e6b472d
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Apr 24 12:31:12 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Apr 24 12:38:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d36dc183

media-libs/aubio: Fixed build with USE="doc" (bug #612084).

Fix taken from seden overlay.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 media-libs/aubio/aubio-0.4.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.5.ebuild 
b/media-libs/aubio/aubio-0.4.5.ebuild
index 15673419b95..f7f10c20a7a 100644
--- a/media-libs/aubio/aubio-0.4.5.ebuild
+++ b/media-libs/aubio/aubio-0.4.5.ebuild
@@ -70,7 +70,7 @@ src_compile() {
 
if use doc; then
cd "${S}"/doc || die
-   doxygen full.cfg || die
+   emake dirhtml
fi
 
if use python ; then
@@ -105,6 +105,6 @@ src_install() {
if use doc; then
dodoc doc/*.txt
docinto html
-   dodoc -r doc/full/html/.
+   dodoc -r doc/_build/dirhtml/.
fi
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2017-04-12 Thread Lars Wendler
commit: f0364c704d614ba51a5b7028ecbd0dd5f9bba819
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Apr 12 07:54:01 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Apr 12 07:54:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0364c70

media-libs/aubio: Bump to version 0.4.5

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 media-libs/aubio/Manifest   |   1 +
 media-libs/aubio/aubio-0.4.5.ebuild | 110 
 2 files changed, 111 insertions(+)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index 22f5cdc40ba..9e08e592522 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -2,3 +2,4 @@ DIST aubio-0.4.1.tar.bz2 288136 SHA256 
25d7df0a9cd6366fda764a803424caddf5fb819fc
 DIST aubio-0.4.2.tar.bz2 304216 SHA256 
1cc58e0fed2b9468305b198ad06b889f228b797a082c2ede716dc30fcb4f8f1f SHA512 
b57b6d147b305a264f0055726f76a8452f784b556a7fda911f056adbedd2855048e93c0e21b9f359e3f442f1542189aff0c214dd85141e2e06048a07f47703ff
 WHIRLPOOL 
1fa0c877261c82d095144c05f753dd5ea303838d48627edf18af4275f8b4aba0dbe5806bb2504bc2c5a2c169d5bd8edd76bcb3cd990abd7b42842d0223918270
 DIST aubio-0.4.3.tar.bz2 328852 SHA256 
b62cdb073c0c64ae301917fa162969d42cba45e478bdf1e74490bd87e9cceaab SHA512 
bc286f1af9bc23e8bb5e4fa49a1d392e4f8169b8ca59409ee79bbbebf887f60ac7f68a6ed465272dbfc46f8c1ebf902513428e67cab5b88c4500ffe93f1c21d5
 WHIRLPOOL 
260e63d3f32a18fef104dfdf175ac7a864b701048fbaa0fc3005dde6058df45ab66329401a3a47e80df407340b8ab6bb13ceda49510d1860c8302720ec55e3e2
 DIST aubio-0.4.4.tar.bz2 334754 SHA256 
2acdb92623b9d4ba641c387760ffe3ec1e4c6ab498e64e5e2286c99e36ffbff8 SHA512 
ddf9019117b5da752eaf74bee0e5ba51d758f41b4e5a2ea64773fc3332c930c7215235b2ceb58bcb73e04811a3367efe19a606aee76d328a4d9670db82608d83
 WHIRLPOOL 
b91b9de9dd5ac244c0f05fa8ba6e8e3e57ffd563d026f5b3834c9eff0eca9a6bbec3eb795fd2738a3a3f53a47a210648aa3893cd8684be187755c2c036a175d6
+DIST aubio-0.4.5.tar.bz2 350615 SHA256 
70c2804e6f4fbf0ebc0fb9ac8cc9d465ef4a4d438311c074c9a7364e98827af6 SHA512 
0aeaee5efc117201ca7b1fe2a421826ade83ce5b3ba50c27a8cf65debeedb20dd5a5ac28e20935bb29ca2b0d1b70cf93feee298989dfc79978f689e989235608
 WHIRLPOOL 
b70d452570d1fc8b7168eac5bca3ce150aa33f24576815efa685cffef60511fa3e259c233c8f3d99ae5f88a6d8e94d4686a040912948c3783323eceec202a843

diff --git a/media-libs/aubio/aubio-0.4.5.ebuild 
b/media-libs/aubio/aubio-0.4.5.ebuild
new file mode 100644
index 000..15673419b95
--- /dev/null
+++ b/media-libs/aubio/aubio-0.4.5.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+
+inherit distutils-r1 waf-utils multilib eutils
+
+DESCRIPTION="Library for audio labelling"
+HOMEPAGE="http://aubio.org/";
+SRC_URI="http://aubio.org//pub/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0/5"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python"
+
+RDEPEND="
+   ffmpeg? (
+   !libav? ( >=media-video/ffmpeg-2.6:0= )
+   libav? ( >=media-video/libav-9:0= )
+   )
+   fftw? ( sci-libs/fftw:3.0 )
+   jack? ( media-sound/jack-audio-connection-kit )
+   libsamplerate? ( media-libs/libsamplerate )
+   python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
+   sndfile? ( media-libs/libsndfile )
+"
+DEPEND="
+   ${RDEPEND}
+   ${PYTHON_DEPS}
+   app-text/txt2man
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen )
+"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=( AUTHORS ChangeLog README.md )
+PYTHON_SRC_DIR="${S}"
+
+src_prepare() {
+   default
+   sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
+}
+
+src_configure() {
+   python_setup
+   waf-utils_src_configure \
+   --enable-complex \
+   --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+   $(use_enable double-precision double) \
+   $(use_enable fftw fftw3f) \
+   $(use_enable fftw fftw3) \
+   $(use_enable ffmpeg avcodec) \
+   $(use_enable jack) \
+   $(use_enable libsamplerate samplerate) \
+   $(use_enable sndfile)
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_configure
+   fi
+}
+
+src_compile() {
+   waf-utils_src_compile --notests
+
+   if use doc; then
+   cd "${S}"/doc || die
+   doxygen full.cfg || die
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_test() {
+   waf-utils_src_compile --alltests
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_test
+   fi
+}
+
+src_install() {
+   waf

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2017-01-12 Thread Alexis Ballier
commit: 2bf8e9d5b926228249aa44fd9b1e95ffb14a20f1
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Jan 13 07:48:14 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Jan 13 07:56:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bf8e9d5

media-libs/aubio: bump to 0.4.4

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/aubio/Manifest   |   1 +
 media-libs/aubio/aubio-0.4.4.ebuild | 106 
 2 files changed, 107 insertions(+)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index c53e09f..22f5cdc 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1,3 +1,4 @@
 DIST aubio-0.4.1.tar.bz2 288136 SHA256 
25d7df0a9cd6366fda764a803424caddf5fb819fc75b42a7a03e1e6f8eb3c695 SHA512 
f36800f1a0cbe72509e05d15d79759ed25975e92701804597ed4c9d93e27d5e7b908e0aa65819ce763882945123ea174a0825c7aacf9f9494f56d72de5b8308c
 WHIRLPOOL 
ea410de8ca5d81c8b6ff2f98a2353601a48435649e3c5931e41f9e7f4ccb8f9a8faf2156a3632de223638f1e91d608c5a77660fa00633a591488498c5e37fec6
 DIST aubio-0.4.2.tar.bz2 304216 SHA256 
1cc58e0fed2b9468305b198ad06b889f228b797a082c2ede716dc30fcb4f8f1f SHA512 
b57b6d147b305a264f0055726f76a8452f784b556a7fda911f056adbedd2855048e93c0e21b9f359e3f442f1542189aff0c214dd85141e2e06048a07f47703ff
 WHIRLPOOL 
1fa0c877261c82d095144c05f753dd5ea303838d48627edf18af4275f8b4aba0dbe5806bb2504bc2c5a2c169d5bd8edd76bcb3cd990abd7b42842d0223918270
 DIST aubio-0.4.3.tar.bz2 328852 SHA256 
b62cdb073c0c64ae301917fa162969d42cba45e478bdf1e74490bd87e9cceaab SHA512 
bc286f1af9bc23e8bb5e4fa49a1d392e4f8169b8ca59409ee79bbbebf887f60ac7f68a6ed465272dbfc46f8c1ebf902513428e67cab5b88c4500ffe93f1c21d5
 WHIRLPOOL 
260e63d3f32a18fef104dfdf175ac7a864b701048fbaa0fc3005dde6058df45ab66329401a3a47e80df407340b8ab6bb13ceda49510d1860c8302720ec55e3e2
+DIST aubio-0.4.4.tar.bz2 334754 SHA256 
2acdb92623b9d4ba641c387760ffe3ec1e4c6ab498e64e5e2286c99e36ffbff8 SHA512 
ddf9019117b5da752eaf74bee0e5ba51d758f41b4e5a2ea64773fc3332c930c7215235b2ceb58bcb73e04811a3367efe19a606aee76d328a4d9670db82608d83
 WHIRLPOOL 
b91b9de9dd5ac244c0f05fa8ba6e8e3e57ffd563d026f5b3834c9eff0eca9a6bbec3eb795fd2738a3a3f53a47a210648aa3893cd8684be187755c2c036a175d6

diff --git a/media-libs/aubio/aubio-0.4.4.ebuild 
b/media-libs/aubio/aubio-0.4.4.ebuild
new file mode 100644
index ..8f6cc99
--- /dev/null
+++ b/media-libs/aubio/aubio-0.4.4.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+
+inherit distutils-r1 waf-utils multilib eutils
+
+DESCRIPTION="Library for audio labelling"
+HOMEPAGE="http://aubio.org/";
+SRC_URI="http://aubio.org//pub/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0/5"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python"
+
+RDEPEND="
+   ffmpeg? (
+   !libav? ( >=media-video/ffmpeg-2.6:0= )
+   libav? ( >=media-video/libav-9:0= )
+   )
+   fftw? ( sci-libs/fftw:3.0 )
+   jack? ( media-sound/jack-audio-connection-kit )
+   libsamplerate? ( media-libs/libsamplerate )
+   python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
+   sndfile? ( media-libs/libsndfile )"
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+   app-text/txt2man
+   doc? ( app-doc/doxygen )"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+DOCS=( AUTHORS ChangeLog README.md )
+PYTHON_SRC_DIR="${S}"
+
+src_prepare() {
+   sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
+}
+
+src_configure() {
+   python_setup
+   waf-utils_src_configure \
+   --enable-complex \
+   --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+   $(use_enable double-precision double) \
+   $(use_enable fftw fftw3f) \
+   $(use_enable fftw fftw3) \
+   $(use_enable ffmpeg avcodec) \
+   $(use_enable jack) \
+   $(use_enable libsamplerate samplerate) \
+   $(use_enable sndfile)
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_configure
+   fi
+}
+
+src_compile() {
+   waf-utils_src_compile --notests
+
+   if use doc; then
+   cd "${S}"/doc || die
+   doxygen full.cfg || die
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_test() {
+   waf-utils_src_compile --alltests
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_test
+   fi
+}
+
+src_install() {
+   waf-utils_src_install
+
+   if use doc; then
+   dohtml -r doc/full/html/.
+   dodoc doc/*.txt
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2016-08-28 Thread Alexis Ballier
commit: f7212ea4f94e904e7e48e97678a893ef1d88587c
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sun Aug 28 14:11:57 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sun Aug 28 14:11:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7212ea4

media-libs/aubio: fix build with USE=python; bug #592284

Package-Manager: portage-2.3.0

 media-libs/aubio/aubio-0.4.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.3.ebuild 
b/media-libs/aubio/aubio-0.4.3.ebuild
index 3d53661..fd52d91 100644
--- a/media-libs/aubio/aubio-0.4.3.ebuild
+++ b/media-libs/aubio/aubio-0.4.3.ebuild
@@ -37,7 +37,7 @@ DEPEND="${RDEPEND}
 REQUIRED_USE=${PYTHON_REQUIRED_USE}
 
 DOCS=( AUTHORS ChangeLog README.md )
-PYTHON_SRC_DIR="${S}/python"
+PYTHON_SRC_DIR="${S}"
 
 src_prepare() {
sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
@@ -101,6 +101,6 @@ src_install() {
if use python ; then
cd "${PYTHON_SRC_DIR}" || die
DOCS="" distutils-r1_src_install
-   newdoc README README.python
+   newdoc python/README.md README.python
fi
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2016-08-27 Thread Alexis Ballier
commit: 3fe16003f7129854ce25cae17d9cbdb671a40329
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sat Aug 27 18:29:48 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sat Aug 27 18:29:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fe16003

media-libs/aubio: bump to 0.4.3; add subslot

Package-Manager: portage-2.3.0

 media-libs/aubio/Manifest   |   1 +
 media-libs/aubio/aubio-0.4.3.ebuild | 106 
 2 files changed, 107 insertions(+)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index 81f4627..c53e09f 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1,2 +1,3 @@
 DIST aubio-0.4.1.tar.bz2 288136 SHA256 
25d7df0a9cd6366fda764a803424caddf5fb819fc75b42a7a03e1e6f8eb3c695 SHA512 
f36800f1a0cbe72509e05d15d79759ed25975e92701804597ed4c9d93e27d5e7b908e0aa65819ce763882945123ea174a0825c7aacf9f9494f56d72de5b8308c
 WHIRLPOOL 
ea410de8ca5d81c8b6ff2f98a2353601a48435649e3c5931e41f9e7f4ccb8f9a8faf2156a3632de223638f1e91d608c5a77660fa00633a591488498c5e37fec6
 DIST aubio-0.4.2.tar.bz2 304216 SHA256 
1cc58e0fed2b9468305b198ad06b889f228b797a082c2ede716dc30fcb4f8f1f SHA512 
b57b6d147b305a264f0055726f76a8452f784b556a7fda911f056adbedd2855048e93c0e21b9f359e3f442f1542189aff0c214dd85141e2e06048a07f47703ff
 WHIRLPOOL 
1fa0c877261c82d095144c05f753dd5ea303838d48627edf18af4275f8b4aba0dbe5806bb2504bc2c5a2c169d5bd8edd76bcb3cd990abd7b42842d0223918270
+DIST aubio-0.4.3.tar.bz2 328852 SHA256 
b62cdb073c0c64ae301917fa162969d42cba45e478bdf1e74490bd87e9cceaab SHA512 
bc286f1af9bc23e8bb5e4fa49a1d392e4f8169b8ca59409ee79bbbebf887f60ac7f68a6ed465272dbfc46f8c1ebf902513428e67cab5b88c4500ffe93f1c21d5
 WHIRLPOOL 
260e63d3f32a18fef104dfdf175ac7a864b701048fbaa0fc3005dde6058df45ab66329401a3a47e80df407340b8ab6bb13ceda49510d1860c8302720ec55e3e2

diff --git a/media-libs/aubio/aubio-0.4.3.ebuild 
b/media-libs/aubio/aubio-0.4.3.ebuild
new file mode 100644
index ..3d53661
--- /dev/null
+++ b/media-libs/aubio/aubio-0.4.3.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+
+inherit distutils-r1 waf-utils multilib eutils
+
+DESCRIPTION="Library for audio labelling"
+HOMEPAGE="http://aubio.org/";
+SRC_URI="http://aubio.org//pub/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0/5"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python"
+
+RDEPEND="
+   ffmpeg? (
+   !libav? ( >=media-video/ffmpeg-2.6:0= )
+   libav? ( >=media-video/libav-9:0= )
+   )
+   fftw? ( sci-libs/fftw:3.0 )
+   jack? ( media-sound/jack-audio-connection-kit )
+   libsamplerate? ( media-libs/libsamplerate )
+   python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
+   sndfile? ( media-libs/libsndfile )"
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+   app-text/txt2man
+   doc? ( app-doc/doxygen )"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+DOCS=( AUTHORS ChangeLog README.md )
+PYTHON_SRC_DIR="${S}/python"
+
+src_prepare() {
+   sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
+}
+
+src_configure() {
+   python_setup
+   waf-utils_src_configure \
+   --enable-complex \
+   --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+   $(use_enable double-precision double) \
+   $(use_enable fftw fftw3f) \
+   $(use_enable fftw fftw3) \
+   $(use_enable ffmpeg avcodec) \
+   $(use_enable jack) \
+   $(use_enable libsamplerate samplerate) \
+   $(use_enable sndfile)
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_configure
+   fi
+}
+
+src_compile() {
+   waf-utils_src_compile --notests
+
+   if use doc; then
+   cd "${S}"/doc || die
+   doxygen full.cfg || die
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_test() {
+   waf-utils_src_compile --alltests
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_test
+   fi
+}
+
+src_install() {
+   waf-utils_src_install
+
+   if use doc; then
+   dohtml -r doc/full/html/.
+   dodoc doc/*.txt
+   fi
+
+   if use examples; then
+   # install dist_noinst_SCRIPTS from Makefile.am
+   dodoc -r examples
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   DOCS="" distutils-r1_src_install
+   newdoc README README.python
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2015-11-10 Thread Alexis Ballier
commit: 36e5bc6c16f2ae51ea9f707b5deac9e93e723473
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Nov 10 11:52:25 2015 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Nov 10 11:52:32 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36e5bc6c

media-libs/aubio: Install python last so that cwd is not changed too early. Bug 
#565002 by nilburn.

Package-Manager: portage-2.2.24
Signed-off-by: Alexis Ballier  gentoo.org>

 media-libs/aubio/aubio-0.4.2.ebuild | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.2.ebuild 
b/media-libs/aubio/aubio-0.4.2.ebuild
index 9f5142f..6104f6a 100644
--- a/media-libs/aubio/aubio-0.4.2.ebuild
+++ b/media-libs/aubio/aubio-0.4.2.ebuild
@@ -88,12 +88,6 @@ src_test() {
 src_install() {
waf-utils_src_install
 
-   if use python ; then
-   cd "${PYTHON_SRC_DIR}" || die
-   DOCS="" distutils-r1_src_install
-   newdoc README README.python
-   fi
-
if use doc; then
dohtml -r doc/full/html/.
dodoc doc/*.txt
@@ -103,4 +97,10 @@ src_install() {
# install dist_noinst_SCRIPTS from Makefile.am
dodoc -r examples
fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   DOCS="" distutils-r1_src_install
+   newdoc README README.python
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/

2015-11-01 Thread Alexis Ballier
commit: 14bbc6a2259790692bec61a3d886a887e4752a02
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sun Nov  1 10:17:23 2015 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sun Nov  1 10:17:23 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14bbc6a2

media-libs/aubio: remove old.

Package-Manager: portage-2.2.23

 media-libs/aubio/Manifest  |   2 -
 media-libs/aubio/aubio-0.3.2-r2.ebuild |  96 --
 media-libs/aubio/aubio-0.4.0-r1.ebuild | 104 ---
 media-libs/aubio/files/aubio-0.3.2-multilib.patch  |  11 -
 .../aubio/files/aubio-0.3.2-numarray-gnuplot.patch | 332 -
 5 files changed, 545 deletions(-)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index 158e49c..d8ae92a 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1,3 +1 @@
-DIST aubio-0.3.2.tar.gz 609006 SHA256 
dc1387b048610a6141f523c27314b7a60bd299c3d6789c372445ddc6511512cd SHA512 
b3d8445716c0cde02ee1e7b036864598ec7562d8a938a61f644c384d80e95601abcb6e713cdaab7b2613f6f4f27db1cfafa7c23824c61f504e83d11fefdee8fc
 WHIRLPOOL 
eeb732702bbb1682d32fde5cce4d17ae402292e1c19dac2e45600b268c955310683712952be8a1f72c08255c8c75c5beff9a127ab5b296883a64a4b5d9cb949a
-DIST aubio-0.4.0.tar.bz2 277613 SHA256 
49de9a06c819d4c4e0a9198a95eac374a1650083aef16c397004258bac2d33a2 SHA512 
4f04ca8a873e45b6cdf84e3fb6028d9ad0abc0300daf83b1f7b08021355b1449f9c8d3a9b617bd479668e6b2c0c63c3ce69d61baeb6b0f621a84e850dedce8b6
 WHIRLPOOL 
432c0f555d21190838b573b90a68f625b267a399380ac79cb8687e8d2de53db1dff8c9ab235db446b315a98d9df729d45db7360b825e0ad37d6924b09788b1b9
 DIST aubio-0.4.1.tar.bz2 288136 SHA256 
25d7df0a9cd6366fda764a803424caddf5fb819fc75b42a7a03e1e6f8eb3c695 SHA512 
f36800f1a0cbe72509e05d15d79759ed25975e92701804597ed4c9d93e27d5e7b908e0aa65819ce763882945123ea174a0825c7aacf9f9494f56d72de5b8308c
 WHIRLPOOL 
ea410de8ca5d81c8b6ff2f98a2353601a48435649e3c5931e41f9e7f4ccb8f9a8faf2156a3632de223638f1e91d608c5a77660fa00633a591488498c5e37fec6

diff --git a/media-libs/aubio/aubio-0.3.2-r2.ebuild 
b/media-libs/aubio/aubio-0.3.2-r2.ebuild
deleted file mode 100644
index 539474b..000
--- a/media-libs/aubio/aubio-0.3.2-r2.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=3
-
-PYTHON_DEPEND="2:2.6"
-
-inherit autotools eutils python
-
-DESCRIPTION="Library for audio labelling"
-HOMEPAGE="http://aubio.piem.org";
-SRC_URI="http://aubio.piem.org/pub/${P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ppc64 sparc x86"
-IUSE="alsa doc examples jack lash static-libs"
-
-RDEPEND="sci-libs/fftw:3.0
-   media-libs/libsndfile
-   media-libs/libsamplerate
-   alsa? ( media-libs/alsa-lib )
-   jack? ( media-sound/jack-audio-connection-kit )
-   lash? ( media-sound/lash )"
-DEPEND="${RDEPEND}
-   >=dev-lang/swig-1.3.0
-   virtual/pkgconfig
-   doc? ( app-doc/doxygen virtual/latex-base )"
-
-pkg_setup() {
-   DOCS=( AUTHORS ChangeLog README TODO )
-
-   python_set_active_version 2
-   python_pkg_setup
-}
-
-src_prepare() {
-   # disable automagic puredata wrt #369835
-   sed -i -e '/AC_CHECK_HEADER/s:m_pd.h:dIsAbLe&:' configure.ac || die
-
-   epatch \
-   "${FILESDIR}"/${P}-multilib.patch \
-   "${FILESDIR}"/${P}-numarray-gnuplot.patch
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   $(use_enable static-libs static) \
-   $(use_enable jack) \
-   $(use_enable alsa) \
-   $(use_enable lash)
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   export VARTEXFONTS="${T}/fonts"
-   cd "${S}"/doc
-   doxygen user.cfg
-   doxygen devel.cfg
-   doxygen examples.cfg
-   fi
-}
-
-src_install() {
-   # `default` would be enough here if python.eclass supported EAPI=4
-   emake DESTDIR="${D}" install || die
-   dodoc "${DOCS[@]}"
-
-   doman doc/*.1
-   if use doc; then
-   mv doc/user/html doc/user/user
-   dohtml -r doc/user/user
-   mv doc/devel/html doc/devel/devel
-   dohtml -r doc/devel/devel
-   mv doc/examples/html doc/examples/examples
-   dohtml -r doc/examples/examples
-   fi
-
-   if use examples; then
-   # install dist_noinst_SCRIPTS from Makefile.am
-   insinto /usr/share/doc/${PF}/examples
-   doins 
python/aubio{compare-onset,plot-notes,filter-notes,web.py} || die
-   docinto examples
-   newdoc python/README README.examples
-   fi
-
-   find "${ED}"usr -name '*.la' -exec rm -f {} +
-}
-
-pkg_postinst() { python_mod_optimize aubio; }
-pkg_postrm() { python_mod_cleanup aubio; }

diff --git a/media-libs/aubio/aubio-0.4.0-r1.ebuild 
b/me

[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/

2015-11-01 Thread Alexis Ballier
commit: ae0cd5a3e29ef8750074c65e7b0cead729079a6b
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sun Nov  1 10:27:16 2015 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sun Nov  1 10:27:16 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae0cd5a3

media-libs/aubio: Bump to 0.4.2.

Package-Manager: portage-2.2.23

 media-libs/aubio/Manifest   |   1 +
 media-libs/aubio/aubio-0.4.2.ebuild | 106 
 2 files changed, 107 insertions(+)

diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index d8ae92a..81f4627 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1 +1,2 @@
 DIST aubio-0.4.1.tar.bz2 288136 SHA256 
25d7df0a9cd6366fda764a803424caddf5fb819fc75b42a7a03e1e6f8eb3c695 SHA512 
f36800f1a0cbe72509e05d15d79759ed25975e92701804597ed4c9d93e27d5e7b908e0aa65819ce763882945123ea174a0825c7aacf9f9494f56d72de5b8308c
 WHIRLPOOL 
ea410de8ca5d81c8b6ff2f98a2353601a48435649e3c5931e41f9e7f4ccb8f9a8faf2156a3632de223638f1e91d608c5a77660fa00633a591488498c5e37fec6
+DIST aubio-0.4.2.tar.bz2 304216 SHA256 
1cc58e0fed2b9468305b198ad06b889f228b797a082c2ede716dc30fcb4f8f1f SHA512 
b57b6d147b305a264f0055726f76a8452f784b556a7fda911f056adbedd2855048e93c0e21b9f359e3f442f1542189aff0c214dd85141e2e06048a07f47703ff
 WHIRLPOOL 
1fa0c877261c82d095144c05f753dd5ea303838d48627edf18af4275f8b4aba0dbe5806bb2504bc2c5a2c169d5bd8edd76bcb3cd990abd7b42842d0223918270

diff --git a/media-libs/aubio/aubio-0.4.2.ebuild 
b/media-libs/aubio/aubio-0.4.2.ebuild
new file mode 100644
index 000..9f5142f
--- /dev/null
+++ b/media-libs/aubio/aubio-0.4.2.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+
+inherit distutils-r1 waf-utils multilib eutils
+
+DESCRIPTION="Library for audio labelling"
+HOMEPAGE="http://aubio.org/";
+SRC_URI="http://aubio.org//pub/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate 
sndfile python"
+
+RDEPEND="
+   ffmpeg? (
+   !libav? ( >=media-video/ffmpeg-2.6:0= )
+   libav? ( >=media-video/libav-9:0= )
+   )
+   fftw? ( sci-libs/fftw:3.0 )
+   jack? ( media-sound/jack-audio-connection-kit )
+   libsamplerate? ( media-libs/libsamplerate )
+   python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
+   sndfile? ( media-libs/libsndfile )"
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+   app-text/txt2man
+   doc? ( app-doc/doxygen )"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+DOCS=( AUTHORS ChangeLog README.md )
+PYTHON_SRC_DIR="${S}/python"
+
+src_prepare() {
+   sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
+}
+
+src_configure() {
+   python_setup
+   waf-utils_src_configure \
+   --enable-complex \
+   --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+   $(use_enable double-precision double) \
+   $(use_enable fftw fftw3f) \
+   $(use_enable fftw fftw3) \
+   $(use_enable ffmpeg avcodec) \
+   $(use_enable jack) \
+   $(use_enable libsamplerate samplerate) \
+   $(use_enable sndfile)
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_configure
+   fi
+}
+
+src_compile() {
+   waf-utils_src_compile --notests
+
+   if use doc; then
+   cd "${S}"/doc || die
+   doxygen full.cfg || die
+   fi
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_test() {
+   waf-utils_src_compile --alltests
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   distutils-r1_src_test
+   fi
+}
+
+src_install() {
+   waf-utils_src_install
+
+   if use python ; then
+   cd "${PYTHON_SRC_DIR}" || die
+   DOCS="" distutils-r1_src_install
+   newdoc README README.python
+   fi
+
+   if use doc; then
+   dohtml -r doc/full/html/.
+   dodoc doc/*.txt
+   fi
+
+   if use examples; then
+   # install dist_noinst_SCRIPTS from Makefile.am
+   dodoc -r examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/, media-libs/aubio/files/

2015-09-16 Thread Alexis Ballier
commit: 3c9e7fad2eb6f5052e23e9ee23b74de6dbca3673
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Sep 16 16:49:01 2015 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Wed Sep 16 16:49:01 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c9e7fad

media-libs/aubio: fix build with ffmpeg git master.

Package-Manager: portage-2.2.20.1

 media-libs/aubio/aubio-0.4.1.ebuild   |  3 ++-
 media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch | 22 ++
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/media-libs/aubio/aubio-0.4.1.ebuild 
b/media-libs/aubio/aubio-0.4.1.ebuild
index dfddfdb..3d8976b 100644
--- a/media-libs/aubio/aubio-0.4.1.ebuild
+++ b/media-libs/aubio/aubio-0.4.1.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_OPTIONAL=1
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE='threads(+)'
 
-inherit distutils-r1 waf-utils multilib
+inherit distutils-r1 waf-utils multilib eutils
 
 DESCRIPTION="Library for audio labelling"
 HOMEPAGE="http://aubio.org/";
@@ -39,6 +39,7 @@ PYTHON_SRC_DIR="${S}/python"
 src_prepare() {
sed -i -e "s:\/lib:\/$(get_libdir):" src/wscript_build || die
sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
+   has_version '>=media-video/ffmpeg-2.8' && epatch 
"${FILESDIR}/${PN}-0.4.1-ffmpeg29.patch"
 }
 
 src_configure() {

diff --git a/media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch 
b/media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch
new file mode 100644
index 000..8656271
--- /dev/null
+++ b/media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch
@@ -0,0 +1,22 @@
+Index: aubio-0.4.1/src/io/source_avcodec.c
+===
+--- aubio-0.4.1.orig/src/io/source_avcodec.c
 aubio-0.4.1/src/io/source_avcodec.c
+@@ -167,7 +167,7 @@ aubio_source_avcodec_t * new_aubio_sourc
+   }
+ 
+   AVFrame *avFrame = s->avFrame;
+-  avFrame = avcodec_alloc_frame();
++  avFrame = av_frame_alloc();
+   if (!avFrame) {
+ AUBIO_ERR("source_avcodec: Could not allocate frame for (%s)\n", s->path);
+   }
+@@ -415,7 +415,7 @@ void del_aubio_source_avcodec(aubio_sour
+   }
+   s->output = NULL;
+   if (s->avFrame != NULL) {
+-avcodec_free_frame( &(s->avFrame) );
++av_frame_free( &(s->avFrame) );
+   }
+   s->avFrame = NULL;
+   AUBIO_FREE(s);