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