diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-11-17 23:21:18 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-11-17 23:21:18 +0100 |
commit | 6c78ad29f234c9e3fcb2011e33d3dacb09717c79 (patch) | |
tree | c6e8816b3cb4eaf5d27a5020c65f146c31effd9b /media-libs/taglib | |
parent | media-plugins/audacious-plugins: 3.10 version bump (diff) | |
download | gentoo-6c78ad29f234c9e3fcb2011e33d3dacb09717c79.tar.gz gentoo-6c78ad29f234c9e3fcb2011e33d3dacb09717c79.tar.bz2 gentoo-6c78ad29f234c9e3fcb2011e33d3dacb09717c79.zip |
media-libs/taglib: 1.11.1_p20181028 snapshot bump
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@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_p20181028.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/taglib/Manifest b/media-libs/taglib/Manifest index cb9957fe1c28..d83fc6fa89d4 100644 --- a/media-libs/taglib/Manifest +++ b/media-libs/taglib/Manifest @@ -1 +1,2 @@ DIST taglib-1.11.1.tar.gz 1261620 BLAKE2B b33212df2a63d8d6bbca62b175812ec52783fdbfed8fb7bc5dedde845ac01e4f89a64d96b231e1db1e5e609e84dd84d83a2266c1f9ed371f1fad7ffca50486ac SHA512 7846775c4954ea948fe4383e514ba7c11f55d038ee06b6ea5a0a1c1069044b348026e76b27aa4ba1c71539aa8143e1401fab39184cc6e915ba0ae2c06133cb98 +DIST taglib-1.11.1_p20181028.tar.gz 1299993 BLAKE2B d281873a87742ba417ea764bb01f9a4c5553a4624d2c257dd82bbb2f0b7e3103ab6ca253f78c0167908f449aac833873ca1cce6f24b1eb5f608131382833262a SHA512 e26439b65ab579455f79e87a94c33a98e17209b31a19b531e5964a2c0ded395c35067655e31ad22b6205149e2e920d7bd145993f064d3ad13e1de8a9f7e37256 diff --git a/media-libs/taglib/taglib-1.11.1_p20181028.ebuild b/media-libs/taglib/taglib-1.11.1_p20181028.ebuild new file mode 100644 index 000000000000..8bea0ad114ec --- /dev/null +++ b/media-libs/taglib/taglib-1.11.1_p20181028.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +COMMIT=5cb589a5b82c13ba8f0542e5e79629da7645cb3c +inherit cmake-multilib flag-o-matic + +DESCRIPTION="A library for reading and editing audio meta data" +HOMEPAGE="https://taglib.github.io/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.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="debug examples 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}] ) +" + +S="${WORKDIR}/${PN}-${COMMIT}" + +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 + + # bug 651744 + append-cxxflags -std=c++11 +} + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=$(multilib_native_usex examples) + -DBUILD_SHARED_LIBS=ON + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +} + +multilib_src_test() { + # ctest does not work + emake -C "${BUILD_DIR}" check +} |