pango 1.44.7

This commit is contained in:
idriskalp
2020-01-08 18:58:12 +03:00
parent 4c7b8b31fb
commit c840ce305d
2 changed files with 38 additions and 15 deletions
+30 -14
View File
@@ -8,33 +8,49 @@ 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():
if get.buildTYPE()=="emul32":
pisitools.dosed("pango/modules.c", "(pango\.modules)", r"\1-32")
if get.buildTYPE()=="emul32":
pisitools.dosed("pango/modules.c", "(pango\.modules)", r"\1-32")
# autotools.autoreconf("-fiv")
autotools.configure("--disable-static \
--sysconfdir=/etc \
--disable-gtk-doc \
--%sable-introspection" % ("dis" if get.buildTYPE()=="emul32" else "en"))
#autotools.configure("--disable-static \
#--sysconfdir=/etc \
#--disable-gtk-doc \
#--%sable-introspection" % ("dis" if get.buildTYPE()=="emul32" else "en"))
options = "-Dgtk_doc=false \
"
if get.buildTYPE()=="emul32" :
options += "-Dintrospection=false \
--bindir=/usr/bin32"
else:
options += "-Dintrospection=true"
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
#pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
mesontools.configure(options)
def build():
autotools.make()
mesontools.build()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#autotools.rawInstall("DESTDIR=%s" % get.installDIR())
mesontools.install()
if get.buildTYPE()=="emul32":
#shelltools.move("pango/.libs/pango-querymodules", "pango/.libs/pango-querymodules-32")
#pisitools.dobin("pango/.libs/pango-querymodules-32")
return
#if get.buildTYPE()=="emul32":
##shelltools.move("pango/.libs/pango-querymodules", "pango/.libs/pango-querymodules-32")
##pisitools.dobin("pango/.libs/pango-querymodules-32")
#return
pisitools.dodir("/etc/pango")
shelltools.touch(get.installDIR() +"/etc/pango/pango.modules")
if get.buildTYPE()=="emul32" :
pisitools.removeDir("/usr/bin32")
pisitools.dodoc("AUTHORS", "ChangeLog*", "COPYING", "README", "NEWS")
pisitools.dodoc("README.md", "NEWS")
+8 -1
View File
@@ -13,7 +13,7 @@
<IsA>library</IsA>
<Summary>Text rendering and layout library</Summary>
<Description>Pango is a library for laying out and rendering of text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+-2.x.</Description>
<Archive sha1sum="240942b1307eaa3819e6e534596271c57cd75457" type="tarxz">mirrors://gnome/pango/1.42/pango-1.42.4.tar.xz</Archive>
<Archive sha1sum="2ca86089b657a2ccfede7d1b7598fdaa34c24859" type="tarxz">mirrors://gnome/pango/1.44/pango-1.44.7.tar.xz</Archive>
<BuildDependencies>
<Dependency>libX11-devel</Dependency>
<Dependency>freetype-devel</Dependency>
@@ -128,6 +128,13 @@
</Package>
<History>
<Update release="8">
<Date>2020-01-08</Date>
<Version>1.44.7</Version>
<Comment>Version bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2019-01-15</Date>
<Version>1.42.4</Version>