harfbuzz ver. bump

This commit is contained in:
Rmys
2021-01-23 23:35:18 +03:00
committed by GitHub
parent 5ead019af3
commit 2520058ca6
2 changed files with 27 additions and 18 deletions
+16 -17
View File
@@ -7,28 +7,27 @@ from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import mesontools
def setup():
options = "--with-glib=yes \
--with-freetype=yes \
--with-cairo=yes \
--with-icu=yes \
--with-gobject=yes \
--with-graphite2=yes"
options = "-D graphite=enabled \
-D docs=disabled \
"
if get.buildTYPE() == "emul32":
options += "--with-glib=yes \
--with-graphite2=no \
--with-cairo=yes \
--with-icu=yes"
autotools.configure(options)
options += " -D graphite=disabled \
-D introspection=disabled \
"
mesontools.configure(options)
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
mesontools.build()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")
mesontools.install()
if get.buildTYPE() == "_emul32":
return
pisitools.dodoc("AUTHORS", "COPYING", "README*")