From f891bb8ffd906298f9fcd267dfcb5452ccdde160 Mon Sep 17 00:00:00 2001 From: Karl Linden Date: Tue, 9 May 2017 07:18:04 +0200 Subject: media-libs/aubio: depend on virtual/jack Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- media-libs/aubio/aubio-0.4.1-r1.ebuild | 104 +++++++++++++++++++++++++++++++ media-libs/aubio/aubio-0.4.1.ebuild | 104 ------------------------------- media-libs/aubio/aubio-0.4.2-r1.ebuild | 105 +++++++++++++++++++++++++++++++ media-libs/aubio/aubio-0.4.2.ebuild | 105 ------------------------------- media-libs/aubio/aubio-0.4.3-r1.ebuild | 105 +++++++++++++++++++++++++++++++ media-libs/aubio/aubio-0.4.3.ebuild | 105 ------------------------------- media-libs/aubio/aubio-0.4.4-r1.ebuild | 105 +++++++++++++++++++++++++++++++ media-libs/aubio/aubio-0.4.4.ebuild | 105 ------------------------------- media-libs/aubio/aubio-0.4.5-r1.ebuild | 110 +++++++++++++++++++++++++++++++++ media-libs/aubio/aubio-0.4.5.ebuild | 110 --------------------------------- 10 files changed, 529 insertions(+), 529 deletions(-) create mode 100644 media-libs/aubio/aubio-0.4.1-r1.ebuild delete mode 100644 media-libs/aubio/aubio-0.4.1.ebuild create mode 100644 media-libs/aubio/aubio-0.4.2-r1.ebuild delete mode 100644 media-libs/aubio/aubio-0.4.2.ebuild create mode 100644 media-libs/aubio/aubio-0.4.3-r1.ebuild delete mode 100644 media-libs/aubio/aubio-0.4.3.ebuild create mode 100644 media-libs/aubio/aubio-0.4.4-r1.ebuild delete mode 100644 media-libs/aubio/aubio-0.4.4.ebuild create mode 100644 media-libs/aubio/aubio-0.4.5-r1.ebuild delete mode 100644 media-libs/aubio/aubio-0.4.5.ebuild (limited to 'media-libs') diff --git a/media-libs/aubio/aubio-0.4.1-r1.ebuild b/media-libs/aubio/aubio-0.4.1-r1.ebuild new file mode 100644 index 000000000000..8ccc2f4753d2 --- /dev/null +++ b/media-libs/aubio/aubio-0.4.1-r1.ebuild @@ -0,0 +1,104 @@ +# 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" +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 +} + +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 +} diff --git a/media-libs/aubio/aubio-0.4.1.ebuild b/media-libs/aubio/aubio-0.4.1.ebuild deleted file mode 100644 index 13f75c8be79a..000000000000 --- a/media-libs/aubio/aubio-0.4.1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2015 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" -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? ( 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:\/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 -} - -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 -} diff --git a/media-libs/aubio/aubio-0.4.2-r1.ebuild b/media-libs/aubio/aubio-0.4.2-r1.ebuild new file mode 100644 index 000000000000..108990c8de90 --- /dev/null +++ b/media-libs/aubio/aubio-0.4.2-r1.ebuild @@ -0,0 +1,105 @@ +# 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" +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}/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 +} diff --git a/media-libs/aubio/aubio-0.4.2.ebuild b/media-libs/aubio/aubio-0.4.2.ebuild deleted file mode 100644 index f2817976d3f5..000000000000 --- a/media-libs/aubio/aubio-0.4.2.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2015 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" -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 -} diff --git a/media-libs/aubio/aubio-0.4.3-r1.ebuild b/media-libs/aubio/aubio-0.4.3-r1.ebuild new file mode 100644 index 000000000000..74a669bf10df --- /dev/null +++ b/media-libs/aubio/aubio-0.4.3-r1.ebuild @@ -0,0 +1,105 @@ +# 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 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 python/README.md README.python + fi +} diff --git a/media-libs/aubio/aubio-0.4.3.ebuild b/media-libs/aubio/aubio-0.4.3.ebuild deleted file mode 100644 index 3aef83312761..000000000000 --- a/media-libs/aubio/aubio-0.4.3.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2016 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? ( 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 - 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 python/README.md README.python - fi -} diff --git a/media-libs/aubio/aubio-0.4.4-r1.ebuild b/media-libs/aubio/aubio-0.4.4-r1.ebuild new file mode 100644 index 000000000000..74a669bf10df --- /dev/null +++ b/media-libs/aubio/aubio-0.4.4-r1.ebuild @@ -0,0 +1,105 @@ +# 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 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 python/README.md README.python + fi +} diff --git a/media-libs/aubio/aubio-0.4.4.ebuild b/media-libs/aubio/aubio-0.4.4.ebuild deleted file mode 100644 index 5cb99e4ee1f5..000000000000 --- a/media-libs/aubio/aubio-0.4.4.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? ( 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 - 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 python/README.md README.python - fi -} diff --git a/media-libs/aubio/aubio-0.4.5-r1.ebuild b/media-libs/aubio/aubio-0.4.5-r1.ebuild new file mode 100644 index 000000000000..371258ddba3b --- /dev/null +++ b/media-libs/aubio/aubio-0.4.5-r1.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? ( 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.python + fi + + if use doc; then + dodoc doc/*.txt + docinto html + dodoc -r doc/_build/dirhtml/. + fi +} diff --git a/media-libs/aubio/aubio-0.4.5.ebuild b/media-libs/aubio/aubio-0.4.5.ebuild deleted file mode 100644 index f7f10c20a7a8..000000000000 --- a/media-libs/aubio/aubio-0.4.5.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="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 - 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 -} -- cgit v1.2.3-65-gdbad