summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-02-15 10:34:10 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-02-15 13:23:15 +0100
commit211e4919d8834b98869435af2b8e47253484fd89 (patch)
treeeeec2b8a3d4a44d733506d6f595a5b7fd2e52137 /kde-apps/libkcddb
parentkde-apps/libkcddb: add 24.01.95 (diff)
downloadgentoo-211e4919d8834b98869435af2b8e47253484fd89.tar.gz
gentoo-211e4919d8834b98869435af2b8e47253484fd89.tar.bz2
gentoo-211e4919d8834b98869435af2b8e47253484fd89.zip
kde-apps/libkcddb: 23.08.5 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/libkcddb')
-rw-r--r--kde-apps/libkcddb/Manifest1
-rw-r--r--kde-apps/libkcddb/libkcddb-23.08.5.ebuild64
-rw-r--r--kde-apps/libkcddb/metadata.xml3
3 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/libkcddb/Manifest b/kde-apps/libkcddb/Manifest
index d823eaa2b2e9..9de37ecc7a19 100644
--- a/kde-apps/libkcddb/Manifest
+++ b/kde-apps/libkcddb/Manifest
@@ -1,2 +1,3 @@
DIST libkcddb-23.08.4.tar.xz 451368 BLAKE2B 6991787c132735dff221404a950fde63c1daad7e2e5d2f5aaf1fa9c096d098279bf890e745a57c7c96252e627c1b94066c62eace8f276e8552f44eea90d39612 SHA512 934e1b1ea1ff709cfd088f07a7f443fd33126d382c38aaeed4a37c0f339aceb9fa3b2585e00f3dd96ab731a3e2f43cec8b657605c383daec7cb0a54d86e7d021
+DIST libkcddb-23.08.5.tar.xz 451388 BLAKE2B 2c6118d0f9f263d45226005340d66c99b32171459ad2f744b788b3d88f714546b99421251422fae6296b97fbcb3523ee12436974bed67ad9683a26124cd69e53 SHA512 fbc08f6a7d701df179a0b59e6b9d242faefc1801b2cda5f15d821ca5de019ac2ab37464f6cd186cd7be39a0fa5545cf89f074a094f437807e16024459a144d82
DIST libkcddb-24.01.95.tar.xz 451888 BLAKE2B a4c41f3d695b64f5d9a8b056e3e059db71ea885179ffd206435d2b04337935b5acf89d5b2d0bad210d8cc764b4fd92c6f795b5ba12cf0504619e53bd60cfc1e7 SHA512 c3f8adbc024d1995c3c346386e12d4a0841ca62b3f1d1c4f89492fcd9fc2d62c4a9c52fdab2f9412b246af8870b16f66f2756d9d82a4dd1517d6fa4a1063bfbc
diff --git a/kde-apps/libkcddb/libkcddb-23.08.5.ebuild b/kde-apps/libkcddb/libkcddb-23.08.5.ebuild
new file mode 100644
index 000000000000..3f036b12d509
--- /dev/null
+++ b/kde-apps/libkcddb/libkcddb-23.08.5.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="true"
+KFMIN=5.106.0
+QTMIN=5.15.9
+inherit ecm gear.kde.org
+
+DESCRIPTION="KDE library for CDDB"
+
+LICENSE="GPL-2+ handbook? ( FDL-1.2 )"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="musicbrainz kf6compat"
+
+# tests require network access and compare static data with online data
+# bug 280996
+RESTRICT="test"
+
+DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ musicbrainz? ( media-libs/musicbrainz:5 )
+"
+RDEPEND="${DEPEND}
+ kf6compat? ( kde-apps/libkcddb:6 )
+"
+BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:5"
+
+src_prepare() {
+ ecm_src_prepare
+ use handbook || cmake_run_in kcmcddb cmake_comment_add_subdirectory doc
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package musicbrainz MusicBrainz5)
+ )
+
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+
+ if use kf6compat; then
+ rm "${D}"/usr/share/applications/kcm_cddb.desktop \
+ "${D}"/usr/share/config.kcfg/libkcddb5.kcfg || die
+ if use handbook; then
+ rm -r "${D}"/usr/share/help || die
+ fi
+ rm -r "${D}"/usr/share/locale || die
+ fi
+}
diff --git a/kde-apps/libkcddb/metadata.xml b/kde-apps/libkcddb/metadata.xml
index d925f2439758..c45be7e6598a 100644
--- a/kde-apps/libkcddb/metadata.xml
+++ b/kde-apps/libkcddb/metadata.xml
@@ -8,4 +8,7 @@
<upstream>
<bugs-to>https://bugs.kde.org/</bugs-to>
</upstream>
+ <use>
+ <flag name="kf6compat">Disable components colliding with KF6, depend on KF6 components instead</flag>
+ </use>
</pkgmetadata>