gobject-introspection

This commit is contained in:
Rmys
2020-10-28 22:15:53 +02:00
committed by GitHub
parent fbd8a1ca26
commit 92de41d638
+6 -25
View File
@@ -4,38 +4,19 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
def setup(): def setup():
#autotools.autoreconf("-fiv") mesontools.configure()
#autotools.configure("--disable-static \
#--disable-doctool")
options = " --libdir=/usr/lib \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--datadir=/usr/share \
--prefix=/usr"
shelltools.makedirs("build")
shelltools.cd("build")
shelltools.system("meson .. %s" % options)
#pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build(): def build():
#autotools.make() mesontools.build()
shelltools.cd("build")
shelltools.system("ninja")
def install(): def install():
#autotools.rawInstall("DESTDIR=%s" % get.installDIR()) mesontools.install()
shelltools.cd("build")
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())