54 lines
1.7 KiB
Plaintext
54 lines
1.7 KiB
Plaintext
# Template file for 'webkitgtk'
|
|
pkgname=webkitgtk
|
|
version=2.4.8
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-gtk-doc --with-gtk=3.0 --disable-schemas-compile
|
|
--enable-accelerated-compositing $(vopt_enable gir introspection)
|
|
$(vopt_enable wayland wayland-target) $(vopt_enable x11 x11-target)"
|
|
short_desc="GTK+3 port of the WebKit browser engine"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://webkitgtk.org/"
|
|
license="LGPL-2.1, 2-clause-BSD"
|
|
distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz"
|
|
checksum=68f11559cb178679ca92acc9e3a3d7febede7acb7b98afd7fb761875bbc6bd23
|
|
|
|
# ETOOHUGE
|
|
nodebug=1
|
|
|
|
hostmakedepends="automake libtool perl python pkg-config intltool gperf flex
|
|
ruby glib-devel geoclue2 gtk-doc $(vopt_if gir gobject-introspection)"
|
|
makedepends="
|
|
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
|
|
icu-devel>=54 enchant-devel dbus-glib-devel libwebp-devel>=0.4.0
|
|
gtk+-devel gtk+3-devel libgudev-devel libsecret-devel MesaLib-devel geoclue2
|
|
$(vopt_if wayland 'libxkbcommon-devel wayland-devel')
|
|
$(vopt_if x11 libXt-devel)"
|
|
|
|
# Package build options
|
|
build_options="gir wayland x11"
|
|
# Disable gir for cross builds.
|
|
build_options_default="x11"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default+=" gir"
|
|
fi
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
webkitgtk-devel_package() {
|
|
depends="gtk+3-devel libsoup-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|