2013-03-28 11:59:21 +01:00
|
|
|
# Template file for 'webkitgtk'
|
|
|
|
pkgname=webkitgtk
|
|
|
|
version=2.0.0
|
2013-03-28 12:49:30 +01:00
|
|
|
revision=2
|
2013-03-28 11:59:21 +01:00
|
|
|
provides="webkit-gtk3-${version}"
|
|
|
|
replaces="webkit-gtk3>=0"
|
|
|
|
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"
|
|
|
|
checksum=454cdc4beffc2010f83661059178e33b6d9a07bcd60d09eabdf5d7cda17b88e4
|
|
|
|
|
|
|
|
# Disable dbg pkgs; too huge for little gain.
|
|
|
|
disable_debug=yes
|
|
|
|
|
|
|
|
build_style=gnu-configure
|
2013-03-28 12:49:30 +01:00
|
|
|
configure_args="--with-gtk=3.0 --enable-web-audio
|
2013-03-28 11:59:21 +01:00
|
|
|
--enable-introspection --enable-gamepad"
|
|
|
|
|
|
|
|
hostmakedepends="perl pkg-config intltool which gperf
|
|
|
|
flex ruby gobject-introspection"
|
|
|
|
|
|
|
|
makedepends="libjpeg-turbo-devel libpng-devel>=1.5.10 sqlite-devel
|
|
|
|
gst-plugins-base1-devel libsoup-devel>=2.42 libxslt-devel icu-devel>=49
|
|
|
|
enchant-devel dbus-glib-devel geoclue-devel libwebp-devel libsecret-devel
|
2013-03-28 12:02:39 +01:00
|
|
|
gtk+-devel gtk+3-devel>=3.8 libgudev-devel"
|
2013-04-14 17:36:49 +02:00
|
|
|
|
|
|
|
webkitgtk-devel_package() {
|
|
|
|
replaces="webkit-gtk3-devel>=0"
|
|
|
|
provides="webkit-gtk3-devel-${version}"
|
|
|
|
depends="gtk+3-devel>=2.8 libsoup-devel>=2.42 ${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
webkitgtk_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|