Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-misc/plasma-applet-redshift-control/
Date: Wed, 30 Mar 2016 17:56:04
Message-Id: 1459360545.80811a8f3a47b2baff3b60330ed16b52a298dcc0.kensington@gentoo
1 commit: 80811a8f3a47b2baff3b60330ed16b52a298dcc0
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:55:45 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80811a8f
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-1.0.17.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-1.0.17.ebuild b/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-1.0.17.ebuild
40 index ec263fa..4d2c859 100644
41 --- a/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-1.0.17.ebuild
42 +++ b/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-1.0.17.ebuild
43 @@ -14,4 +14,7 @@ LICENSE="GPL-2+"
44 KEYWORDS="~amd64"
45 IUSE=""
46
47 -RDEPEND="x11-misc/redshift"
48 +DEPEND="$(add_frameworks_dep plasma)"
49 +RDEPEND="${DEPEND}
50 + x11-misc/redshift
51 +"