|
|
|
@ -7,7 +7,7 @@ EAPI="8"
|
|
|
|
|
TRINITY_MODULE_NAME="tdebase"
|
|
|
|
|
TRINITY_MODULE_TYPE="core"
|
|
|
|
|
TSM_EXTRACT_ALSO="translations/"
|
|
|
|
|
inherit trinity-meta-2
|
|
|
|
|
inherit linux-info trinity-meta-2
|
|
|
|
|
|
|
|
|
|
DESCRIPTION="Trinity login manager, similar to XDM and GDM"
|
|
|
|
|
if [[ ${PV} != *9999* ]] ; then
|
|
|
|
@ -52,11 +52,11 @@ src_configure() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
|
cmake_src_install
|
|
|
|
|
trinity-meta-2_src_install
|
|
|
|
|
|
|
|
|
|
# Customize the tdmrc configuration
|
|
|
|
|
sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \
|
|
|
|
|
"${D}/${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed"
|
|
|
|
|
"${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed"
|
|
|
|
|
|
|
|
|
|
# Install XSession upstream script seems to be debian-cpecific
|
|
|
|
|
cp "${FILESDIR}/${PN}-14.0.8-xsession.script" "${D}/${TDEDIR}/share/config/tdm/Xsession" || die
|
|
|
|
@ -99,8 +99,8 @@ pkg_postinst() {
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
if [[ "$sak_ok" != yes ]]; then
|
|
|
|
|
sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSak=false:' \
|
|
|
|
|
"${D}${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed"
|
|
|
|
|
sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSAK=false:' \
|
|
|
|
|
"${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed"
|
|
|
|
|
ewarn "SAK feature is disabled. You can enable it yourself by setting UseSAK=true"
|
|
|
|
|
ewarn "in ${TDEDIR}/share/config/tdm/tdmrc "
|
|
|
|
|
else
|
|
|
|
|