From 7f0ccc917c7abe6223784c703d86cd14755691fb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Jul 2021 22:39:47 +0100 Subject: gentoo resync : 03.07.2021 --- media-libs/aubio/Manifest | 2 +- media-libs/aubio/aubio-0.4.9-r1.ebuild | 142 +++++++++++++++++++++++++++++++++ media-libs/aubio/aubio-0.4.9.ebuild | 142 --------------------------------- 3 files changed, 143 insertions(+), 143 deletions(-) create mode 100644 media-libs/aubio/aubio-0.4.9-r1.ebuild delete mode 100644 media-libs/aubio/aubio-0.4.9.ebuild (limited to 'media-libs/aubio') diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest index 0d0e6fc9e2a1..458378733d88 100644 --- a/media-libs/aubio/Manifest +++ b/media-libs/aubio/Manifest @@ -1,4 +1,4 @@ AUX aubio-0.4.9-docdir.patch 1192 BLAKE2B 617f5a63d51440eba157687b752822b3e14316781d3534c63194c9bef214574f195d3dfb949fc357862c7ddab01e0f9bb58ea54a75dac4c90f27a24f0c1cf477 SHA512 dffe872bd5c63eb874f00b1303e63f241d9b349d5f32fbf34b659b6211cc9cc828784bb3f5ddd2210c9e6b8459a73e842988bad4474b19e319145971de138526 DIST aubio-0.4.9.tar.bz2 397604 BLAKE2B b849d92678ea8fb20e17921b1a61fdc85a84d4a528acfefa3278169ab5f7fe935217ec37dd9f931202f0f0a1fd3a9518372afbce34cc2dd3ca30c6b4e5d9a301 SHA512 0cb81bb4b15051db3f3f4d160d500af56fdfb237e0a74e3f366f53c2870030aa0a7cee8469a611a9694c36b8866d3d42ffb48241c999de08f3fee43e6d903130 -EBUILD aubio-0.4.9.ebuild 2894 BLAKE2B 64ac074903ced4eccb7c12812977fe4cc241b313011a603af532883d48e6f53d2a2ed1b7bf2d5678d76fe0c9894dad849f3665b12e8a5142e56c1a9c737a5b2e SHA512 0c5c1098ee248deba4a291d53abfb33bae7702b0e62de693a5f90f1abc6095ba85f223a08a8b38fd0190e1dc3242ab6d99f63446ed8a1de29a112a615f026bec +EBUILD aubio-0.4.9-r1.ebuild 2889 BLAKE2B fe56be741202f0b276597d2deac892a43e3851b41fd6aed4501e9fe58000276f6974eada9e66ec4a5ad334e4ff5b8182ddfac6a0f2ebef409b9b9e7285a77f7d SHA512 5f6361a838acf21c30972331d5cc0b919bfa7742314ff23a5ee901f5130105494a87fe50bedde4f34984926116e894a466dfd8ec5c90f3224c6516e06ae5056a MISC metadata.xml 346 BLAKE2B 00429033f506bf3818f26f13062d21d0d04d8fc84185244615a09d008c5da6e350df5f32bdcba2c07103039ed64f802cc563a0ca8cd79e117741b947e421142d SHA512 ff3830c2d2322fabdb34458fd27c3e05ad825b1d707eee6150417e4c21480bdffbe4e639ff33a9914cc28189b91e970719326f065746f4241e186f7b27b168d1 diff --git a/media-libs/aubio/aubio-0.4.9-r1.ebuild b/media-libs/aubio/aubio-0.4.9-r1.ebuild new file mode 100644 index 000000000000..33eae76c51c9 --- /dev/null +++ b/media-libs/aubio/aubio-0.4.9-r1.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2021 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 + +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 +) + +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 +} diff --git a/media-libs/aubio/aubio-0.4.9.ebuild b/media-libs/aubio/aubio-0.4.9.ebuild deleted file mode 100644 index 3e1e243b1c38..000000000000 --- a/media-libs/aubio/aubio-0.4.9.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DISTUTILS_OPTIONAL=1 -DISTUTILS_USE_SETUPTOOLS=rdepend -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 -) - -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 -} -- cgit v1.2.3