diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-10-12 10:43:24 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-10-12 11:31:43 +0200 |
commit | 21c29981c37deb886f6beee1dfb935e3e2b29ecd (patch) | |
tree | af0f3695305c879ad4352da3782683d390ba9573 /media-libs | |
parent | package.mask: Last rite dev-python/cgkit (diff) | |
download | gentoo-21c29981c37deb886f6beee1dfb935e3e2b29ecd.tar.gz gentoo-21c29981c37deb886f6beee1dfb935e3e2b29ecd.tar.bz2 gentoo-21c29981c37deb886f6beee1dfb935e3e2b29ecd.zip |
media-libs/taglib: 1.11.1_p20190920 snapshot bump
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/taglib/Manifest | 1 | ||||
-rw-r--r-- | media-libs/taglib/taglib-1.11.1_p20190920.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/media-libs/taglib/Manifest b/media-libs/taglib/Manifest index 22540a0665a4..cdb9e1df4a01 100644 --- a/media-libs/taglib/Manifest +++ b/media-libs/taglib/Manifest @@ -1 +1,2 @@ DIST taglib-1.11.1_p20181028.tar.gz 1299993 BLAKE2B d281873a87742ba417ea764bb01f9a4c5553a4624d2c257dd82bbb2f0b7e3103ab6ca253f78c0167908f449aac833873ca1cce6f24b1eb5f608131382833262a SHA512 e26439b65ab579455f79e87a94c33a98e17209b31a19b531e5964a2c0ded395c35067655e31ad22b6205149e2e920d7bd145993f064d3ad13e1de8a9f7e37256 +DIST taglib-1.11.1_p20190920.tar.gz 1290100 BLAKE2B 38f65450b5e7c33b14187ab461bfd18d77f93d1ecab5ccf0c898ca6e67fd05aebac09318d4e1cabf1fdbca38800332ef9d0d5d1317087e69672734d1dec1dfe2 SHA512 4f7ad2a0713d38e8885b10d08041abdfb6c669369edd16e8345d7d679c16c15f191ca378e6690e06347f29e0e9cadebcb95ba26dc583c1127c4531558df27173 diff --git a/media-libs/taglib/taglib-1.11.1_p20190920.ebuild b/media-libs/taglib/taglib-1.11.1_p20190920.ebuild new file mode 100644 index 000000000000..b83996484d65 --- /dev/null +++ b/media-libs/taglib/taglib-1.11.1_p20190920.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +COMMIT=54508df30bc888c4d2359576ceb0cc8f2fa8dbdf +inherit cmake-multilib + +DESCRIPTION="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-linux ~x86-linux ~ppc-macos ~x86-solaris" +SLOT="0" +IUSE="debug examples test" + +BDEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" +RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + test? ( >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.11-install-examples.patch + "${FILESDIR}"/${PN}-1.11.1_p20181028-version-1.11.2.patch +) + +MULTILIB_CHOST_TOOLS=( + /usr/bin/taglib-config +) + +S="${WORKDIR}/${PN}-${COMMIT}" + +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) + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +} + +multilib_src_test() { + # ctest does not work + emake -C "${BUILD_DIR}" check +} |