2013-03-28 10:59:21 +00:00
|
|
|
# Template file for 'webkitgtk'
|
|
|
|
pkgname=webkitgtk
|
2014-01-30 15:35:56 +00:00
|
|
|
version=2.2.4
|
2014-02-03 08:56:34 +00:00
|
|
|
revision=2
|
2013-08-12 08:51:51 +00:00
|
|
|
build_style=gnu-configure
|
2014-01-30 15:35:56 +00:00
|
|
|
configure_args="--with-gtk=3.0"
|
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/"
|
|
|
|
license="LGPL-2.1, Simplified BSD (2 clause)"
|
|
|
|
distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz"
|
2014-01-30 15:35:56 +00:00
|
|
|
checksum=5e1aee1bfca3602cb02920d6984c584c775c661b30c33955e35ff9a21b4c4d74
|
2013-03-28 10:59:21 +00:00
|
|
|
|
2014-01-30 15:35:56 +00:00
|
|
|
hostmakedepends="perl pkg-config intltool which gperf flex ruby"
|
2013-11-15 07:38:32 +00:00
|
|
|
makedepends="
|
|
|
|
libjpeg-turbo-devel libpng-devel>=1.6 sqlite-devel harfbuzz-devel>=0.9.19
|
2013-03-28 10:59:21 +00:00
|
|
|
gst-plugins-base1-devel libsoup-devel>=2.42 libxslt-devel icu-devel>=49
|
2014-02-03 08:56:34 +00:00
|
|
|
enchant-devel dbus-glib-devel geoclue-devel libwebp-devel>=0.4.0 libsecret-devel
|
2013-04-18 07:05:49 +00:00
|
|
|
gtk+-devel gtk+3-devel>=3.8 libgudev-devel libXt-devel"
|
2013-04-14 15:36:49 +00:00
|
|
|
|
2014-01-30 15:35:56 +00: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 15:36:49 +00:00
|
|
|
webkitgtk-devel_package() {
|
|
|
|
replaces="webkit-gtk3-devel>=0"
|
2014-02-03 08:56:34 +00:00
|
|
|
provides="webkit-gtk3-devel-${version}_${revision}"
|
2013-11-15 07:38:32 +00:00
|
|
|
depends="gtk+3-devel libsoup-devel>=2.44 ${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
|
|
|
}
|
|
|
|
}
|