diff options
Diffstat (limited to 'gentoo/trinity-base/kdesu')
-rw-r--r-- | gentoo/trinity-base/kdesu/Manifest | 2 | ||||
-rw-r--r-- | gentoo/trinity-base/kdesu/kdesu-3.5.13.1.ebuild | 33 | ||||
-rw-r--r-- | gentoo/trinity-base/kdesu/kdesu-3.5.13.2.ebuild | 33 | ||||
-rw-r--r-- | gentoo/trinity-base/kdesu/metadata.xml | 12 |
4 files changed, 80 insertions, 0 deletions
diff --git a/gentoo/trinity-base/kdesu/Manifest b/gentoo/trinity-base/kdesu/Manifest new file mode 100644 index 000000000..381340c4b --- /dev/null +++ b/gentoo/trinity-base/kdesu/Manifest @@ -0,0 +1,2 @@ +DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034 +DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1 diff --git a/gentoo/trinity-base/kdesu/kdesu-3.5.13.1.ebuild b/gentoo/trinity-base/kdesu/kdesu-3.5.13.1.ebuild new file mode 100644 index 000000000..0f9802b2e --- /dev/null +++ b/gentoo/trinity-base/kdesu/kdesu-3.5.13.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +EAPI="5" +TRINITY_MODULE_NAME="kdebase" + +inherit trinity-meta + +DESCRIPTION="Trinity gui for su(1) or sudo" +KEYWORDS="x86 amd64" +IUSE="sudo" + +DEPEND+=" sudo? ( app-admin/sudo )" +RDEPEND+=" ${DEPEND}" + +src_configure () { + mycmakeargs=( + $(cmake-utils_use_with sudo SUDO_KDESU_BACKEND) + ) + + trinity-meta_src_configure +} + +pkg_postinst () { + if use sudo; then + einfo "Remember sudo use flag sets only the defauld value" + einfo "It can be overriden on a user-level by adding:" + einfo " [super-user-command]" + einfo " super-user-command=su" + einfo "To the kdeglobal config file which is should be usually" + einfo "located in the ~/.trinity/share/config/ directory." + fi +} diff --git a/gentoo/trinity-base/kdesu/kdesu-3.5.13.2.ebuild b/gentoo/trinity-base/kdesu/kdesu-3.5.13.2.ebuild new file mode 100644 index 000000000..3324828d6 --- /dev/null +++ b/gentoo/trinity-base/kdesu/kdesu-3.5.13.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +EAPI="5" +TRINITY_MODULE_NAME="kdebase" + +inherit trinity-meta + +DESCRIPTION="Trinity gui for su(1) or sudo" +KEYWORDS="~amd64 ~x86" +IUSE="sudo" + +DEPEND+=" sudo? ( app-admin/sudo )" +RDEPEND+=" ${DEPEND}" + +src_configure () { + mycmakeargs=( + $(cmake-utils_use_with sudo SUDO_KDESU_BACKEND) + ) + + trinity-meta_src_configure +} + +pkg_postinst () { + if use sudo; then + einfo "Remember sudo use flag sets only the defauld value" + einfo "It can be overriden on a user-level by adding:" + einfo " [super-user-command]" + einfo " super-user-command=su" + einfo "To the kdeglobal config file which is should be usually" + einfo "located in the ~/.trinity/share/config/ directory." + fi +} diff --git a/gentoo/trinity-base/kdesu/metadata.xml b/gentoo/trinity-base/kdesu/metadata.xml new file mode 100644 index 000000000..6863f5db6 --- /dev/null +++ b/gentoo/trinity-base/kdesu/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>fatzer2@gmail.com</email> + <name>Alexander Golubev</name> + </maintainer> + <use> + <flag name="sudo"> Use <pkg>app-admin/sudo</pkg> as a default program to + obtain root privileges.</flag> + </use> +</pkgmetadata> |