diff options
Diffstat (limited to 'media-libs/taglib')
-rw-r--r-- | media-libs/taglib/Manifest | 4 | ||||
-rw-r--r-- | media-libs/taglib/taglib-1.11.1_p20181028.ebuild | 2 | ||||
-rw-r--r-- | media-libs/taglib/taglib-1.11.1_p20190920.ebuild | 55 |
3 files changed, 59 insertions, 2 deletions
diff --git a/media-libs/taglib/Manifest b/media-libs/taglib/Manifest index 71d857189525..59604aeb463b 100644 --- a/media-libs/taglib/Manifest +++ b/media-libs/taglib/Manifest @@ -1,5 +1,7 @@ AUX taglib-1.11-install-examples.patch 371 BLAKE2B ee42b80e8c6093dbfc4c89c25bcb6bd25e2f5152c14743fa49c6c44a14f93a961f08a4d53337efe0800d98126a8aa58627a330e19386283cc16d8f20c9637262 SHA512 149ce1256ec557ee1e896b56e361f2fcf69633424f9b125666827eda610e84c35bf28e5c3fe5f38d4d87f1eacf977fc5b8b8c2d9c6634997bfe4e4bac122fc37 AUX taglib-1.11.1_p20181028-version-1.11.2.patch 486 BLAKE2B a0b9021a01268eaeb32cb7a6b333b54df522aaf9d07d9b89870f0dbc38a9648ab9173a916bd8a29537b454631be5cd32c2dfb256ebf2f2b86000fec8d2f32bb6 SHA512 e5c3d814ae7c4b2cb84eded86e909d2db985ec21409767a9bdd502d562b55edf30c74834e2829199f1fd20ca8b1dab832a78b05246ae82fe6ff94cb1266d98d0 DIST taglib-1.11.1_p20181028.tar.gz 1299993 BLAKE2B d281873a87742ba417ea764bb01f9a4c5553a4624d2c257dd82bbb2f0b7e3103ab6ca253f78c0167908f449aac833873ca1cce6f24b1eb5f608131382833262a SHA512 e26439b65ab579455f79e87a94c33a98e17209b31a19b531e5964a2c0ded395c35067655e31ad22b6205149e2e920d7bd145993f064d3ad13e1de8a9f7e37256 -EBUILD taglib-1.11.1_p20181028.ebuild 1428 BLAKE2B 4fa5f30b2b22a2a0869fff9813af396fb86190e2f8d4a69d5bb40691653923599a87bb5465da3d15c3d29ff65b95f41a9fbe247a1f021a8872c6c2467e283b82 SHA512 7d42ca1c304ac2b01f89c96b684186a44c78d74ea62a3e5dd76596a0e093db181bba34a7360624ecde9f77a2b4ff897cd2a3400dfbc38872c6a77b42bc2210ab +DIST taglib-1.11.1_p20190920.tar.gz 1290100 BLAKE2B 38f65450b5e7c33b14187ab461bfd18d77f93d1ecab5ccf0c898ca6e67fd05aebac09318d4e1cabf1fdbca38800332ef9d0d5d1317087e69672734d1dec1dfe2 SHA512 4f7ad2a0713d38e8885b10d08041abdfb6c669369edd16e8345d7d679c16c15f191ca378e6690e06347f29e0e9cadebcb95ba26dc583c1127c4531558df27173 +EBUILD taglib-1.11.1_p20181028.ebuild 1406 BLAKE2B 830c53acc2e2f09b53908c5d287a8cb1c7c0ea0d7e7a5c1cd1a63a7c25f6c45082194619ad251eac83adb27d9120612ba615352516b96b942e040f031db96ace SHA512 9c8432a4579e5b55a9b5a825bc6503e4b3cf43cecce312e34f00a8e0b0bd106ec46f6815f3f92126d56895eaa07325df23138546bec09759472f974af6426448 +EBUILD taglib-1.11.1_p20190920.ebuild 1360 BLAKE2B ae2e8cf63660bc931c791643af8f112ed80d6338416ddcdd1b4b1081f4710a0af4a2e6527a9eb932cf2a685cae8ed51b33c103d770d43b18c86ffc616a5283aa SHA512 68abddc56f79988a583f451fcc83d91d2c6ce82eb720977d82fdc250d45b9841afc78148fae2df8a4eeeac82b84aae463c9de380f3f4d8531d086cb2797e9e77 MISC metadata.xml 327 BLAKE2B 3972cb6de796dc7ba0d48715a30f265c10bfebe2e192d634267ffa0dc2323283b16c38f9bd891dbd1b7c646929e41116a5924d426fb1df46e63f3a4b4f5920be SHA512 05909165d6fff2283a6d55d1c454d97541e4e5ac35a6997123f548b3a86d108231928a4136cea35a323c942a82d50072f66840347fd1b651d4c1f3a53928c721 diff --git a/media-libs/taglib/taglib-1.11.1_p20181028.ebuild b/media-libs/taglib/taglib-1.11.1_p20181028.ebuild index 0c375210d93a..09fcc98658bc 100644 --- a/media-libs/taglib/taglib-1.11.1_p20181028.ebuild +++ b/media-libs/taglib/taglib-1.11.1_p20181028.ebuild @@ -11,7 +11,7 @@ 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" +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" 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 +} |