webkit-gtk2:fix

This commit is contained in:
alihanozturk
2016-06-18 20:13:54 +03:00
parent c23ab88cd3
commit 7e8db680a0
3 changed files with 100 additions and 39 deletions
+27 -11
View File
@@ -10,31 +10,47 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
shelltools.export("XDG_DATA_HOME", get.workDIR())
pisitools.flags.replace("-ggdb3", "-g")
#pisitools.flags.replace("-ggdb3", "-g")
cflags = get.CFLAGS().replace("-ggdb3","")
cxxflags = get.CXXFLAGS().replace("-gddb3", "")
paths = ["JavaScriptCore", "WebCore", "WebKit"]
docs = ["AUTHORS", "ChangeLog", "COPYING.LIB", "THANKS", \
"LICENSE-LGPL-2", "LICENSE-LGPL-2.1", "LICENSE"]
def setup():
shelltools.export("CFLAGS", cflags)
shelltools.export("CXXFLAGS", cxxflags)
autotools.configure("\
--disable-webkit2 \
--libexecdir=/usr/lib \
--with-gtk=2.0 \
--with-gnu-ld \
--disable-silent-rules \
--libexecdir=/usr/lib/WebKitGTK \
--disable-static \
--disable-webkit2 \
--disable-gtk-doc \
--disable-silent-rules \
--disable-wayland-target \
--enable-geolocation \
--enable-glx \
--enable-webgl \
--with-gnu-ld \
--with-gstreamer=1.0 \
--with-gtk=2.0 \
--enable-x11-target \
--enable-video \
--enable-web-audio \
--enable-introspection \
")
#--enable-dependency-tracking \
#--disable-gtk-doc \
#--enable-video \
#--enable-introspection \
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
shelltools.export("CFLAGS", cflags)
shelltools.export("CXXFLAGS", cxxflags)
autotools.make("-j1 all stamp-po")
def install():
shelltools.export("CFLAGS", cflags)
shelltools.export("CXXFLAGS", cxxflags)
autotools.rawInstall("-j1 DESTDIR=%s" % get.installDIR())
pisitools.domove("/usr/share/gtk-doc/html", "/usr/share/doc/webkit-gtk2")