From 1eddbb7597a5f4495d657914937ddb03820c614b Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 22 Jan 2020 22:45:22 +0100 Subject: media-libs/aubio: Revbump post dep change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- media-libs/aubio/aubio-0.4.7-r1.ebuild | 126 +++++++++++++++++++++++++++++++++ media-libs/aubio/aubio-0.4.7.ebuild | 126 --------------------------------- 2 files changed, 126 insertions(+), 126 deletions(-) create mode 100644 media-libs/aubio/aubio-0.4.7-r1.ebuild delete mode 100644 media-libs/aubio/aubio-0.4.7.ebuild (limited to 'media-libs') diff --git a/media-libs/aubio/aubio-0.4.7-r1.ebuild b/media-libs/aubio/aubio-0.4.7-r1.ebuild new file mode 100644 index 000000000000..544e1262ead4 --- /dev/null +++ b/media-libs/aubio/aubio-0.4.7-r1.ebuild @@ -0,0 +1,126 @@ +# 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 libav libsamplerate sndfile python test" +RESTRICT="!test? ( 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-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 "${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.7.ebuild b/media-libs/aubio/aubio-0.4.7.ebuild deleted file mode 100644 index 544e1262ead4..000000000000 --- a/media-libs/aubio/aubio-0.4.7.ebuild +++ /dev/null @@ -1,126 +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 libav libsamplerate sndfile python test" -RESTRICT="!test? ( 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-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 "${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-65-gdbad