1 |
commit: f65c32c1dc67dd43def8d9b184750500d35292d1 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 12 10:46:29 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 12 11:45:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f65c32c1 |
7 |
|
8 |
kde-misc/colord-kde: Port to ecm.eclass and kde.org.eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
kde-misc/colord-kde/colord-kde-0.5.0-r2.ebuild | 53 ++++++++++++++++++++++++++ |
14 |
1 file changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/kde-misc/colord-kde/colord-kde-0.5.0-r2.ebuild b/kde-misc/colord-kde/colord-kde-0.5.0-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..db9939c51c4 |
19 |
--- /dev/null |
20 |
+++ b/kde-misc/colord-kde/colord-kde-0.5.0-r2.ebuild |
21 |
@@ -0,0 +1,53 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+KFMIN=5.60.0 |
28 |
+QTMIN=5.12.3 |
29 |
+inherit ecm kde.org |
30 |
+ |
31 |
+DESCRIPTION="Provides interfaces and session daemon to colord" |
32 |
+HOMEPAGE="https://cgit.kde.org/colord-kde.git" |
33 |
+SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz |
34 |
+https://dev.gentoo.org/~asturm/distfiles/${P}-patches.tar.xz" |
35 |
+ |
36 |
+LICENSE="GPL-2+" |
37 |
+KEYWORDS="~amd64 ~x86" |
38 |
+SLOT="5" |
39 |
+IUSE="" |
40 |
+ |
41 |
+COMMON_DEPEND=" |
42 |
+ >=dev-qt/qtdbus-${QTMIN}:5 |
43 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
44 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
45 |
+ >=dev-qt/qtx11extras-${QTMIN}:5 |
46 |
+ >=kde-frameworks/kcmutils-${KFMIN}:5 |
47 |
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5 |
48 |
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
49 |
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5 |
50 |
+ >=kde-frameworks/ki18n-${KFMIN}:5 |
51 |
+ >=kde-frameworks/kservice-${KFMIN}:5 |
52 |
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 |
53 |
+ media-libs/lcms:2 |
54 |
+ x11-libs/libxcb |
55 |
+ x11-libs/libX11 |
56 |
+ x11-libs/libXrandr |
57 |
+" |
58 |
+DEPEND="${COMMON_DEPEND} |
59 |
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5 |
60 |
+" |
61 |
+RDEPEND="${COMMON_DEPEND} |
62 |
+ kde-plasma/kde-cli-tools:5 |
63 |
+ x11-misc/colord |
64 |
+" |
65 |
+ |
66 |
+PATCHES=( "${WORKDIR}/${P}-patches" ) |
67 |
+ |
68 |
+pkg_postinst() { |
69 |
+ ecm_pkg_postinst |
70 |
+ if ! has_version "gnome-extra/gnome-color-manager"; then |
71 |
+ elog "You may want to install gnome-extra/gnome-color-manager to add support for" |
72 |
+ elog "colorhug calibration devices." |
73 |
+ fi |
74 |
+} |