summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc/colord-kde/colord-kde-0.5.0.ebuild')
-rw-r--r--kde-misc/colord-kde/colord-kde-0.5.0.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/kde-misc/colord-kde/colord-kde-0.5.0.ebuild b/kde-misc/colord-kde/colord-kde-0.5.0.ebuild
new file mode 100644
index 00000000000..6f5e83bae72
--- /dev/null
+++ b/kde-misc/colord-kde/colord-kde-0.5.0.ebuild
@@ -0,0 +1,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
+}