diff options
author | Craig Andrews <candrews@integralblue.com> | 2016-12-18 21:35:16 -0500 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-12-20 20:03:23 +0100 |
commit | d6627420b859f82355a9166659228b30ca62eba9 (patch) | |
tree | f2ba77e76bf1b674684e110d85ea19cf0ef4e04a /media-libs/taglib | |
parent | sys-apps/openrc: 0.23 version bump (diff) | |
download | gentoo-d6627420b859f82355a9166659228b30ca62eba9.tar.gz gentoo-d6627420b859f82355a9166659228b30ca62eba9.tar.bz2 gentoo-d6627420b859f82355a9166659228b30ca62eba9.zip |
media-libs/taglib: 1.11.1 version bump
Gentoo-bug: 603040
Closes: https://github.com/gentoo/gentoo/pull/3170
Signed-off-by: Johannes Huber <johu@gentoo.org>
Diffstat (limited to 'media-libs/taglib')
-rw-r--r-- | media-libs/taglib/Manifest | 1 | ||||
-rw-r--r-- | media-libs/taglib/taglib-1.11.1.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/media-libs/taglib/Manifest b/media-libs/taglib/Manifest index 27f9ea07f1d0..78da2832e337 100644 --- a/media-libs/taglib/Manifest +++ b/media-libs/taglib/Manifest @@ -1,3 +1,4 @@ DIST taglib-1.10.tar.gz 1233893 SHA256 2cd09ac6d4c4ec610aa5a0a488466bd0e0f78576581ef1f344090e397ecb9c52 SHA512 bf3256b08c4fa35d9416b50d700a6634222485e481528bd2a711ae7ec0d48ee99aed66286199f30e5391218aa818a692b92c779b5fcf40617a78b767bfd9b9a5 WHIRLPOOL ae55b391a69416877674ba9bdf01fcca06a216589c620785a4d7a489b548969bf317ce8d08aab9309325564f7ebe8e4b0c51f8bf2269c6d995f2a1ad8b430790 +DIST taglib-1.11.1.tar.gz 1261620 SHA256 b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b SHA512 7846775c4954ea948fe4383e514ba7c11f55d038ee06b6ea5a0a1c1069044b348026e76b27aa4ba1c71539aa8143e1401fab39184cc6e915ba0ae2c06133cb98 WHIRLPOOL 243cafaf238303eb2dcdca415ced4dbfb49d4890ba4ad5baec25aff9175bc33e3a20835518d461be946805b7b438c50c86d3999dc98fa648d177ac32a4a0b062 DIST taglib-1.11.tar.gz 1263736 SHA256 ed4cabb3d970ff9a30b2620071c2b054c4347f44fc63546dbe06f97980ece288 SHA512 f353bd0dadcc75f8a8f08919efc3aec2502166a3e23dd605f1b1c14ffe68ea1d2c59731bc4e0e4ee879ccf33436e4084e7c4d983034a1ce85fe0fa31a78dede7 WHIRLPOOL 4143fff5ad6141388ea5184b7f73772deb3245d8abb4381ae43de59624f95237c4d206d7afb776422e55fd54b83b631e391a0b6e3f5181e09f3f78de7103cff7 DIST taglib-1.9.1.tar.gz 654074 SHA256 d4da9aaaddf590ff15273b9b2c4622b6ce8377de0f40bab40155d471ede9c585 SHA512 17523b7ebdd089520289ae817b07f291be93fd0b9d3b2891eb4860a24e45943e94d25b99250c1ac477de5e51b08c39887ca13fdcc2dce17867eb60d1edb26154 WHIRLPOOL 962ec0508d8256a54ea686d4fb8d366f23f82bf10df6406c8012295ceda8416a5f23db6e450551b685798d628623eb5247e6ab7b658f955d897b86340baa5e8e diff --git a/media-libs/taglib/taglib-1.11.1.ebuild b/media-libs/taglib/taglib-1.11.1.ebuild new file mode 100644 index 000000000000..6cd16edf2b82 --- /dev/null +++ b/media-libs/taglib/taglib-1.11.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~x86-freebsd ~x86-interix ~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 +} |