summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-06-23 06:02:39 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-06-23 06:02:39 +0200
commit71fa229ce314df4d02534442c2b01074dc859e12 (patch)
tree901cb97974e87de62658a561419e9ccfe30848c9 /media-libs
parentmedia-sound/abcmidi: dropped obsolete 2022.05.05 (diff)
downloadgentoo-71fa229ce314df4d02534442c2b01074dc859e12.tar.gz
gentoo-71fa229ce314df4d02534442c2b01074dc859e12.tar.bz2
gentoo-71fa229ce314df4d02534442c2b01074dc859e12.zip
media-libs/aubio: dropped obsolete 0.4.9-r1
Bug: https://bugs.gentoo.org/853610 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/aubio/aubio-0.4.9-r1.ebuild142
1 files changed, 0 insertions, 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..000000000000
--- 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
-}