summaryrefslogtreecommitdiff
blob: c348cc7374b62da14ed994b8346a0bf7e093c1c2 (plain)
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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit kde4-base

DESCRIPTION="Provides interfaces and session daemon to colord"
HOMEPAGE="https://projects.kde.org/projects/playground/graphics/colord-kde"
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2"

LICENSE="GPL-2+"
SLOT="4"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

DEPEND="
	media-libs/lcms:2
	>=x11-libs/libXrandr-1.3.0
"
RDEPEND="${DEPEND}
	x11-misc/colord
"

PATCHES=( "${FILESDIR}/${P}-cmake34.patch" )

pkg_postinst() {
	kde4-base_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
}