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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 43FC0158041 for ; Thu, 7 Mar 2024 23:44:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FFA9E29BA; Thu, 7 Mar 2024 23:44:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB8CEE29B9 for ; Thu, 7 Mar 2024 23:44:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1BD72340806 for ; Thu, 7 Mar 2024 23:44:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 645FD10B0 for ; Thu, 7 Mar 2024 23:44:44 +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: <1709855070.817fdd67ef41f9e4aa180476515b0e27cedad93a.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-2.0.ebuild X-VCS-Directories: media-libs/taglib/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 817fdd67ef41f9e4aa180476515b0e27cedad93a X-VCS-Branch: master Date: Thu, 7 Mar 2024 23:44:44 +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: 73516252-e021-4f77-8513-b1c88a8c11c7 X-Archives-Hash: e3de0a7c9a7426430ff7bbe6508f0bc8 commit: 817fdd67ef41f9e4aa180476515b0e27cedad93a Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Jan 29 22:18:05 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Mar 7 23:44:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=817fdd67 media-libs/taglib: add 2.0 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/taglib/Manifest | 1 + media-libs/taglib/taglib-2.0.ebuild | 58 +++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/media-libs/taglib/Manifest b/media-libs/taglib/Manifest index eaaab49e2e20..28be72ecd6de 100644 --- a/media-libs/taglib/Manifest +++ b/media-libs/taglib/Manifest @@ -1 +1,2 @@ DIST taglib-1.13.1.tar.gz 1372618 BLAKE2B 36cf9b59ded95c9996d04a86055a36a7b74a2a01c13f75826d4907abca0b982c5f9b0e4bcd6648707013108f8eaf424ab95f07c383130452aa169e2cab33f466 SHA512 986231ee62caa975afead7e94630d58acaac25a38bc33d4493d51bd635d79336e81bba60586d7355ebc0670e31f28d32da3ecceaf33292e4bc240c64bf00f35b +DIST taglib-2.0.tar.gz 1429934 BLAKE2B a6743c6da473e78487bb3569f01ff944c8e48ee85d40a710c98b55e302ba9bda8a428ab2bdef82f9f84c1eac4e4285adfb33d551924253bb0fc998c7b30c7c77 SHA512 099d02b2eab033f5702a8cb03e70752d7523c6f8c2f3eebdd0bcd939eafbdca3f2a6c82452983904b5822cfa45f2707ed866c3419508df9d43bf5c0b3a476f6c diff --git a/media-libs/taglib/taglib-2.0.ebuild b/media-libs/taglib/taglib-2.0.ebuild new file mode 100644 index 000000000000..7d5f338625fe --- /dev/null +++ b/media-libs/taglib/taglib-2.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1 MPL-1.1" +SLOT="0" +# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc examples test" + +RESTRICT="!test? ( test )" + +RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + test? ( >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/doxygen[dot] ) +" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/taglib-config +) + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=$(multilib_native_usex examples) + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +} + +multilib_src_compile() { + cmake_src_compile + + if multilib_is_native_abi; then + use doc && cmake_build docs + fi +} + +multilib_src_test() { + eninja check +} + +multilib_src_install() { + cmake_src_install + + if multilib_is_native_abi && use doc; then + HTML_DOCS=( "${BUILD_DIR}"/doc/html/. ) + fi +}