sddm ver. bump

This commit is contained in:
Rmys
2024-03-08 15:22:17 +03:00
parent 6b9356754b
commit 5a1baf58c2
4 changed files with 41 additions and 20 deletions
+14 -14
View File
@@ -10,37 +10,37 @@ from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
#shelltools.export("PYTHON", "/usr/bin/python3")
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
cmaketools.configure("-B build -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf \
-DDBUS_CONFIG_DIR=/usr/share/dbus-1/system.d \
-DNO_SYSTEMD=ON \
-DUSE_ELOGIND=ON \
-DBUILD_WITH_QT6=ON \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/sddm \
-DBUILD_MAN_PAGES=ON", sourceDir=".." )
-DBUILD_MAN_PAGES=ON")
cmaketools.configure("-B build5 -DCMAKE_INSTALL_PREFIX=/usr")
def build():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.make("-C build")
cmaketools.make()
cmaketools.make("-C build5/src/greeter")
cmaketools.make("-C build5/components")
def install():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.install("-C build")
cmaketools.install()
cmaketools.install("-C build5/src/greeter")
cmaketools.install("-C build5/components")
shelltools.system('sed -i "s@system-local-login@system-login@" ' + get.installDIR() + "/etc/pam.d/sddm-autologin")
# pisitools.insinto("/usr/share/sddm/themes/Sweet-Cat", "../Sweet-Cat-0.1/*")
pisitools.insinto("/usr/share/sddm/themes/Pisilinux234V2", "../Pisilinux234V2-sddm-themes-1.0/*")
pisitools.insinto("/usr/share/sddm/themes/Pisilinux234V2", "Pisilinux234V2-sddm-themes-1.0/*")
# pisitools.dosym("/usr/bin/sddm-greeter-qt6", "/usr/bin/sddm-greeter")
pisitools.dodoc("../LICENSE")
pisitools.dodoc("LICENSE")
## If you don't like to see any character at all not even while being entered set this to true.
#pisitools.dosed("%s/usr/share/sddm/themes/Sweet-Cat/theme.conf" % get.installDIR(), 'ForceHideCompletePassword="false"', 'ForceHideCompletePassword="true"')