summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-misc/colord-kde/Manifest1
-rw-r--r--kde-misc/colord-kde/colord-kde-24.12.0.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/kde-misc/colord-kde/Manifest b/kde-misc/colord-kde/Manifest
index 1e5e743ce0f..b6e3aab5f81 100644
--- a/kde-misc/colord-kde/Manifest
+++ b/kde-misc/colord-kde/Manifest
@@ -1 +1,2 @@
DIST colord-kde-24.11.90.tar.xz 117852 BLAKE2B 453b437dfcba15e20c6d0dbcf8888019a4964d0d947148b19242f707914b36a353ca12a693700a68668f0688f52d09f628b4c00bc1a33dab59e02f9a789814cd SHA512 6ef8235f6cfe18edb3b946691c74bda82a6cbb7bac8fd6b2324f837935e05cc71c2ce33659ae603b4dd2daec82424825f9434d3e2ad6376204b64f39e5735819
+DIST colord-kde-24.12.0.tar.xz 117832 BLAKE2B e5d79cd3e47dd99818a39f56f9be153d770b087297bf3b2f4c9fbad6f1c175f4041192d5170f814e05cff95548da0d8c81c2298bc0550bd1f371ec76f7eab5e5 SHA512 02c3f31d69c8f0b3f2020bd3fb01c88c3e57ad6514016b9dcc77286e65bac73e69b5a2bdb70827623e21a2f35d88690281ea2940095171ee90fe603363cec10e
diff --git a/kde-misc/colord-kde/colord-kde-24.12.0.ebuild b/kde-misc/colord-kde/colord-kde-24.12.0.ebuild
new file mode 100644
index 00000000000..534c3859c95
--- /dev/null
+++ b/kde-misc/colord-kde/colord-kde-24.12.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_CATEGORY=graphics
+KFMIN=6.5.0
+QTMIN=6.7.2
+inherit ecm gear.kde.org
+
+DESCRIPTION="Provides interfaces and session daemon to colord"
+HOMEPAGE="https://invent.kde.org/graphics/colord-kde"
+
+LICENSE="GPL-2+"
+SLOT="6"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="X"
+
+COMMON_DEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets]
+ >=kde-frameworks/kcmutils-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kdbusaddons-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kitemmodels-${KFMIN}:6
+ >=kde-frameworks/kservice-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ media-libs/lcms:2
+ X? (
+ x11-libs/libX11
+ x11-libs/libxcb
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ >=kde-frameworks/kwindowsystem-${KFMIN}:6[X]
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ dev-libs/kirigami-addons:6
+ >=dev-qt/qtdeclarative-${QTMIN}:6
+ >=kde-frameworks/kirigami-${KFMIN}:6
+ x11-misc/colord
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITHOUT_X11=$(usex !X)
+ )
+ 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
+}