2013-03-28 11:59:21 +01:00
|
|
|
# Template file for 'webkitgtk'
|
|
|
|
pkgname=webkitgtk
|
2014-10-15 11:51:18 +02:00
|
|
|
version=2.4.6
|
2014-10-15 15:18:01 +02:00
|
|
|
revision=2
|
2013-08-12 10:51:51 +02:00
|
|
|
build_style=gnu-configure
|
2014-10-15 15:18:01 +02:00
|
|
|
configure_args="--disable-gtk-doc --with-gtk=3.0 --disable-schemas-compile --enable-accelerated-compositing"
|
2013-03-28 11:59:21 +01:00
|
|
|
short_desc="GTK+3 port of the WebKit browser engine"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://webkitgtk.org/"
|
2014-07-12 09:38:50 +02:00
|
|
|
license="LGPL-2.1, 2-clause-BSD"
|
2013-03-28 11:59:21 +01:00
|
|
|
distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz"
|
2014-10-15 11:51:18 +02:00
|
|
|
checksum=6fef4aa8d4a2668e03ea15472a71396ea7b776bbe56ad9459a4124b823c11457
|
2013-03-28 11:59:21 +01:00
|
|
|
|
2014-10-15 11:51:47 +02:00
|
|
|
# ETOOHUGE
|
|
|
|
disable_debug=1
|
|
|
|
|
2014-10-15 12:02:53 +02:00
|
|
|
hostmakedepends="automake libtool perl python pkg-config intltool gperf flex
|
2014-10-15 15:18:01 +02:00
|
|
|
ruby glib-devel geoclue2 gtk-doc"
|
2013-11-15 08:38:32 +01:00
|
|
|
makedepends="
|
2014-05-27 09:37:43 +02:00
|
|
|
at-spi2-core-devel libjpeg-turbo-devel libpng-devel>=1.6 sqlite-devel
|
|
|
|
harfbuzz-devel>=0.9.19 gst-plugins-base1-devel libsoup-devel libxslt-devel
|
2014-10-15 11:12:39 +02:00
|
|
|
icu-devel>=54 enchant-devel dbus-glib-devel libwebp-devel>=0.4.0
|
2014-05-27 09:37:43 +02:00
|
|
|
gtk+-devel gtk+3-devel libgudev-devel libsecret-devel geoclue2"
|
2013-04-14 17:36:49 +02:00
|
|
|
|
2014-01-30 16:35:56 +01:00
|
|
|
# Package build options
|
2014-05-27 09:37:43 +02:00
|
|
|
build_options="gir wayland x11"
|
2014-01-30 16:35:56 +01:00
|
|
|
# Disable gir for cross builds.
|
2014-05-27 09:37:43 +02:00
|
|
|
build_options_default="wayland x11"
|
2014-01-30 16:35:56 +01:00
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
2014-05-27 09:37:43 +02:00
|
|
|
build_options_default+=" gir"
|
2014-01-30 16:35:56 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
|
|
|
hostmakedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
|
|
|
|
2014-05-27 09:37:43 +02:00
|
|
|
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
|
|
|
|
|
2014-05-12 21:17:26 +02:00
|
|
|
pre_configure() {
|
2014-10-15 12:02:53 +02:00
|
|
|
autoreconf -fi
|
2014-05-12 21:17:26 +02:00
|
|
|
}
|
|
|
|
|
2013-04-14 17:36:49 +02:00
|
|
|
webkitgtk-devel_package() {
|
2014-03-27 14:45:08 +01:00
|
|
|
depends="gtk+3-devel libsoup-devel ${sourcepkg}>=${version}_${revision}"
|
2013-04-30 11:41:43 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 17:36:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-30 16:35:56 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-08-12 10:51:51 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 17:36:49 +02:00
|
|
|
}
|
|
|
|
}
|