void-packages/srcpkgs/webkit-gtk/template

36 lines
1.3 KiB
Text

# Template file for 'webkit-gtk'
pkgname=webkit-gtk
version=1.10.2
revision=6
wrksrc="webkitgtk-${version}"
build_style=gnu-configure
configure_args="--enable-jit --with-font-backend=freetype --with-gtk=2.0
--enable-introspection --disable-webkit2 --with-unicode-backend=icu
--disable-schemas-compile --disable-silent-rules --disable-gtk-doc-html"
hostmakedepends="perl pkg-config intltool which gperf flex ruby gtk-doc"
makedepends="libjpeg-turbo-devel libpng-devel>=1.6 libXcomposite-devel
sqlite-devel gtk+-devel gobject-introspection dbus-glib-devel
libXt-devel gst-plugins-base-devel libsoup-devel libxslt-devel icu-devel>=49
enchant-devel geoclue-devel"
short_desc="GTK+ 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/webkitgtk-${version}.tar.xz"
checksum=19234f8e4edfaefe91ed06471a2aa8c71d26dd55d33787eede1dcfc9a3a96d9c
post_install() {
# Remove conflicting files with webkitgtk-devel.
rm -rf ${DESTDIR}/usr/share/gtk-doc
}
webkit-gtk-devel_package() {
depends="libglib-devel gtk+-devel libsoup-devel webkit-gtk-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove "usr/lib/*.so"
}
}