summaryrefslogtreecommitdiffstats
path: root/trinity-base/tdm
diff options
context:
space:
mode:
authorChris <[email protected]>2020-01-08 03:32:42 +0100
committerTDE Gitea <[email protected]>2020-01-18 16:30:56 +0000
commit6bbd4e98cf417d8be962fb2896b95dac248f2438 (patch)
treefd33db170ae706273cfcfce10fe4f79f4012102d /trinity-base/tdm
parent084b0b62ec405a29a0b09db92551cf973637478f (diff)
downloadtde-packaging-gentoo-6bbd4e98cf417d8be962fb2896b95dac248f2438.tar.gz
tde-packaging-gentoo-6bbd4e98cf417d8be962fb2896b95dac248f2438.zip
Live ebuilds: Port to EAPI7 and cleanup - Round 1.
This time: kcminit, kcontrol, kdesktop, kicker, konqueror, libkonq, tdebase-data, tdebase-meta, tdm, and tdebase-tdeioslaves Also: Add additional dependency for rpcgen. Add additional USE flag for tdehwlib. Signed-off-by: Chris <[email protected]>
Diffstat (limited to 'trinity-base/tdm')
-rw-r--r--trinity-base/tdm/tdm-9999.ebuild35
1 files changed, 18 insertions, 17 deletions
diff --git a/trinity-base/tdm/tdm-9999.ebuild b/trinity-base/tdm/tdm-9999.ebuild
index 5d4d6160..879b03bc 100644
--- a/trinity-base/tdm/tdm-9999.ebuild
+++ b/trinity-base/tdm/tdm-9999.ebuild
@@ -1,32 +1,33 @@
# Copyright 1999-2017 Gentoo Foundation
+# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI="7"
TRINITY_MODULE_NAME="tdebase"
-inherit trinity-meta
+inherit trinity-meta-2
+
+DESCRIPTION="Trinity login manager, similar to XDM and GDM"
-DESCRIPTION="Trinity login manager, similar to xdm and gdm"
-KEYWORDS=
IUSE="pam xdmcp xcomposite sak +xrandr"
DEPEND="pam? ( trinity-base/tdebase-pam )
xdmcp? ( x11-libs/libXdmcp )
xcomposite? ( x11-libs/libXcomposite )
xrandr? ( x11-libs/libXrandr )
- >=trinity-base/tdelibs-${PV}:${SLOT}[xrandr?]
+ =trinity-base/tdelibs-${PV}[xrandr?]
sys-apps/dbus
x11-libs/libXtst
- >=trinity-base/kcontrol-${PV}:${SLOT}
- dev-libs/dbus-tqt"
+ =trinity-base/kcontrol-${PV}
+ =dev-libs/dbus-tqt-${PV}"
RDEPEND="${DEPEND}
- >=trinity-base/tdepasswd-${PV}:${SLOT}
+ =trinity-base/tdepasswd-${PV}
x11-apps/xinit
x11-apps/xmessage"
pkg_setup() {
- trinity-meta_pkg_setup;
+ trinity-meta-2_pkg_setup;
use sak && TRINITY_SUBMODULE+=" tsak"
}
@@ -35,30 +36,30 @@ src_configure() {
-DWITH_XTEST=ON
-DWITH_LIBART=ON
-DWITH_SHADOW=ON
- $(cmake-utils_use_with xcomposite XCOMPOSITE )
- $(cmake-utils_use_with xdmcp XDMCP )
- $(cmake-utils_use_with xrandr XRANDR )
- $(cmake-utils_use_with pam PAM )
+ -DWITH_XCOMPOSITE="$(usex xcomposite)"
+ -DWITH_XDMCP="$(usex xdmcp)"
+ -DWITH_XRANDR="$(usex xrandr)"
+ -DWITH_PAM="$(usex pam)"
)
- trinity-meta_src_configure
+ trinity-meta-2_src_configure
}
src_install() {
cmake-utils_src_install
- # Customize the kdmrc configuration
+ # 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"
- # install XSession upstream script seems to be debian-cpecific
+ # Install XSession upstream script seems to be debian-cpecific
cp "${FILESDIR}/${P}-xsession.script" "${D}/${TDEDIR}/share/config/tdm/Xsession"
sed -i -e "s!@TRINITY_INSTALL_PATH@!${TDEDIR}!" "${D}/${TDEDIR}/share/config/tdm/Xsession" \
|| die "sed tdmrc failed"
}
pkg_postinst() {
- # set the default kdm face icon if it's not already set by the system admin
+ # Set the default TDM face icon if it's not already set by the system admin
# because this is user-overrideable in that way, it's not in src_install
if [ ! -e "${ROOT}${TDEDIR}/share/apps/tdm/faces/.default.face.icon" ]; then
mkdir -p "${ROOT}${TDEDIR}/share/apps/tdm/faces"