summaryrefslogtreecommitdiffstats
path: root/trinity-base/tdesu/tdesu-14.0.8.ebuild
diff options
context:
space:
mode:
authorE. Liddell <[email protected]>2020-11-21 01:28:00 +0100
committerSlávek Banko <[email protected]>2020-11-21 01:28:05 +0100
commit7ed6b42adb46d6e23c9e523d49d4ed0b4bc04aaf (patch)
tree26f85c5a67ded1e593de78847881110461d84e52 /trinity-base/tdesu/tdesu-14.0.8.ebuild
parentd68f1e223da71c1b3d013713f24d78cedaef3e95 (diff)
downloadtde-packaging-gentoo-7ed6b42adb46d6e23c9e523d49d4ed0b4bc04aaf.tar.gz
tde-packaging-gentoo-7ed6b42adb46d6e23c9e523d49d4ed0b4bc04aaf.zip
14.0.8 ebuilds for tdebase, tdeartwork, tdeutils, and their dependencies (also 14.0.7 ebuild for kworldclock), and removal of obsolete 14.0.6 ebuilds.
Also removed all references to ispell (no longer in main portage tree, aspell provides same functionality) and streamlined spelling flags in general. Signed-off-by: E. Liddell <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'trinity-base/tdesu/tdesu-14.0.8.ebuild')
-rw-r--r--trinity-base/tdesu/tdesu-14.0.8.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/trinity-base/tdesu/tdesu-14.0.8.ebuild b/trinity-base/tdesu/tdesu-14.0.8.ebuild
new file mode 100644
index 00000000..78209521
--- /dev/null
+++ b/trinity-base/tdesu/tdesu-14.0.8.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Copyright 2020 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta-2
+
+DESCRIPTION="Trinity gui for su(1) or sudo"
+KEYWORDS="~amd64 ~x86"
+IUSE="sudo"
+
+DEPEND="sudo? ( app-admin/sudo )"
+RDEPEND="${DEPEND}"
+
+src_configure () {
+ mycmakeargs=(
+ -DWITH_SUDO_TDESU_BACKEND="$(usex sudo)"
+ -DWITH_SUDO_KONSOLE_SUPER_USER_COMMAND="$(usex sudo)"
+ )
+
+ trinity-meta-2_src_configure
+}
+
+pkg_postinst () {
+ if use sudo; then
+ einfo "Remember that the sudo use flag sets only the default superuser command."
+ einfo "It can be overriden on a user-level by adding:"
+ einfo " [super-user-command]"
+ einfo " super-user-command=su"
+ einfo "to the kdeglobals config file, which is usually"
+ einfo "located in the ~/.trinity/share/config/ directory."
+ fi
+}