From: Marc Joliet Date: Wed, 30 Mar 2016 12:11:44 +0000 (+0200) Subject: kde-misc/plasma-applet-redshift-control: add dep on kde-frameworks/plasma X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=80811a8f3a47b2baff3b60330ed16b52a298dcc0;p=gentoo.git 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 --- 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 ec263faa1a53..4d2c859928f9 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 +"