summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-09-02 17:31:56 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-09-02 22:13:20 +0200
commitd8a3985c280a678acb5f0e3d0a9ba01c25ab04f6 (patch)
tree84ea1b56bccae1d3275c139083598b24a877c782 /kde-misc
parentprofiles: plasma: Add kde-plasma/kde-cli-tools[kdesu] to package.use (diff)
downloadgentoo-d8a3985c280a678acb5f0e3d0a9ba01c25ab04f6.tar.gz
gentoo-d8a3985c280a678acb5f0e3d0a9ba01c25ab04f6.tar.bz2
gentoo-d8a3985c280a678acb5f0e3d0a9ba01c25ab04f6.zip
kde-misc/krusader: Add missing kde-plasma/kde-cli-tools:*[kdesu]
Set KDESU_PATH to be actually SLOT independent and use our kdesu symlink. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/krusader/krusader-2.8.1-r2.ebuild (renamed from kde-misc/krusader/krusader-2.8.1-r1.ebuild)6
1 files changed, 6 insertions, 0 deletions
diff --git a/kde-misc/krusader/krusader-2.8.1-r1.ebuild b/kde-misc/krusader/krusader-2.8.1-r2.ebuild
index 63fc1e1dc09b..b022420855a8 100644
--- a/kde-misc/krusader/krusader-2.8.1-r1.ebuild
+++ b/kde-misc/krusader/krusader-2.8.1-r2.ebuild
@@ -58,6 +58,7 @@ RDEPEND="${COMMON_DEPEND}
kde-apps/kio-extras:5
kde-apps/thumbnailers:5
>=kde-frameworks/ktexteditor-${KFMIN}:5
+ kde-plasma/kde-cli-tools:*[kdesu]
"
src_prepare() {
@@ -65,6 +66,11 @@ src_prepare() {
use handbook || cmake_comment_add_subdirectory doc/handbook
}
+src_configure() {
+ local mycmakeargs=( -DKDESU_PATH=/usr/bin/kdesu )
+ ecm_src_configure
+}
+
pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
optfeature "konsole view" "kde-apps/konsolepart:5" "kde-apps/konsole:5"