dconf fix

This commit is contained in:
Erkan IŞIK
2020-01-14 16:02:34 +03:00
parent 40eaa05fb0
commit b470abbd8a
2 changed files with 13 additions and 3 deletions
+4
View File
@@ -10,12 +10,16 @@ from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system(""" sed -i "s|link_whole: libdconf_common,|link_with: libdconf_common,|g" common/meson.build """)
shelltools.makedirs("build")
shelltools.cd("build")
shelltools.system("meson .. --prefix=/usr --sysconfdir=/etc -Dwith-dbus-service-dir=/usr/share/dbus-1/services \
-Dwith-dbus-system-service-dir=/usr/share/dbus-1/system-services -Dwith-gio-modules-dir=/usr/lib/gio/modules \
-Denable-gtk-doc=false -Denable-man=true")
def build():
shelltools.cd("build")
shelltools.system("ninja")