webkitgtk: update to 2.4.3.

This commit is contained in:
Juan RP 2014-05-27 09:37:43 +02:00
parent 9828fe5911
commit 43f84d618e
1 changed files with 27 additions and 10 deletions

View File

@ -1,31 +1,34 @@
# Template file for 'webkitgtk' # Template file for 'webkitgtk'
pkgname=webkitgtk pkgname=webkitgtk
version=2.4.2 version=2.4.3
revision=2 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-gtk=3.0" configure_args="--with-gtk=3.0 --disable-schemas-compile --enable-accelerated-compositing"
short_desc="GTK+3 port of the WebKit browser engine" short_desc="GTK+3 port of the WebKit browser engine"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://webkitgtk.org/" homepage="http://webkitgtk.org/"
license="LGPL-2.1, Simplified BSD (2 clause)" license="LGPL-2.1, Simplified BSD (2 clause)"
distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz" distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz"
checksum=cac8385c3b8a956793eb6b67712c23297a39e5f8b429523f32bbdcdf9c21d00a checksum=9862c3eac1d12cc6e52cc39060a1284163950b304d534529a0dbcc5958a8ceac
hostmakedepends="libtool perl python pkg-config intltool which gperf flex hostmakedepends="libtool perl python pkg-config intltool which gperf flex
ruby glib-devel" ruby glib-devel"
makedepends=" makedepends="
at-spi2-core-devel libjpeg-turbo-devel libpng-devel>=1.6 sqlite-devel harfbuzz-devel>=0.9.19 at-spi2-core-devel libjpeg-turbo-devel libpng-devel>=1.6 sqlite-devel
gst-plugins-base1-devel libsoup-devel libxslt-devel icu-devel>=49 harfbuzz-devel>=0.9.19 gst-plugins-base1-devel libsoup-devel libxslt-devel
enchant-devel dbus-glib-devel geoclue-devel libwebp-devel>=0.4.0 libsecret-devel icu-devel>=49 enchant-devel dbus-glib-devel libwebp-devel>=0.4.0
gtk+-devel gtk+3-devel libgudev-devel libXt-devel MesaLib-devel" gtk+-devel gtk+3-devel libgudev-devel libsecret-devel geoclue2"
# Package build options # Package build options
build_options="gir" build_options="gir wayland x11"
desc_option_gir="Enable support for building gobject introspection data" desc_option_gir="Enable support for building gobject introspection data"
desc_option_wayland="Enable support for wayland"
desc_option_x11="Enable support for X11"
# Disable gir for cross builds. # Disable gir for cross builds.
build_options_default="wayland x11"
if [ -z "$CROSS_BUILD" ]; then if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir" build_options_default+=" gir"
fi fi
if [ "$build_option_gir" ]; then if [ "$build_option_gir" ]; then
@ -35,6 +38,20 @@ else
configure_args+=" --disable-introspection" configure_args+=" --disable-introspection"
fi fi
if [ "$build_option_wayland" ]; then
configure_args+=" --enable-wayland-target"
makedepends+=" MesaLib-devel libxkbcommon-devel wayland-devel"
else
configure_args+=" --disable-wayland-target"
fi
if [ "$build_option_x11" ]; then
configure_args+=" --enable-x11-target"
makedepends+=" libXt-devel"
else
configure_args+=" --disable-x11-target"
fi
# Use linker flags to reduce memory consumption # Use linker flags to reduce memory consumption
LDFLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads" LDFLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"