54 lines
1.8 KiB
Text
54 lines
1.8 KiB
Text
# Template file for 'webkit-gtk3'
|
|
pkgname=webkit-gtk3
|
|
version=1.10.0
|
|
revision=1
|
|
wrksrc="webkitgtk-${version}"
|
|
makedepends="perl pkg-config intltool which gperf bison25 flex
|
|
jpeg-devel libpng-devel>=1.5.10 sqlite-devel gtk+-devel gtk+3-devel>=3.6.0_2
|
|
gst-plugins-base-devel libsoup-devel libxslt-devel icu-devel>=49
|
|
enchant-devel geoclue-devel gobject-introspection ruby"
|
|
subpackages="webkit-gtk webkit-gtk-devel $pkgname-devel"
|
|
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/webkitgtk-${version}.tar.xz"
|
|
checksum=6db37376d387dcc980e5349a5a385d87d40909371796e3dd895817e466799034
|
|
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."
|
|
|
|
do_configure() {
|
|
local args="--enable-jit --with-font-backend=freetype \
|
|
--enable-introspection --disable-webkit2 \
|
|
--with-unicode-backend=icu --disable-schemas-compile \
|
|
${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
|
|
}
|
|
|
|
do_build() {
|
|
for ver in 2 3; do
|
|
msg_normal "Building GTK+${ver} version...\n"
|
|
cd ${wrksrc}/build-gtk${ver}
|
|
make ${makejobs} || return 1
|
|
done
|
|
}
|
|
|
|
do_install() {
|
|
for ver in 2 3; do
|
|
msg_normal "Installing GTK+${ver} version...\n"
|
|
cd ${wrksrc}/build-gtk${ver}
|
|
make DESTDIR=${DESTDIR} install || return 1
|
|
done
|
|
}
|