Added support for loading tdm unit to systemd

Solving problem #380

Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit f2b8d2a65a)
r14.1.x
ormorph 6 months ago committed by Slávek Banko
parent 4d8daf1292
commit 9a472268a6
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -12,7 +12,7 @@ DESCRIPTION="Trinity login manager, similar to XDM and GDM"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
IUSE="+hwlib pam sak +svg xcomposite xdmcp +xrandr"
IUSE="+hwlib pam sak systemd +svg xcomposite xdmcp +xrandr"
DEPEND="
sys-apps/dbus
@ -20,6 +20,7 @@ DEPEND="
~trinity-base/tdelibs-${PV}[xrandr?]
x11-libs/libXtst
pam? ( trinity-base/tdebase-pam )
systemd? ( sys-apps/systemd )
svg? ( media-libs/libart_lgpl )
xcomposite? ( x11-libs/libXcomposite )
xdmcp? ( x11-libs/libXdmcp )
@ -41,6 +42,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DBUILD_TDM_SYSTEMD_UNIT_FILE="$(usex systemd)"
-DWITH_XTEST=ON
-DWITH_SHADOW=ON
-DWITH_LIBART="$(usex svg)"

@ -12,7 +12,7 @@ DESCRIPTION="Trinity login manager, similar to XDM and GDM"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
IUSE="+hwlib pam sak +svg xcomposite xdmcp +xrandr"
IUSE="+hwlib pam sak systemd +svg xcomposite xdmcp +xrandr"
DEPEND="
sys-apps/dbus
@ -20,6 +20,7 @@ DEPEND="
~trinity-base/tdelibs-${PV}[xrandr?]
x11-libs/libXtst
pam? ( trinity-base/tdebase-pam )
systemd? ( sys-apps/systemd )
svg? ( media-libs/libart_lgpl )
xcomposite? ( x11-libs/libXcomposite )
xdmcp? ( x11-libs/libXdmcp )
@ -36,6 +37,7 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
-DBUILD_TDM_SYSTEMD_UNIT_FILE="$(usex systemd)"
-DWITH_XTEST=ON
-DWITH_SHADOW=ON
-DWITH_LIBART="$(usex svg)"

@ -13,7 +13,7 @@ DESCRIPTION="Trinity login manager, similar to XDM and GDM"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
IUSE="+hwlib pam sak +svg xcomposite xdmcp +xrandr"
IUSE="+hwlib pam sak systemd +svg xcomposite xdmcp +xrandr"
DEPEND="
sys-apps/dbus
@ -21,6 +21,7 @@ DEPEND="
~trinity-base/tdelibs-${PV}[xrandr?]
x11-libs/libXtst
pam? ( trinity-base/tdebase-pam )
systemd? ( sys-apps/systemd )
svg? ( media-libs/libart_lgpl )
xcomposite? ( x11-libs/libXcomposite )
xdmcp? ( x11-libs/libXdmcp )
@ -37,6 +38,7 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
-DBUILD_TDM_SYSTEMD_UNIT_FILE="$(usex systemd)"
-DWITH_XTEST=ON
-DWITH_SHADOW=ON
-DWITH_LIBART="$(usex svg)"

Loading…
Cancel
Save