commit: 80811a8f3a47b2baff3b60330ed16b52a298dcc0
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:55:45 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80811a8f
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-1.0.17.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-1.0.17.ebuild
b/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-1.0.17.ebuild
index ec263fa..4d2c859 100644
---
a/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-1.0.17.ebuild
+++
b/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-1.0.17.ebuild
@@ -14,4 +14,7 @@ LICENSE="GPL-2+"
KEYWORDS="~amd64"
IUSE=""
-RDEPEND="x11-misc/redshift"
+DEPEND="$(add_frameworks_dep plasma)"
+RDEPEND="${DEPEND}
+ x11-misc/redshift
+"