void-packages/srcpkgs/webkit-gtk3/template

50 lines
1.5 KiB
Plaintext
Raw Normal View History

# Template file for 'webkit-gtk3'
pkgname=webkit-gtk3
2012-12-10 14:47:25 +01:00
version=1.10.2
revision=2
2012-09-27 11:10:14 +02:00
wrksrc="webkitgtk-${version}"
makedepends="perl pkg-config intltool which gperf bison25 flex
libjpeg-turbo-devel libpng-devel>=1.5.10 sqlite-devel gtk+-devel gtk+3-devel
2012-10-17 08:17:28 +02:00
gst-plugins-base-devel libsoup-devel libxslt-devel icu-devel>=49
enchant-devel dbus-glib-devel geoclue-devel gobject-introspection ruby"
2012-12-10 14:47:25 +01:00
subpackages="webkit-gtk webkit-gtk-devel ${pkgname}-devel"
short_desc="GTK+3 port of the WebKit browser engine"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-06-08 07:52:07 +02:00
homepage="http://webkitgtk.org/"
license="LGPL-2.1, Simplified BSD (2 clause)"
2012-09-27 11:10:14 +02:00
distfiles="${homepage}/releases/webkitgtk-${version}.tar.xz"
2012-12-10 14:47:25 +01:00
checksum=19234f8e4edfaefe91ed06471a2aa8c71d26dd55d33787eede1dcfc9a3a96d9c
# Disable dbg pkgs; too huge for little gain.
disable_debug=yes
2012-02-02 21:17:19 +01:00
do_configure() {
local args="--enable-jit --with-font-backend=freetype \
2012-09-27 11:10:14 +02:00
--enable-introspection --disable-webkit2 \
--with-unicode-backend=icu --disable-schemas-compile \
2012-09-27 11:10:14 +02:00
${CONFIGURE_SHARED_ARGS} --disable-silent-rules"
for ver in 2 3; do
[ ! -d ${wrksrc}/build-gtk${ver} ] && \
mkdir ${wrksrc}/build-gtk${ver}
cd ${wrksrc}/build-gtk${ver}
../configure ${args} --with-gtk=${ver}.0
done
}
2012-02-02 21:17:19 +01:00
do_build() {
for ver in 2 3; do
msg_normal "Building GTK+${ver} version...\n"
cd ${wrksrc}/build-gtk${ver}
2012-09-27 11:10:14 +02:00
make ${makejobs} || return 1
done
}
2012-02-02 21:17:19 +01:00
do_install() {
for ver in 2 3; do
msg_normal "Installing GTK+${ver} version...\n"
cd ${wrksrc}/build-gtk${ver}
2012-09-27 11:10:14 +02:00
make DESTDIR=${DESTDIR} install || return 1
done
}