2011-03-01 12:37:20 +00:00
|
|
|
# Template file for 'webkit-gtk3'
|
|
|
|
pkgname=webkit-gtk3
|
2012-04-26 08:33:20 +00:00
|
|
|
version=1.8.1
|
2011-03-01 12:37:20 +00:00
|
|
|
wrksrc=webkit-${version}
|
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-05-23 16:26:56 +00:00
|
|
|
makedepends="perl>=0 pkg-config intltool which gperf flex jpeg-devel sqlite-devel gtk+-devel gtk+3-devel gst-plugins-base-devel libsoup-devel libxslt-devel icu-devel enchant-devel geoclue-devel gobject-introspection"
|
2012-06-03 07:08:53 +00:00
|
|
|
revision=1
|
2011-03-01 12:37:20 +00:00
|
|
|
short_desc="GTK+3 port of the WebKit browser engine"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-04-26 08:33:20 +00:00
|
|
|
checksum=9a126a76b40ca61adb1f1626e1567f976740af2332948cc5189489dbd01e3b28
|
2011-03-01 12:37:20 +00:00
|
|
|
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-03-28 08:11:38 +00:00
|
|
|
disable_parallel_build=yes
|
2011-07-07 15:20:02 +00:00
|
|
|
subpackages="webkit-gtk webkit-gtk-devel $pkgname-devel"
|
2011-03-01 12:37:20 +00:00
|
|
|
|
2011-07-07 15:20:02 +00:00
|
|
|
|
2012-02-02 20:17:19 +00:00
|
|
|
do_configure() {
|
|
|
|
local args="--enable-video --enable-jit \
|
2011-07-07 15:20:02 +00:00
|
|
|
--with-font-backend=freetype --enable-introspection \
|
|
|
|
--with-unicode-backend=icu --disable-schemas-compile \
|
2012-03-28 08:11:38 +00:00
|
|
|
--with-accelerated-compositing=opengl \
|
2011-07-07 15:20:02 +00:00
|
|
|
${CONFIGURE_SHARED_ARGS}"
|
|
|
|
|
|
|
|
for ver in 2 3; do
|
2011-07-18 18:49:41 +00:00
|
|
|
[ ! -d ${wrksrc}/build-gtk${ver} ] && \
|
|
|
|
mkdir ${wrksrc}/build-gtk${ver}
|
2011-07-07 15:20:02 +00:00
|
|
|
cd ${wrksrc}/build-gtk${ver}
|
|
|
|
../configure ${args} --with-gtk=${ver}.0
|
2011-07-18 18:49:41 +00:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2012-02-02 20:17:19 +00:00
|
|
|
do_build() {
|
2011-07-18 18:49:41 +00:00
|
|
|
for ver in 2 3; do
|
|
|
|
msg_normal "Building GTK+${ver} version...\n"
|
|
|
|
cd ${wrksrc}/build-gtk${ver}
|
2012-03-28 08:11:38 +00:00
|
|
|
make ${makejobs} || return 1
|
2011-07-07 15:20:02 +00:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2012-02-02 20:17:19 +00:00
|
|
|
do_install() {
|
2011-07-07 15:20:02 +00:00
|
|
|
for ver in 2 3; do
|
|
|
|
msg_normal "Installing GTK+${ver} version...\n"
|
|
|
|
cd ${wrksrc}/build-gtk${ver}
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
done
|
|
|
|
}
|