commit:     d33f5926779f3fbe9060da249061811b7c0be00d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 23 16:57:30 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Sep 23 20:07:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d33f5926

kde-misc/colord-kde: add 0.5.0_p20220907, EAPI-8 bump, IUSE X

Last release in 2016(!).

See also:
https://mail.kde.org/pipermail/release-team/2022-August/thread.html

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-misc/colord-kde/Manifest                       |  1 +
 .../colord-kde/colord-kde-0.5.0_p20220907.ebuild   | 59 ++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/kde-misc/colord-kde/Manifest b/kde-misc/colord-kde/Manifest
index 77f8d566962e..33756d54a5a6 100644
--- a/kde-misc/colord-kde/Manifest
+++ b/kde-misc/colord-kde/Manifest
@@ -1,2 +1,3 @@
 DIST colord-kde-0.5.0-patches.tar.xz 9500 BLAKE2B 
e8f4b2f07b7e17eeaddf1cba94945b47a5485213941d7cce3fb9bd0f67bcef37467541e154dfda8babac22fd46778809e84691cc4bebc2e149888a3927e73da7
 SHA512 
0f153413bd55c294eef1bbb8ae0af60972cdd68df4fe41c1a6fade34c4fa37d7195766561a9570a712b87c055cb9bbc54a5c2bf725c7776066f8fa91c00563e5
 DIST colord-kde-0.5.0.tar.xz 97572 BLAKE2B 
7cb5434c25e576c98e2ffbf428bf81d37605fd489199bacc2c040d443021f1f1055b3640f2698b622b021e34f4c517e168a45cd2c1006fdc2c24590789b482e3
 SHA512 
f285931f0f97462fcf173f64aaf2f32752bddb0b724d2055055ce5beb7dbe89ccebc62cb8c2ce455a8d68beb737fd55bf89be8e4dc7eaa37f09878b757370f07
+DIST colord-kde-0.5.0_p20220907-077644b5.tar.gz 64138 BLAKE2B 
2bf2b705da0264f74568b69ef5f2ed4b90d38fa3457d870a806ca3b5db436f813232baa0901c73ed759b0b7409e9d44a427b1dfd764b7f14a7640d93b8c9f3dd
 SHA512 
338e15b62ba46afb670ce7ee7ce24923e0485de09bdc4e33638696a962fc6773296e556d77d77bd1df22d0e7657c1e112836773f759225dd40cac29fb97fe262

diff --git a/kde-misc/colord-kde/colord-kde-0.5.0_p20220907.ebuild 
b/kde-misc/colord-kde/colord-kde-0.5.0_p20220907.ebuild
new file mode 100644
index 000000000000..1cfcac8a0136
--- /dev/null
+++ b/kde-misc/colord-kde/colord-kde-0.5.0_p20220907.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_CATEGORY=graphics
+KDE_ORG_COMMIT=077644b5abf2992828bcc37c2598bc8810a24e9c
+KFMIN=5.96.0
+QTMIN=5.15.5
+inherit ecm kde.org
+
+DESCRIPTION="Provides interfaces and session daemon to colord"
+HOMEPAGE="https://invent.kde.org/graphics/colord-kde";
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+COMMON_DEPEND="
+       >=dev-qt/qtdbus-${QTMIN}:5
+       >=dev-qt/qtgui-${QTMIN}:5
+       >=dev-qt/qtwidgets-${QTMIN}:5
+       >=kde-frameworks/kcmutils-${KFMIN}:5
+       >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+       >=kde-frameworks/kcoreaddons-${KFMIN}:5
+       >=kde-frameworks/kdbusaddons-${KFMIN}:5
+       >=kde-frameworks/ki18n-${KFMIN}:5
+       >=kde-frameworks/kservice-${KFMIN}:5
+       >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+       media-libs/lcms:2
+       X? (
+               >=dev-qt/qtx11extras-${QTMIN}:5
+               x11-libs/libX11
+               x11-libs/libxcb
+       )
+"
+DEPEND="${COMMON_DEPEND}
+       >=kde-frameworks/kwindowsystem-${KFMIN}:5
+"
+RDEPEND="${COMMON_DEPEND}
+       kde-plasma/kde-cli-tools:5
+       x11-misc/colord
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake_use_find_package X X11)
+       )
+       ecm_src_configure
+}
+
+pkg_postinst() {
+       ecm_pkg_postinst
+       if ! has_version "gnome-extra/gnome-color-manager"; then
+               elog "You may want to install gnome-extra/gnome-color-manager 
to add support for"
+               elog "colorhug calibration devices."
+       fi
+}

Reply via email to