summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-07-16 00:29:08 +0000
committerSam James <sam@gentoo.org>2020-07-16 01:01:34 +0000
commit3fada402b4218b1e0e6e731900d6f889f1939d82 (patch)
treefef9d49f575113a09b0832db29c936e8bd8125f3 /media-libs
parentapp-arch/lha: security cleanup (diff)
downloadgentoo-3fada402b4218b1e0e6e731900d6f889f1939d82.tar.gz
gentoo-3fada402b4218b1e0e6e731900d6f889f1939d82.tar.bz2
gentoo-3fada402b4218b1e0e6e731900d6f889f1939d82.zip
media-libs/aubio: security cleanup
Bug: https://bugs.gentoo.org/711226 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/aubio/Manifest2
-rw-r--r--media-libs/aubio/aubio-0.4.7-r1.ebuild123
-rw-r--r--media-libs/aubio/aubio-0.4.8.ebuild124
-rw-r--r--media-libs/aubio/files/aubio-0.4.8-docdir.patch20
4 files changed, 0 insertions, 269 deletions
diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest
index 77196db1fd3d..cafe77d9791a 100644
--- a/media-libs/aubio/Manifest
+++ b/media-libs/aubio/Manifest
@@ -1,3 +1 @@
-DIST aubio-0.4.7.tar.bz2 372173 BLAKE2B 544239b215dd87d4cf4a6ed6b5dd856411d0a3f1c3242e3e1077fa0780160785a9934884a1f0d0dc80fe21b1d417bc3800db59842ec300a4c29d75b7942cba05 SHA512 30c614f2b502b993df28d4746a99421fe0aada33c98c42ea19c271554b29b360cb4d4f6650c1b1da508da4bc341348c5944cb452f69b2bf354ca6348f84de260
-DIST aubio-0.4.8.tar.bz2 387933 BLAKE2B e30d0ce97360376edf8eba895dc3040157a139c843ef9d6bf0483ffb750916eaccf9e28b8d80dcc0034572cca4f08479e4db44468c96206ce7b60a2fa9600634 SHA512 e58b32beda36865a5243ec7ed4647cf96e3652a25fd319fc697c08f93487f895070dc66b830700b40b879220c2e3a53b8cdc255ce2e34770ba5e34b36a4f51b4
DIST aubio-0.4.9.tar.bz2 397604 BLAKE2B b849d92678ea8fb20e17921b1a61fdc85a84d4a528acfefa3278169ab5f7fe935217ec37dd9f931202f0f0a1fd3a9518372afbce34cc2dd3ca30c6b4e5d9a301 SHA512 0cb81bb4b15051db3f3f4d160d500af56fdfb237e0a74e3f366f53c2870030aa0a7cee8469a611a9694c36b8866d3d42ffb48241c999de08f3fee43e6d903130
diff --git a/media-libs/aubio/aubio-0.4.7-r1.ebuild b/media-libs/aubio/aubio-0.4.7-r1.ebuild
deleted file mode 100644
index 977ee51acd4e..000000000000
--- a/media-libs/aubio/aubio-0.4.7-r1.ebuild
+++ /dev/null
@@ -1,123 +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 libsamplerate sndfile python test"
-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-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.8.ebuild b/media-libs/aubio/aubio-0.4.8.ebuild
deleted file mode 100644
index cb37129ec5ca..000000000000
--- a/media-libs/aubio/aubio-0.4.8.ebuild
+++ /dev/null
@@ -1,124 +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=( python3_{6,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 libsamplerate sndfile python test"
-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 )
-"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
- ?? ( double-precision libsamplerate )
-"
-
-DOCS=( AUTHORS ChangeLog README.md )
-PYTHON_SRC_DIR="${S}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.4.8-docdir.patch
-)
-
-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/files/aubio-0.4.8-docdir.patch b/media-libs/aubio/files/aubio-0.4.8-docdir.patch
deleted file mode 100644
index 58797995e3a6..000000000000
--- a/media-libs/aubio/files/aubio-0.4.8-docdir.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- aubio-0.4.8/wscript
-+++ aubio-0.4.8/wscript
-@@ -548,7 +548,7 @@
- source = 'doc/web.cfg',
- target = '../doc/web/html/index.html',
- cwd = 'doc')
-- bld.install_files( '${DATAROOTDIR}' + '/doc/libaubio-doc',
-+ bld.install_files( '${DATAROOTDIR}' + '/doc/' + os.environ['PF'] + '/libaubio-doc',
- bld.path.ant_glob('doc/web/html/**'),
- cwd = bld.path.find_dir ('doc/web'),
- relative_trick = True)
-@@ -564,7 +564,7 @@
- ' `dirname ${SRC}` `dirname ${TGT}`',
- source = 'doc/conf.py',
- target = '../doc/_build/html/index.html')
-- bld.install_files( '${DATAROOTDIR}' + '/doc/libaubio-doc/sphinx',
-+ bld.install_files( '${DATAROOTDIR}' + '/doc/' + os.environ['PF'] + '/libaubio-doc/sphinx',
- bld.path.ant_glob('doc/_build/html/**'),
- cwd = bld.path.find_dir('doc/_build/html'),
- relative_trick = True)