summaryrefslogtreecommitdiffstats
path: root/webkit/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/Pkgfile')
-rwxr-xr-xwebkit/Pkgfile75
1 files changed, 9 insertions, 66 deletions
diff --git a/webkit/Pkgfile b/webkit/Pkgfile
index 586c6a723..5c90c3bfe 100755
--- a/webkit/Pkgfile
+++ b/webkit/Pkgfile
@@ -6,84 +6,27 @@
# Run on: gtk3,curl,dbus,gst-plugins-base,icu,enchant,libsoup,libxslt,xorg-libxt,geoclue
name=webkit
-version=1.9.2
+version=1.9.3
release=1
-source=(http://webkitgtk.org/releases/$name-$version.tar.xz
- parallel-make-hack.patch)
+source=(http://webkitgtk.org/releases/$name-$version.tar.xz)
-buildwebkit() {
- PYTHON=/usr/bin/python2 ../configure --prefix=/usr \
+build() {
+ cd $name-$version
+ unset MAKEFLAGS
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--enable-introspection \
--enable-spellcheck \
--enable-geolocation \
--enable-video \
--enable-jit \
+ --enable-webkit2 \
--disable-schemas-compile \
--with-font-backend=freetype \
--with-unicode-backend=icu \
- "$@"
- make all-built-sources-local
- make all-ltlibraries-local
- make all-programs-local
- make all-data-local
- make stamp-po
+ --with-gtk=3.0
+ make all stamp-po
make DESTDIR=$PKG install
-
-}
-
-build() {
- cd $name-$version
- patch -p1 < ../parallel-make-hack.patch
- autoreconf -I Source/autotools -fi
- mkdir build-gtk{2,3}
-
- (
- cd build-gtk2
- buildwebkit --with-gtk=2.0
- mkdir -p $PKG/usr/lib/$name
- install -m 755 Programs/GtkLauncher $PKG/usr/lib/$name
- )
- (
- cd build-gtk3
- buildwebkit --with-gtk=3.0
- mkdir -p $PKG/usr/lib/${name}3
- install -m 755 Programs/GtkLauncher $PKG/usr/lib/${name}3
- )
}
-# cp -r $name-$version $name-3-$version
-#
-# cd $name-$version
-# ./configure --prefix=/usr \
-# --sysconfdir=/etc \
-# --localstatedir=/var \
-# --enable-introspection \
-# --enable-video \
-# --enable-jit \
-# --disable-schemas-compile \
-# --with-font-backend=freetype \
-# --with-unicode-backend=icu \
-# --with-gtk=2.0
-# make -j1
-# make DESTDIR=$PKG install
-# mkdir $PKG/usr/lib/$name
-# install -m755 Programs/GtkLauncher $PKG/usr/lib/$name
-#
-# cd $SRC/$name-3-$version
-# ./configure --prefix=/usr \
-# --sysconfdir=/etc \
-# --localstatedir=/var \
-# --enable-introspection \
-# --enable-video \
-# --enable-jit \
-# --disable-schemas-compile \
-# --with-font-backend=freetype \
-# --with-unicode-backend=icu \
-# --with-gtk=3.0
-# make -j1
-# make DESTDIR=$PKG install
-# mkdir $PKG/usr/lib/${name}3
-# install -m755 Programs/GtkLauncher $PKG/usr/lib/${name}3
-#}
#
# --enable-3d-rendering \
# --enable-webgl \