diff options
author | ormorph <[email protected]> | 2023-10-27 13:50:17 +0300 |
---|---|---|
committer | ormorph <[email protected]> | 2023-10-27 13:50:17 +0300 |
commit | 18d39ed9f062321b596258a9137f10b3e93b71e0 (patch) | |
tree | fe24a566266198330ff71db390413fdf7a9d63af /trinity-base/tdebase-starttde | |
parent | cd2192fbe2c90ea734db5bc716740b7dded481b6 (diff) | |
download | tde-packaging-gentoo-18d39ed9f062321b596258a9137f10b3e93b71e0.tar.gz tde-packaging-gentoo-18d39ed9f062321b596258a9137f10b3e93b71e0.zip |
Release R14.1.1 added
Signed-off-by: ormorph <[email protected]>
Diffstat (limited to 'trinity-base/tdebase-starttde')
-rw-r--r-- | trinity-base/tdebase-starttde/Manifest | 1 | ||||
-rw-r--r-- | trinity-base/tdebase-starttde/tdebase-starttde-14.1.1.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/trinity-base/tdebase-starttde/Manifest b/trinity-base/tdebase-starttde/Manifest index 0c86c08c..946d63c0 100644 --- a/trinity-base/tdebase-starttde/Manifest +++ b/trinity-base/tdebase-starttde/Manifest @@ -1 +1,2 @@ DIST tdebase-trinity-14.1.0.tar.xz 30722632 BLAKE2B 1f4b87be37730aaa93fc579c130d7af7c408d20512ff8642d8313abaa7ccf6a012c8b52c595641e8ff820f709d68471224f2ceb1f898769b36e386345924b948 SHA512 8fcbb5d4bbaefc9acafa5d1926d6f22b1c087a7af63f0d9e2438c95730e82e6d6e9555afdf336bd01c296adedef5665c571d00c6738d071ed069243d47f30674 +DIST tdebase-trinity-14.1.1.tar.xz 30746484 BLAKE2B 4d2fdd9e3f5007c7482e938badad381a3e314b458b262dd346c05c91a9a4b974d8f1244152b833a34f7edad246bd4a8af0e054279a1556cebac6319a1a011a09 SHA512 d733f20719a0c9a949540e95f4d60fe03e096efbd7ac54187c5ee9b9f9b644318ee2dd9c8fd0d2e6eee660f7a7ad827e66bc06fb9a36c9e56e3ae16bdd47910c diff --git a/trinity-base/tdebase-starttde/tdebase-starttde-14.1.1.ebuild b/trinity-base/tdebase-starttde/tdebase-starttde-14.1.1.ebuild new file mode 100644 index 00000000..512a478c --- /dev/null +++ b/trinity-base/tdebase-starttde/tdebase-starttde-14.1.1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2023 Gentoo Authors +# Copyright 2020-2023 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}" + +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 +} |