From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45DDD138335 for ; Sat, 12 Oct 2019 09:32:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B760E08C8; Sat, 12 Oct 2019 09:32:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DDD9AE08C3 for ; Sat, 12 Oct 2019 09:32:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4EA9C34BBF3 for ; Sat, 12 Oct 2019 09:32:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5DBC772 for ; Sat, 12 Oct 2019 09:31:57 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1570872703.21c29981c37deb886f6beee1dfb935e3e2b29ecd.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/taglib/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/taglib/Manifest media-libs/taglib/taglib-1.11.1_p20190920.ebuild X-VCS-Directories: media-libs/taglib/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 21c29981c37deb886f6beee1dfb935e3e2b29ecd X-VCS-Branch: master Date: Sat, 12 Oct 2019 09:31:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eecd4f03-df67-4251-9af8-45db66312990 X-Archives-Hash: 1e35d7f546cd88eaaffea726df7f791c commit: 21c29981c37deb886f6beee1dfb935e3e2b29ecd Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Oct 12 08:43:24 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Oct 12 09:31:43 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21c29981 media-libs/taglib: 1.11.1_p20190920 snapshot bump Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/taglib/Manifest | 1 + media-libs/taglib/taglib-1.11.1_p20190920.ebuild | 55 ++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/media-libs/taglib/Manifest b/media-libs/taglib/Manifest index 22540a0665a..cdb9e1df4a0 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 00000000000..b83996484d6 --- /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 +}