forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
colord-kde-0.5.0.ebuild
50 lines (43 loc) · 1.2 KB
/
colord-kde-0.5.0.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit kde5
DESCRIPTION="Provides interfaces and session daemon to colord"
HOMEPAGE="http://projects.kde.org/projects/playground/graphics/colord-kde"
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
LICENSE="GPL-2+"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEPEND="
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kwidgetsaddons)
$(add_qt_dep qtdbus)
$(add_qt_dep qtgui)
$(add_qt_dep qtwidgets)
$(add_qt_dep qtx11extras)
media-libs/lcms:2
x11-libs/libxcb
x11-libs/libX11
x11-libs/libXrandr
"
DEPEND="${COMMON_DEPEND}
$(add_frameworks_dep kwindowsystem)
"
RDEPEND="${COMMON_DEPEND}
$(add_plasma_dep kde-cli-tools)
x11-misc/colord
"
PATCHES=( "${FILESDIR}/${P}-unused-deps.patch" )
pkg_postinst() {
kde5_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
}