2013-03-28 11:59:21 +01:00
|
|
|
# Template file for 'webkitgtk'
|
|
|
|
pkgname=webkitgtk
|
2014-04-18 23:37:12 +02:00
|
|
|
version=2.4.1
|
2014-03-26 17:58:20 +01:00
|
|
|
revision=1
|
2013-08-12 10:51:51 +02:00
|
|
|
build_style=gnu-configure
|
2014-01-30 16:35:56 +01:00
|
|
|
configure_args="--with-gtk=3.0"
|
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/"
|
|
|
|
license="LGPL-2.1, Simplified BSD (2 clause)"
|
|
|
|
distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz"
|
2014-04-18 23:37:12 +02:00
|
|
|
checksum=6eed5d41ecdcfbafe3c2fbb0f0b79b9cda87a5ea0e7d0938afb6c6c82996e2f7
|
2013-03-28 11:59:21 +01:00
|
|
|
|
2014-02-20 10:19:02 +01:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2014-02-20 10:21:22 +01:00
|
|
|
msg_error "${pkgname}-${version}: cannot be cross compiled right now.\n"
|
2014-02-20 10:19:02 +01:00
|
|
|
fi
|
|
|
|
|
2014-02-19 10:41:17 +01:00
|
|
|
hostmakedepends="perl python pkg-config intltool which gperf flex
|
|
|
|
ruby glib-devel icu-devel"
|
2013-11-15 08:38:32 +01:00
|
|
|
makedepends="
|
|
|
|
libjpeg-turbo-devel libpng-devel>=1.6 sqlite-devel harfbuzz-devel>=0.9.19
|
2014-03-27 14:45:08 +01:00
|
|
|
gst-plugins-base1-devel libsoup-devel libxslt-devel icu-devel>=49
|
2014-02-03 09:56:34 +01:00
|
|
|
enchant-devel dbus-glib-devel geoclue-devel libwebp-devel>=0.4.0 libsecret-devel
|
2014-02-19 10:41:17 +01:00
|
|
|
gtk+-devel gtk+3-devel libgudev-devel libXt-devel MesaLib-devel"
|
2013-04-14 17:36:49 +02:00
|
|
|
|
2014-01-30 16:35:56 +01:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
desc_option_gir="Enable support for building gobject introspection data"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
|
|
|
hostmakedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
|
|
|
|
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-04-14 17:36:49 +02:00
|
|
|
vmove usr/share/gtk-doc
|
2013-08-12 10:51:51 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 17:36:49 +02:00
|
|
|
}
|
|
|
|
}
|