diff options
Diffstat (limited to 'trinity-base/tdebase-starttde')
-rw-r--r-- | trinity-base/tdebase-starttde/Manifest | 2 | ||||
-rw-r--r-- | trinity-base/tdebase-starttde/tdebase-starttde-14.0.6.ebuild | 81 |
2 files changed, 83 insertions, 0 deletions
diff --git a/trinity-base/tdebase-starttde/Manifest b/trinity-base/tdebase-starttde/Manifest new file mode 100644 index 00000000..b2bbd5ea --- /dev/null +++ b/trinity-base/tdebase-starttde/Manifest @@ -0,0 +1,2 @@ +DIST tdebase-trinity-14.0.6.tar.xz 30023524 BLAKE2B 7be823f5e5d2555a7cbcf9ae08cfc5999e3d08da3ad4546ca357a228d37291bc6553f0ccda2924683f00db6c3dce59c42420858a48badad99e318488b5c1656e SHA512 ac49887ef407fd5290ca1cb95121ad7eac17d41a4be95caaa21f42559ab5904d93d152bdfd63d79f0d5e761653031a2c620fcb7bcec933dc97cf9307606bc14d +DIST tdebase-trinity-14.0.7.tar.xz 30025772 BLAKE2B d163bb263ef0351dcf437777e7dbf5da4681baa2023cb2d53357145fec25a5ecb7015832645862b912b25b0d2f61432c6e4b740fad4c84b153610dc3be30c60a SHA512 ce9fbac0553b49c21061cf5cf22acf0831b6a2984ac08df3d37a1ed28ed1e7066cfc9cfb7fc3c78e40b876553dee6c3b1bd9e6fc5419af310645ac704a2abdb7 diff --git a/trinity-base/tdebase-starttde/tdebase-starttde-14.0.6.ebuild b/trinity-base/tdebase-starttde/tdebase-starttde-14.0.6.ebuild new file mode 100644 index 00000000..ae582ded --- /dev/null +++ b/trinity-base/tdebase-starttde/tdebase-starttde-14.0.6.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2017 Gentoo Foundation +# Copyright 2020 The Trinity Desktop Project +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +EAPI="7" +TRINITY_MODULE_NAME="tdebase" + +inherit trinity-meta-2 + +DESCRIPTION="Starttde script, which starts a complete Trinity session, and associated scripts" +KEYWORDS="~amd64 ~x86" +RDEPEND="x11-apps/xmessage + x11-apps/xsetroot + x11-apps/xset + x11-apps/xrandr + x11-apps/mkfontdir + 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}" + +TSM_EXTRACT="starttde README.pam INSTALL AUTHORS COPYING COPYING-DOCS tdm" + +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 +} |