void-packages/srcpkgs/webkit-gtk3/template

55 lines
1.7 KiB
Text
Raw Normal View History

# Template file for 'webkit-gtk3'
pkgname=webkit-gtk3
2012-08-23 13:31:15 +00:00
version=1.8.3
2012-08-13 08:43:02 +00:00
revision=1
wrksrc=webkit-${version}
makedepends="perl pkg-config intltool which gperf bison25 flex
jpeg-devel libpng-devel>=1.5.10 sqlite-devel gtk+-devel gtk+3-devel
2012-07-21 08:10:00 +00:00
gst-plugins-base-devel libsoup-devel libxslt-devel icu-devel>=49
enchant-devel geoclue-devel gobject-introspection"
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 05:52:07 +00:00
homepage="http://webkitgtk.org/"
license="LGPL-2.1, Simplified BSD (2 clause)"
2012-03-28 08:11:38 +00:00
distfiles="${homepage}/releases/webkit-${version}.tar.xz"
2012-08-23 13:31:15 +00:00
checksum=ada02d636af61aed38f142d3cded662d141ce71264f624c4eb873621a74cc9e7
long_desc="
WebKit is an open source web browser engine. WebKit is also the name of
the Mac OS X system framework version of the engine that's used by
Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML
and JavaScript code began as a branch of the KHTML and KJS libraries
from KDE.
This is the GTK3+ port of the engine."
2012-02-02 20:17:19 +00:00
do_configure() {
local args="--enable-jit --with-font-backend=freetype \
--enable-introspection \
--with-unicode-backend=icu --disable-schemas-compile \
${CONFIGURE_SHARED_ARGS}"
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 20:17:19 +00:00
do_build() {
for ver in 2 3; do
msg_normal "Building GTK+${ver} version...\n"
cd ${wrksrc}/build-gtk${ver}
make ${makejobs}
done
}
2012-02-02 20:17:19 +00:00
do_install() {
for ver in 2 3; do
msg_normal "Installing GTK+${ver} version...\n"
cd ${wrksrc}/build-gtk${ver}
make DESTDIR=${DESTDIR} install
done
}