void-packages/srcpkgs/webkitgtk/template

47 lines
1.4 KiB
Plaintext

# Template file for 'webkitgtk'
pkgname=webkitgtk
version=2.0.0
revision=2
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
configure_args="--with-gtk=3.0 --enable-web-audio
--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
gtk+-devel gtk+3-devel>=3.8 libgudev-devel"
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
}
}