summaryrefslogtreecommitdiffstats
path: root/trinity-base
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2024-06-03 20:29:15 +0300
committerSlávek Banko <slavek.banko@axis.cz>2024-06-03 21:51:43 +0200
commit9a472268a6d1bec396f2987a3fb52ef29463ac32 (patch)
treed300b9b8a4bfda6abdb45e2c71d6152018ba7179 /trinity-base
parent4d8daf1292afa9667734dedfa950a83cab9b9742 (diff)
downloadtde-packaging-gentoo-9a472268a6d1bec396f2987a3fb52ef29463ac32.tar.gz
tde-packaging-gentoo-9a472268a6d1bec396f2987a3fb52ef29463ac32.zip
Added support for loading tdm unit to systemd
Solving problem #380 Signed-off-by: ormorph <roma251078@mail.ru> (cherry picked from commit f2b8d2a65ae8b42de5688c8ae8bc52dc8095b207)
Diffstat (limited to 'trinity-base')
-rw-r--r--trinity-base/tdm/tdm-14.1.1.ebuild4
-rw-r--r--trinity-base/tdm/tdm-14.1.2.ebuild4
-rw-r--r--trinity-base/tdm/tdm-9999.ebuild4
3 files changed, 9 insertions, 3 deletions
diff --git a/trinity-base/tdm/tdm-14.1.1.ebuild b/trinity-base/tdm/tdm-14.1.1.ebuild
index 4e6c44f0..0b2b794a 100644
--- a/trinity-base/tdm/tdm-14.1.1.ebuild
+++ b/trinity-base/tdm/tdm-14.1.1.ebuild
@@ -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)"
diff --git a/trinity-base/tdm/tdm-14.1.2.ebuild b/trinity-base/tdm/tdm-14.1.2.ebuild
index 8e37f63f..ac50b56e 100644
--- a/trinity-base/tdm/tdm-14.1.2.ebuild
+++ b/trinity-base/tdm/tdm-14.1.2.ebuild
@@ -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)"
diff --git a/trinity-base/tdm/tdm-9999.ebuild b/trinity-base/tdm/tdm-9999.ebuild
index eaee9ed7..23712eb9 100644
--- a/trinity-base/tdm/tdm-9999.ebuild
+++ b/trinity-base/tdm/tdm-9999.ebuild
@@ -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)"