From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-libs/aubio/Manifest | 12 +++ 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.5-r1.ebuild | 110 ++++++++++++++++++++++ media-libs/aubio/aubio-0.4.6.ebuild | 110 ++++++++++++++++++++++ media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch | 22 +++++ media-libs/aubio/metadata.xml | 11 +++ 7 files changed, 474 insertions(+) create mode 100644 media-libs/aubio/Manifest create mode 100644 media-libs/aubio/aubio-0.4.1-r1.ebuild create mode 100644 media-libs/aubio/aubio-0.4.2-r1.ebuild create mode 100644 media-libs/aubio/aubio-0.4.5-r1.ebuild create mode 100644 media-libs/aubio/aubio-0.4.6.ebuild create mode 100644 media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch create mode 100644 media-libs/aubio/metadata.xml (limited to 'media-libs/aubio') diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest new file mode 100644 index 000000000000..3ea777d30bc1 --- /dev/null +++ b/media-libs/aubio/Manifest @@ -0,0 +1,12 @@ +AUX aubio-0.4.1-ffmpeg29.patch 709 SHA256 bfec9dd14de0ad2a31890ec679c7e60ceab2d1f8d5455c37b2ada14f0c1fe019 SHA512 7dfec25471d9d802d747cf13102067de0ff589e51501083cab35cc9e3fc8947e1ccdbd2087cfdc0caa7cf9129dde5dc37a3e90548fb8328322aa7a9ca89a6ae0 WHIRLPOOL 2ead1bde08e3471309f49369a1b3a6f09dd8dcb4b3c410b7b23bbb2ec68fec6eafb315a04ac3c619c0512b01983465a4e0a3e4c9f1fd7f93d5e320b8a965a436 +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.5.tar.bz2 350615 SHA256 70c2804e6f4fbf0ebc0fb9ac8cc9d465ef4a4d438311c074c9a7364e98827af6 SHA512 0aeaee5efc117201ca7b1fe2a421826ade83ce5b3ba50c27a8cf65debeedb20dd5a5ac28e20935bb29ca2b0d1b70cf93feee298989dfc79978f689e989235608 WHIRLPOOL b70d452570d1fc8b7168eac5bca3ce150aa33f24576815efa685cffef60511fa3e259c233c8f3d99ae5f88a6d8e94d4686a040912948c3783323eceec202a843 +DIST aubio-0.4.6.tar.bz2 363016 SHA256 bdc73be1f007218d3ea6d2a503b38a217815a0e2ccc4ed441f6e850ed5d47cfb SHA512 0e5cab0c88d51f2fb70c0d85e1c067a7b3758fbffdbd5026686726379aa36203adb63ed3f8e40c83ea02930e0ffc4e6c246803f1d518d448d47a01984678e77d WHIRLPOOL 3c1a789d4103681ed005fa4d10aa6b8e3515c2b46a6dc6584e8c94e701dd681fd8fe3561809a9bdaf41c2e3605b2da8d3f19f331825102ff2cf84a1995c7da65 +EBUILD aubio-0.4.1-r1.ebuild 2290 SHA256 fc750b96c61ac73c14907baa5f9545a1f49ecec39e29a2cf7fd6f2e458a5cc8b SHA512 104687177d18f338d7616995602e04da412aecd184ef2759739cce7e242b138769b0d4ea54baa1730d81fbe4c5b2a371e72f9b9127b9f1a180f5baea81f3db4b WHIRLPOOL 79fdd44b468e343ac09c7a2b1bc8afb14aaa97f94f9b5e355915762f2fb16b1055e381f8f232e235174ab880a935de48de670945809d9c3d19cbbad7af5c5051 +EBUILD aubio-0.4.2-r1.ebuild 2212 SHA256 22a9184523fb14a015099e12a2cb95a10b83a6516fafbc5d215995d4f794fcc3 SHA512 ed2478410501447475bea8474387339a291e6f790672fa4afe2a7ecbf5ab707a7b7c750e02083c705bf8f10da4dc04f0ca94987992c8dae19ccc3fae71323c4d WHIRLPOOL 8a9b90f0e76f637402f56b62703ae51aad3e6793b5b7d25a63558b01c6b5f59ed4d02e0d466d5cadf6925732164545f22fc37884ecd3d2043581eb060f1c9513 +EBUILD aubio-0.4.5-r1.ebuild 2241 SHA256 d1384341163102f76ecd224847888734ee82350fe368576c74a54c47c5063845 SHA512 3d22857c85d7720c99ca12c01ebf8aa14616ac4de53a83faed08d84e65e9e6b2d7327d00104490de568c930e758b9ed9b835449d15990ff0b2bebcdec788e81d WHIRLPOOL 1dbbfa1568b0b1fa183430d35bd287ebe8e42dbd3191887a2a5b5eeb863bcdf18207517ba952b1d2ab7e592905b30f373c669a5904daf1bdd9c1de72df7b4daf +EBUILD aubio-0.4.6.ebuild 2241 SHA256 d1384341163102f76ecd224847888734ee82350fe368576c74a54c47c5063845 SHA512 3d22857c85d7720c99ca12c01ebf8aa14616ac4de53a83faed08d84e65e9e6b2d7327d00104490de568c930e758b9ed9b835449d15990ff0b2bebcdec788e81d WHIRLPOOL 1dbbfa1568b0b1fa183430d35bd287ebe8e42dbd3191887a2a5b5eeb863bcdf18207517ba952b1d2ab7e592905b30f373c669a5904daf1bdd9c1de72df7b4daf +MISC ChangeLog 3743 SHA256 37a977f526212d13421f2e881ea76b4e52e65044e74f893251ed97e187974095 SHA512 9cfaa2a56aa816130be0c86c90ae656e1d5fd3d4d8e359cb9c6637c0fe643d35bf73bdf1f7592f47f1746f5654ffee168f53c90930c2f2ba50436459b565fdfc WHIRLPOOL ba33711a1cdc7106fd3a3b294a82ff4722eec75100ed7b6e0cc0ae02e3e4c54071022d48decdaa486ca3390f97e63ca79896b492c91ae286b6d405d30a0a0537 +MISC ChangeLog-2015 4507 SHA256 dd91c56ed79f0401d51e1b6a74e5fbe0a0786bfefc6cbbe6f0b4f925f3f1c31f SHA512 36fb5222283269e3251a9517e776e7f6411f7d7a872507a6dbb4d054a9a0103441e4b73bc4843e4c87e93fb30b0ab3039fc9b933f0a16e6385bc7a053970b87b WHIRLPOOL 54c9d7b990ba2c3ee236370fb6cf05c92dc2fa5f4e5126b56eaa32013f951c0854c25137d6dfe9b34829f97f175619a11e0b42e4f7a44165f2f66a418330f903 +MISC metadata.xml 346 SHA256 eea3059cbbdd93c23208857465f0432590b9b89cfa324efcbe586769c920b395 SHA512 ff3830c2d2322fabdb34458fd27c3e05ad825b1d707eee6150417e4c21480bdffbe4e639ff33a9914cc28189b91e970719326f065746f4241e186f7b27b168d1 WHIRLPOOL 9dda40a3aac2966e9116f275dd9b2199c17d51136ac8014098fe2489558b48997d08532a181d007f8c5a3f5b9145773b71d1b28a04b7599fe2b6bfe1e85b4585 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..59a64870fc89 --- /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="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 +} + +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..47feb82207d9 --- /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="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 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.5-r1.ebuild b/media-libs/aubio/aubio-0.4.5-r1.ebuild new file mode 100644 index 000000000000..c02467cd6e71 --- /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="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.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.6.ebuild b/media-libs/aubio/aubio-0.4.6.ebuild new file mode 100644 index 000000000000..c02467cd6e71 --- /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 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/files/aubio-0.4.1-ffmpeg29.patch b/media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch new file mode 100644 index 000000000000..86562716d3e5 --- /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); diff --git a/media-libs/aubio/metadata.xml b/media-libs/aubio/metadata.xml new file mode 100644 index 000000000000..9323227b8ef7 --- /dev/null +++ b/media-libs/aubio/metadata.xml @@ -0,0 +1,11 @@ + + + + + proaudio@gentoo.org + Gentoo ProAudio Project + + + Compile in double precision mode. + + -- cgit v1.2.3