+++ /dev/null
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
-}
+++ /dev/null
-From be1d302200fb3f3f2ef9cf41c34cb4ac5d970df2 Mon Sep 17 00:00:00 2001
-From: Michael Palimaka <kensington@gentoo.org>
-Date: Sat, 22 Oct 2016 21:46:18 +1100
-Subject: [PATCH] Remove unused dependencies.
-
-REVIEW: 129240
----
- CMakeLists.txt | 4 ++--
- colord-kcm/CMakeLists.txt | 1 -
- icc-importer/CMakeLists.txt | 2 --
- icc-importer/main.cpp | 1 -
- 4 files changed, 2 insertions(+), 6 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index fcace67..6d6093a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -28,8 +28,8 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
- find_package(X11)
- find_package(XCB COMPONENTS XCB RANDR)
-
--find_package(KF5 REQUIRED Config ConfigWidgets CoreAddons DBusAddons IconThemes I18n KCMUtils KIO
-- Notifications Plasma WidgetsAddons WindowSystem ItemViews)
-+find_package(KF5 REQUIRED ConfigWidgets CoreAddons DBusAddons I18n KCMUtils
-+ WidgetsAddons WindowSystem)
-
- add_definitions(-DTRANSLATION_DOMAIN=\"colord-kde\")
-
-diff --git a/colord-kcm/CMakeLists.txt b/colord-kcm/CMakeLists.txt
-index a078ed3..712bf1a 100644
---- a/colord-kcm/CMakeLists.txt
-+++ b/colord-kcm/CMakeLists.txt
-@@ -53,7 +53,6 @@ target_link_libraries(kcm_colord
- Qt5::DBus
- KF5::CoreAddons
- KF5::I18n
-- KF5::IconThemes
- KF5::KCMUtils
- ${LCMS2_LIBRARIES}
- )
-diff --git a/icc-importer/CMakeLists.txt b/icc-importer/CMakeLists.txt
-index af3cee0..a6ac1f9 100644
---- a/icc-importer/CMakeLists.txt
-+++ b/icc-importer/CMakeLists.txt
-@@ -18,8 +18,6 @@ target_link_libraries(colord-kde-icc-importer
- KF5::CoreAddons
- KF5::I18n
- KF5::WidgetsAddons
-- KF5::IconThemes
-- KF5::ConfigCore
- ${LCMS2_LIBRARIES}
- )
-
-diff --git a/icc-importer/main.cpp b/icc-importer/main.cpp
-index 2af0e85..bb72f32 100644
---- a/icc-importer/main.cpp
-+++ b/icc-importer/main.cpp
-@@ -31,7 +31,6 @@
- #include <QCommandLineParser>
-
- #include <KMessageBox>
--#include <KConfig>
- #include <KAboutData>
- #include <KLocalizedString>
-
---
-2.7.3
-