commit:     cf0c5f9be23742881d699bbe3df2a02c6e04a3ee
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 13 13:52:47 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Apr 13 13:52:47 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=cf0c5f9b

[kde-apps/kdesu] Drop files due to collisions with plasma-5.3

Package-Manager: portage-2.2.18

 kde-apps/kdesu/kdesu-14.12.3-r1.ebuild | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/kde-apps/kdesu/kdesu-14.12.3-r1.ebuild 
b/kde-apps/kdesu/kdesu-14.12.3-r1.ebuild
new file mode 100644
index 0000000..dca868e
--- /dev/null
+++ b/kde-apps/kdesu/kdesu-14.12.3-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-runtime"
+inherit kde4-meta
+
+# FIXME: Is default command ( su/sudo ) still configurable,
+# if not, USE-flag ?
+DESCRIPTION="KDE: gui for su(1)"
+HOMEPAGE+=" http://techbase.kde.org/Projects/kdesu";
+KEYWORDS=" ~amd64 ~x86"
+IUSE="debug"
+
+src_prepare() {
+       sed -i -e '/doc/ s/^/#/' CMakeLists.txt || die
+       kde4-meta_src_prepare
+}
+
+src_configure() {
+       # Upstream moved kdesu to libexec first, then decided to move it back
+       # to /${PREFIX}/bin/ , so I'm doing that now already.
+       sed -e '/kdesu_executable/s:LIBEXEC_INSTALL_DIR:BIN_INSTALL_DIR:' \
+               -i "${S}"/kdesu/kdesu/CMakeLists.txt || \
+               die "Moving kdesu from libexec to bin failed."
+
+       kde4-meta_src_configure
+}

Reply via email to