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 B96FE158086 for ; Sun, 9 Jan 2022 17:03:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9B4A2BC003; Sun, 9 Jan 2022 17:03:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 812002BC003 for ; Sun, 9 Jan 2022 17:03:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3CEFF342D66 for ; Sun, 9 Jan 2022 17:03:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1073E26F for ; Sun, 9 Jan 2022 17:03:06 +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: <1641747570.4fa26bd9039450d46ad06cf145269faaa52519f6.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-misc/tellico/, kde-misc/tellico/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-misc/tellico/files/tellico-3.4.3-taglib-ifdef.patch kde-misc/tellico/tellico-3.4.3.ebuild X-VCS-Directories: kde-misc/tellico/ kde-misc/tellico/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4fa26bd9039450d46ad06cf145269faaa52519f6 X-VCS-Branch: master Date: Sun, 9 Jan 2022 17:03:06 +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: 31c90c08-97cd-45d1-ae68-c032d32aec61 X-Archives-Hash: 849fd9e5b0b50f7607b05d7f0222534c commit: 4fa26bd9039450d46ad06cf145269faaa52519f6 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 9 16:58:57 2022 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 9 16:59:30 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fa26bd9 kde-misc/tellico: Fix build with USE=-taglib Thanks-to: Lars Wendler gentoo.org> Closes: https://bugs.gentoo.org/830806 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> .../tellico/files/tellico-3.4.3-taglib-ifdef.patch | 35 ++++++++++++++++++++++ kde-misc/tellico/tellico-3.4.3.ebuild | 2 ++ 2 files changed, 37 insertions(+) diff --git a/kde-misc/tellico/files/tellico-3.4.3-taglib-ifdef.patch b/kde-misc/tellico/files/tellico-3.4.3-taglib-ifdef.patch new file mode 100644 index 000000000000..94986ea3003d --- /dev/null +++ b/kde-misc/tellico/files/tellico-3.4.3-taglib-ifdef.patch @@ -0,0 +1,35 @@ +From 9d450037f708cc2300d2767e5171bb08e48077a9 Mon Sep 17 00:00:00 2001 +From: Lars Wendler +Date: Sat, 8 Jan 2022 20:35:37 +0100 +Subject: [PATCH] Fix build without HAVE_TAGLIB + +Gentoo-bug: https://bugs.gentoo.org/830806 + +CCBUG: 446551 +--- + src/translators/audiofileimporter.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/translators/audiofileimporter.cpp b/src/translators/audiofileimporter.cpp +index 2b3372f4..a18ed14a 100644 +--- a/src/translators/audiofileimporter.cpp ++++ b/src/translators/audiofileimporter.cpp +@@ -57,6 +57,7 @@ + #include + #include + ++#ifdef HAVE_TAGLIB + namespace { + bool hasValue(const TagLib::PropertyMap& pmap, const char* key) { + const TagLib::String keyString(key); +@@ -70,6 +71,7 @@ namespace { + QString(); + } + } ++#endif + + using Tellico::Import::AudioFileImporter; + +-- +2.34.1 + diff --git a/kde-misc/tellico/tellico-3.4.3.ebuild b/kde-misc/tellico/tellico-3.4.3.ebuild index a83ef948cde1..3c34e17b6b7e 100644 --- a/kde-misc/tellico/tellico-3.4.3.ebuild +++ b/kde-misc/tellico/tellico-3.4.3.ebuild @@ -73,6 +73,8 @@ BDEPEND=" sys-devel/gettext " +PATCHES=( "${FILESDIR}/${P}-taglib-ifdef.patch" ) + src_configure() { local mycmakeargs=( -DCMAKE_DISABLE_FIND_PACKAGE_Csv=ON