1 |
commit: d6dc59866cb248dde6bd12407b7b0d92200ccc14 |
2 |
Author: Marc Joliet <marcec <AT> gmx <DOT> de> |
3 |
AuthorDate: Wed Mar 30 12:11:44 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 30 17:59:30 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d6dc5986 |
7 |
|
8 |
kde-misc/plasma-applet-redshift-control: add dep on kde-frameworks/plasma |
9 |
|
10 |
While upgrading to KDE Plasma, I hit the following compilation failure: |
11 |
|
12 |
CMake Warning at CMakeLists.txt:13 (find_package): |
13 |
By not providing "FindKF5Plasma.cmake" in CMAKE_MODULE_PATH this project |
14 |
has asked CMake to find a package configuration file provided by |
15 |
"KF5Plasma", but CMake did not find one. |
16 |
|
17 |
Could not find a package configuration file provided by "KF5Plasma" with |
18 |
any of the following names: |
19 |
|
20 |
KF5PlasmaConfig.cmake |
21 |
kf5plasma-config.cmake |
22 |
|
23 |
Add the installation prefix of "KF5Plasma" to CMAKE_PREFIX_PATH or set |
24 |
"KF5Plasma_DIR" to a directory containing one of the above files. If |
25 |
"KF5Plasma" provides a separate development package or SDK, be sure it has |
26 |
been installed. |
27 |
|
28 |
CMake Error at CMakeLists.txt:17 (plasma_install_package): |
29 |
Unknown CMake command "plasma_install_package". |
30 |
|
31 |
KF5PlasmaConfig.cmake is provided by kde-frameworks/plasma, so |
32 |
kde-misc/plasma-applet-redshift-control needs to depend on it. |
33 |
|
34 |
Package-Manager: portage-2.2.26 |
35 |
|
36 |
.../plasma-applet-redshift-control-9999.ebuild | 5 ++++- |
37 |
1 file changed, 4 insertions(+), 1 deletion(-) |
38 |
|
39 |
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 |
40 |
index ab67fba..4a1c566 100644 |
41 |
--- a/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-9999.ebuild |
42 |
+++ b/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-9999.ebuild |
43 |
@@ -15,4 +15,7 @@ LICENSE="GPL-2+" |
44 |
KEYWORDS="" |
45 |
IUSE="" |
46 |
|
47 |
-RDEPEND="x11-misc/redshift" |
48 |
+DEPEND="$(add_frameworks_dep plasma)" |
49 |
+RDEPEND="${DEPEND} |
50 |
+ x11-misc/redshift |
51 |
+" |