commit: d6dc59866cb248dde6bd12407b7b0d92200ccc14
Author: Marc Joliet <marcec <AT> gmx <DOT> de>
AuthorDate: Wed Mar 30 12:11:44 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Mar 30 17:59:30 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d6dc5986
kde-misc/plasma-applet-redshift-control: add dep on kde-frameworks/plasma
While upgrading to KDE Plasma, I hit the following compilation failure:
CMake Warning at CMakeLists.txt:13 (find_package):
By not providing "FindKF5Plasma.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"KF5Plasma", but CMake did not find one.
Could not find a package configuration file provided by "KF5Plasma" with
any of the following names:
KF5PlasmaConfig.cmake
kf5plasma-config.cmake
Add the installation prefix of "KF5Plasma" to CMAKE_PREFIX_PATH or set
"KF5Plasma_DIR" to a directory containing one of the above files. If
"KF5Plasma" provides a separate development package or SDK, be sure it has
been installed.
CMake Error at CMakeLists.txt:17 (plasma_install_package):
Unknown CMake command "plasma_install_package".
KF5PlasmaConfig.cmake is provided by kde-frameworks/plasma, so
kde-misc/plasma-applet-redshift-control needs to depend on it.
Package-Manager: portage-2.2.26
.../plasma-applet-redshift-control-9999.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-9999.ebuild
b/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-9999.ebuild
index ab67fba..4a1c566 100644
---
a/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-9999.ebuild
+++
b/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-9999.ebuild
@@ -15,4 +15,7 @@ LICENSE="GPL-2+"
KEYWORDS=""
IUSE=""
-RDEPEND="x11-misc/redshift"
+DEPEND="$(add_frameworks_dep plasma)"
+RDEPEND="${DEPEND}
+ x11-misc/redshift
+"