2011-03-01 13:37:20 +01:00
|
|
|
# Template file for 'webkit-gtk3'
|
|
|
|
pkgname=webkit-gtk3
|
2012-02-02 21:17:19 +01:00
|
|
|
version=1.6.3
|
2011-03-01 13:37:20 +01:00
|
|
|
wrksrc=webkit-${version}
|
2011-06-08 07:52:07 +02:00
|
|
|
homepage="http://webkitgtk.org/"
|
|
|
|
license="LGPL-2.1, Simplified BSD (2 clause)"
|
2012-02-02 21:17:19 +01:00
|
|
|
distfiles="${homepage}/webkit-${version}.tar.xz"
|
2011-03-01 13:37:20 +01:00
|
|
|
short_desc="GTK+3 port of the WebKit browser engine"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-02 21:17:19 +01:00
|
|
|
checksum=12d0dbce6a895c7a8491a028e34a1dc55ae13ab76ac6202b2e489da9468077c3
|
2011-03-01 13:37:20 +01: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."
|
|
|
|
|
2011-07-07 17:20:02 +02:00
|
|
|
subpackages="webkit-gtk webkit-gtk-devel $pkgname-devel"
|
2011-03-01 13:37:20 +01:00
|
|
|
|
2012-02-02 21:17:19 +01:00
|
|
|
Add_dependency build perl ">=0"
|
2011-03-01 13:37:20 +01:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build intltool
|
2011-06-29 18:51:10 +02:00
|
|
|
Add_dependency build which
|
2011-03-01 13:37:20 +01:00
|
|
|
Add_dependency build gperf
|
2011-06-29 18:51:10 +02:00
|
|
|
Add_dependency build flex
|
2012-02-02 21:17:19 +01:00
|
|
|
Add_dependency build jpeg-devel
|
|
|
|
Add_dependency build sqlite-devel
|
2011-07-07 17:20:02 +02:00
|
|
|
Add_dependency build gtk+-devel
|
2011-03-01 13:37:20 +01:00
|
|
|
Add_dependency build gtk+3-devel
|
2011-07-07 17:20:02 +02:00
|
|
|
Add_dependency build gst-plugins-base-devel
|
2011-03-01 13:37:20 +01:00
|
|
|
Add_dependency build libsoup-devel
|
|
|
|
Add_dependency build libxslt-devel
|
|
|
|
Add_dependency build icu-devel
|
2012-02-02 21:17:19 +01:00
|
|
|
Add_dependency build enchant-devel
|
|
|
|
Add_dependency build gobject-introspection
|
2011-07-07 17:20:02 +02:00
|
|
|
|
2012-02-02 21:17:19 +01:00
|
|
|
do_configure() {
|
|
|
|
local args="--enable-video --enable-jit \
|
2011-07-07 17:20:02 +02:00
|
|
|
--with-font-backend=freetype --enable-introspection \
|
|
|
|
--with-unicode-backend=icu --disable-schemas-compile \
|
|
|
|
${CONFIGURE_SHARED_ARGS}"
|
|
|
|
|
|
|
|
for ver in 2 3; do
|
2011-07-18 20:49:41 +02:00
|
|
|
[ ! -d ${wrksrc}/build-gtk${ver} ] && \
|
|
|
|
mkdir ${wrksrc}/build-gtk${ver}
|
2011-07-07 17:20:02 +02:00
|
|
|
cd ${wrksrc}/build-gtk${ver}
|
|
|
|
../configure ${args} --with-gtk=${ver}.0
|
2011-07-18 20:49:41 +02:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2012-02-02 21:17:19 +01:00
|
|
|
do_build() {
|
2011-07-18 20:49:41 +02:00
|
|
|
for ver in 2 3; do
|
|
|
|
msg_normal "Building GTK+${ver} version...\n"
|
|
|
|
cd ${wrksrc}/build-gtk${ver}
|
2011-07-07 17:20:02 +02:00
|
|
|
make ${makejobs}
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2012-02-02 21:17:19 +01:00
|
|
|
do_install() {
|
2011-07-07 17:20:02 +02:00
|
|
|
for ver in 2 3; do
|
|
|
|
msg_normal "Installing GTK+${ver} version...\n"
|
|
|
|
cd ${wrksrc}/build-gtk${ver}
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
done
|
|
|
|
}
|