gnome-session rebuild

This commit is contained in:
Rmys
2022-08-22 13:05:30 +03:00
committed by GitHub
parent 7ba351cfd8
commit 7db67358d8
+10 -3
View File
@@ -6,15 +6,22 @@
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
mesontools.configure("-Dsystemd=false \
shelltools.system("sed 's@/bin/sh@/bin/sh -l@' -i gnome-session/gnome-session.in")
shelltools.system("""sed -i "/ systemd_dep/,+3d;/if enable_systemd/a \ " meson.build""")
mesontools.configure("--buildtype=release \
-Dsystemd=false \
-Dsystemd_session=disable \
-Dsystemd_journal=false \
-Delogind=true")
-Dsystemd_journal=false")
def build():
mesontools.build()
def install():
mesontools.install()
#shelltools.system("rm -rv %s/tmp/{*.d,*.target,*.service}" % get.installDIR())