gtk3 ver. bump
This commit is contained in:
@@ -7,15 +7,16 @@
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import mesontools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
|
||||
def setup():
|
||||
options = "--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--enable-x11-backend \
|
||||
--enable-broadway-backend \
|
||||
--disable-wayland-backend \
|
||||
options = "--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
-Dcolord=no \
|
||||
-Dgtk_doc=true \
|
||||
-Dbroadway_backend=true \
|
||||
"
|
||||
|
||||
shelltools.export("CFLAGS", get.CFLAGS().replace("-fomit-frame-pointer",""))
|
||||
@@ -24,7 +25,9 @@ def setup():
|
||||
options += " --libdir=/usr/lib32 \
|
||||
--bindir=/usr/bin32 \
|
||||
--sbindir=/usr/sbin32 \
|
||||
--enable-colord=no \
|
||||
-Dman=false \
|
||||
-Dgtk_doc=false \
|
||||
-Dcolord=no \
|
||||
"
|
||||
|
||||
shelltools.export("CC", "%s -m32" % get.CC())
|
||||
@@ -36,19 +39,21 @@ def setup():
|
||||
|
||||
pisitools.dosed("configure.ac", "cups-config", "cups-config-32bit")
|
||||
|
||||
autotools.autoreconf("-fiv")
|
||||
autotools.configure(options)
|
||||
#autotools.autoreconf("-fiv")
|
||||
mesontools.configure(options)
|
||||
|
||||
pisitools.dosed("libtool", "( -shared )", r" -Wl,-O1,--as-needed\1")
|
||||
#pisitools.dosed("libtool", "( -shared )", r" -Wl,-O1,--as-needed\1")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
mesontools.build()
|
||||
#autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
mesontools.install()
|
||||
#autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
# remove empty dir
|
||||
pisitools.removeDir("/usr/share/man")
|
||||
#pisitools.removeDir("/usr/share/man")
|
||||
pisitools.dodoc("AUTHORS", "README*", "HACKING", "ChangeLog*", "NEWS*")
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
|
||||
Reference in New Issue
Block a user