summaryrefslogtreecommitdiffstats
path: root/trinity-base/tdebase-starttde
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2024-04-28 17:23:47 +0300
committerormorph <roma251078@mail.ru>2024-04-28 22:35:54 +0300
commit30335515923be5f5ee02981121d2cdb6ad89978d (patch)
treed4601e9c08f8d576a5ce043fba5f73020f0c862d /trinity-base/tdebase-starttde
parent929431cac813bc953a1e646fe36d1cfbc4a68f4b (diff)
downloadtde-packaging-gentoo-30335515923be5f5ee02981121d2cdb6ad89978d.tar.gz
tde-packaging-gentoo-30335515923be5f5ee02981121d2cdb6ad89978d.zip
Add new TDE-14.1.2
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'trinity-base/tdebase-starttde')
-rw-r--r--trinity-base/tdebase-starttde/Manifest1
-rw-r--r--trinity-base/tdebase-starttde/tdebase-starttde-14.1.2.ebuild86
2 files changed, 87 insertions, 0 deletions
diff --git a/trinity-base/tdebase-starttde/Manifest b/trinity-base/tdebase-starttde/Manifest
index 623b3cf4..d937bfda 100644
--- a/trinity-base/tdebase-starttde/Manifest
+++ b/trinity-base/tdebase-starttde/Manifest
@@ -1 +1,2 @@
DIST tdebase-trinity-14.1.1.tar.xz 30746484 BLAKE2B 4d2fdd9e3f5007c7482e938badad381a3e314b458b262dd346c05c91a9a4b974d8f1244152b833a34f7edad246bd4a8af0e054279a1556cebac6319a1a011a09 SHA512 d733f20719a0c9a949540e95f4d60fe03e096efbd7ac54187c5ee9b9f9b644318ee2dd9c8fd0d2e6eee660f7a7ad827e66bc06fb9a36c9e56e3ae16bdd47910c
+DIST tdebase-trinity-14.1.2.tar.xz 30747536 BLAKE2B c3e23974735410e3f1276d4d7314bdc0801df5e02758d1a032499b0b1a965dfd8a5f6c5dc58f543a1f1fba9d0cf77b89483eb62df8a3a95ca954ed6e48b3ea9d SHA512 bf04541c15b345a615bf4c8f463c7af559ab17fea7b5ae399164d77c365d869fd211060448fb39c47df09beafb3edfbbe7b15ae140c239a8321f35d7dc16af95
diff --git a/trinity-base/tdebase-starttde/tdebase-starttde-14.1.2.ebuild b/trinity-base/tdebase-starttde/tdebase-starttde-14.1.2.ebuild
new file mode 100644
index 00000000..3f0e1192
--- /dev/null
+++ b/trinity-base/tdebase-starttde/tdebase-starttde-14.1.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2024 Gentoo Authors
+# Copyright 2020-2024 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TRINITY_MODULE_NAME="tdebase"
+TRINITY_MODULE_TYPE="core"
+TSM_EXTRACT="starttde README.pam INSTALL AUTHORS COPYING COPYING-DOCS tdm r14-xdg-update migratekde3"
+inherit trinity-meta-2
+
+DESCRIPTION="Starttde script, which starts a complete Trinity session, and associated scripts"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+RDEPEND="x11-apps/xmessage
+ x11-apps/xsetroot
+ x11-apps/xset
+ x11-apps/xrandr
+ x11-apps/mkfontscale
+ x11-apps/xprop
+ ~trinity-base/kdesktop-${PV}
+ ~trinity-base/kcminit-${PV}
+ ~trinity-base/ksmserver-${PV}
+ ~trinity-base/twin-${PV}
+ ~trinity-base/kpersonalizer-${PV}
+ ~trinity-base/kreadconfig-${PV}
+ ~trinity-base/ksplashml-${PV}
+ ~trinity-base/tdeinit-${PV}"
+
+PATCHES=( "${FILESDIR}/${PN}-14-gentoo.patch" )
+
+src_prepare() {
+ trinity-base-2_src_prepare
+}
+
+src_configure() {
+ echo -n "";
+}
+
+src_compile() {
+ # List all the multilib libdirs
+ local _libdir _libdirs
+ for _libdir in $(get_all_libdirs); do
+ _libdirs="${_libdirs}:${TDEDIR}/${_libdir}"
+ done
+ _libdirs=${_libdirs#:}
+}
+
+src_install() {
+ # starttde script
+ exeinto "${TDEDIR}/bin"
+ doexe starttde
+ doexe r14-xdg-update
+ doexe migratekde3
+
+ # startup and shutdown scripts
+ exeinto "${TDEDIR}/env"
+ doexe "${FILESDIR}/agent-startup.sh"
+
+ exeinto "${TDEDIR}/shutdown"
+ doexe "${FILESDIR}/agent-shutdown.sh"
+
+ # x11 session script
+ cat <<EOF > "${T}/tde-${SLOT}"
+#!/bin/sh
+exec ${TDEDIR}/bin/starttde
+EOF
+ exeinto /etc/X11/Sessions
+ doexe "${T}/tde-${SLOT}" # FIXME: change script branding to trinity
+
+ # (not really) freedesktop compliant session script
+ sed -e "s:@TDE_BINDIR@:${TDEDIR}/bin:g;s:Name=Trinity:Name=Trinity ${SLOT}:" \
+ "${S}/tdm/kfrontend/sessions/tde.desktop.in" > "${T}/tde-${SLOT}.desktop"
+ insinto /usr/share/xsessions
+ doins "${T}/tde-${SLOT}.desktop"
+}
+
+pkg_postinst () {
+ echo
+ elog "To enable gpg-agent and/or ssh-agent in Trinity sessions,"
+ elog "edit ${TDEDIR}/env/agent-startup.sh and"
+ elog "${TDEDIR}/shutdown/agent-shutdown.sh"
+ echo
+}