From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6D73E138C48 for ; Mon, 13 Apr 2015 13:53:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F20A5E096F; Mon, 13 Apr 2015 13:53:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E9BBE096F for ; Mon, 13 Apr 2015 13:53:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 84287340ADC for ; Mon, 13 Apr 2015 13:53:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF8B815D58 for ; Mon, 13 Apr 2015 13:52:59 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1428933167.cf0c5f9be23742881d699bbe3df2a02c6e04a3ee.mrueg@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kdesu/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/kdesu/kdesu-14.12.3-r1.ebuild X-VCS-Directories: kde-apps/kdesu/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: cf0c5f9be23742881d699bbe3df2a02c6e04a3ee X-VCS-Branch: master Date: Mon, 13 Apr 2015 13:52:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 309a0f0f-21ce-4b92-8780-8fa954a81405 X-Archives-Hash: b7abe4fd68147e2c94c467c7d4eeae05 commit: cf0c5f9be23742881d699bbe3df2a02c6e04a3ee Author: Manuel Rüger gentoo org> AuthorDate: Mon Apr 13 13:52:47 2015 +0000 Commit: Manuel Rüger gentoo 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 +}