diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-14 02:10:04 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-14 02:10:04 +0200 |
commit | d68e6c03460539eb97f782bfb46fa894d843841d (patch) | |
tree | 3f051fc37c3de59d61f08ea7c8a9b2d029113671 /media-libs | |
parent | net-analyzer/nagios-core: amd64 stable wrt bug #628086 (diff) | |
download | gentoo-d68e6c03460539eb97f782bfb46fa894d843841d.tar.gz gentoo-d68e6c03460539eb97f782bfb46fa894d843841d.tar.bz2 gentoo-d68e6c03460539eb97f782bfb46fa894d843841d.zip |
media-libs/taglib: Security cleanup
Gentoo-bug: 627296
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/taglib/Manifest | 1 | ||||
-rw-r--r-- | media-libs/taglib/metadata.xml | 1 | ||||
-rw-r--r-- | media-libs/taglib/taglib-1.11.1.ebuild | 54 | ||||
-rw-r--r-- | media-libs/taglib/taglib-1.9.1-r2.ebuild | 65 |
4 files changed, 0 insertions, 121 deletions
diff --git a/media-libs/taglib/Manifest b/media-libs/taglib/Manifest index c681c95b835e..893cea44b905 100644 --- a/media-libs/taglib/Manifest +++ b/media-libs/taglib/Manifest @@ -1,2 +1 @@ DIST taglib-1.11.1.tar.gz 1261620 SHA256 b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b SHA512 7846775c4954ea948fe4383e514ba7c11f55d038ee06b6ea5a0a1c1069044b348026e76b27aa4ba1c71539aa8143e1401fab39184cc6e915ba0ae2c06133cb98 WHIRLPOOL 243cafaf238303eb2dcdca415ced4dbfb49d4890ba4ad5baec25aff9175bc33e3a20835518d461be946805b7b438c50c86d3999dc98fa648d177ac32a4a0b062 -DIST taglib-1.9.1.tar.gz 654074 SHA256 d4da9aaaddf590ff15273b9b2c4622b6ce8377de0f40bab40155d471ede9c585 SHA512 17523b7ebdd089520289ae817b07f291be93fd0b9d3b2891eb4860a24e45943e94d25b99250c1ac477de5e51b08c39887ca13fdcc2dce17867eb60d1edb26154 WHIRLPOOL 962ec0508d8256a54ea686d4fb8d366f23f82bf10df6406c8012295ceda8416a5f23db6e450551b685798d628623eb5247e6ab7b658f955d897b86340baa5e8e diff --git a/media-libs/taglib/metadata.xml b/media-libs/taglib/metadata.xml index 6322822c7534..cabb8e8cf5a6 100644 --- a/media-libs/taglib/metadata.xml +++ b/media-libs/taglib/metadata.xml @@ -6,7 +6,6 @@ <name>Gentoo KDE Project</name> </maintainer> <use> - <flag name="asf">Provide support for Microsoft's 'advanced systems format' media container.</flag> <flag name="boost">Use <pkg>dev-libs/boost</pkg> instead of GCC built-ins</flag> </use> <upstream> diff --git a/media-libs/taglib/taglib-1.11.1.ebuild b/media-libs/taglib/taglib-1.11.1.ebuild deleted file mode 100644 index d064b14e30f0..000000000000 --- a/media-libs/taglib/taglib-1.11.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-multilib - -DESCRIPTION="A library for reading and editing audio meta data" -HOMEPAGE="https://taglib.github.io/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1 MPL-1.1" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" -SLOT="0" -IUSE="boost debug examples test" - -RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] - boost? ( dev-libs/boost:=[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] - test? ( >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.11-install-examples.patch -) - -MULTILIB_CHOST_TOOLS=( - /usr/bin/taglib-config -) - -src_prepare() { - cmake-utils_src_prepare - - sed -e "s/BUILD_TESTS AND NOT BUILD_SHARED_LIBS/BUILD_TESTS/" \ - -i CMakeLists.txt \ - -i ConfigureChecks.cmake || die -} - -multilib_src_configure() { - local mycmakeargs=( - -DBUILD_EXAMPLES=$(multilib_native_usex examples) - $(cmake-utils_use_find_package boost Boost) - -DBUILD_SHARED_LIBS=ON - -DBUILD_TESTS=$(usex test) - ) - - cmake-utils_src_configure -} - -multilib_src_test() { - # ctest does not work - emake -C "${BUILD_DIR}" check -} diff --git a/media-libs/taglib/taglib-1.9.1-r2.ebuild b/media-libs/taglib/taglib-1.9.1-r2.ebuild deleted file mode 100644 index 807331a20de0..000000000000 --- a/media-libs/taglib/taglib-1.9.1-r2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit cmake-multilib - -DESCRIPTION="A library for reading and editing audio meta data" -HOMEPAGE="https://taglib.github.io/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1 MPL-1.1" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" -SLOT="0" -IUSE="+asf debug examples +mp4 test" - -RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]" -DEPEND="${RDEPEND} - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] - test? ( >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] ) -" -RDEPEND="${RDEPEND} - abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20140508-r2 - !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" - -PATCHES=( - "${FILESDIR}"/${PN}-1.6.1-install-examples.patch - "${FILESDIR}"/${P}-missing-deletes.patch - "${FILESDIR}"/${P}-order-big-endian.patch - "${FILESDIR}"/${P}-abi-breakage.patch - "${FILESDIR}"/${P}-bytevector-simpler.patch -) - -DOCS=( AUTHORS NEWS ) - -MULTILIB_CHOST_TOOLS=( - /usr/bin/taglib-config -) - -multilib_src_configure() { - mycmakeargs=( - $(multilib_is_native_abi && cmake-utils_use_build examples) - $(cmake-utils_use_build test TESTS) - $(cmake-utils_use_with asf) - $(cmake-utils_use_with mp4) - ) - - cmake-utils_src_configure -} - -multilib_src_test() { - # ctest does not work - emake -C "${BUILD_DIR}" check -} - -pkg_postinst() { - if ! use asf; then - elog "You've chosen to disable the asf use flag, thus taglib won't include" - elog "support for Microsoft's 'advanced systems format' media container" - fi - if ! use mp4; then - elog "You've chosen to disable the mp4 use flag, thus taglib won't include" - elog "support for the MPEG-4 part 14 / MP4 media container" - fi -} |