2011-03-01 12:37:20 +00:00
|
|
|
# Template file for 'webkit-gtk3'
|
|
|
|
pkgname=webkit-gtk3
|
2011-09-29 08:26:04 +00:00
|
|
|
version=1.6.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)"
|
|
|
|
distfiles="${homepage}/webkit-${version}.tar.gz"
|
2011-07-07 15:20:02 +00:00
|
|
|
build_style=custom-install
|
2011-03-01 12:37:20 +00:00
|
|
|
short_desc="GTK+3 port of the WebKit browser engine"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-09-29 08:26:04 +00:00
|
|
|
checksum=05b09d851a04597d50fdca71ed8b09f5a0337d696b141a435255ae2095e140ad
|
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."
|
|
|
|
|
|
|
|
triggers="gsettings-schemas"
|
2011-07-07 15:20:02 +00:00
|
|
|
subpackages="webkit-gtk webkit-gtk-devel $pkgname-devel"
|
2011-03-01 12:37:20 +00:00
|
|
|
|
|
|
|
Add_dependency run libgcc
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libstdc++
|
|
|
|
Add_dependency run glib
|
|
|
|
Add_dependency run atk
|
|
|
|
Add_dependency run pango
|
|
|
|
Add_dependency run cairo
|
|
|
|
Add_dependency run jpeg
|
|
|
|
Add_dependency run libxslt
|
|
|
|
Add_dependency run zlib
|
|
|
|
Add_dependency run libxml2
|
|
|
|
Add_dependency run freetype
|
|
|
|
Add_dependency run fontconfig
|
|
|
|
Add_dependency run libpng
|
|
|
|
Add_dependency run sqlite
|
|
|
|
Add_dependency run icu-libs
|
|
|
|
Add_dependency run libX11
|
|
|
|
Add_dependency run libXt
|
|
|
|
Add_dependency run gdk-pixbuf
|
|
|
|
Add_dependency run gtk+3
|
|
|
|
Add_dependency run gstreamer
|
|
|
|
Add_dependency run gst-plugins-base
|
|
|
|
Add_dependency run enchant
|
|
|
|
Add_dependency run libsoup
|
2011-07-07 15:20:02 +00:00
|
|
|
Add_dependency run libXrender
|
2011-03-01 12:37:20 +00:00
|
|
|
|
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build intltool
|
2011-06-29 16:51:10 +00:00
|
|
|
Add_dependency build which
|
2011-03-01 12:37:20 +00:00
|
|
|
Add_dependency build perl ">=0"
|
|
|
|
Add_dependency build gperf
|
2011-06-29 16:51:10 +00:00
|
|
|
Add_dependency build flex
|
2011-03-01 12:37:20 +00:00
|
|
|
Add_dependency build gobject-introspection
|
|
|
|
Add_dependency build enchant-devel
|
2011-07-07 15:20:02 +00:00
|
|
|
Add_dependency build gtk+-devel
|
2011-03-01 12:37:20 +00:00
|
|
|
Add_dependency build gtk+3-devel
|
2011-07-07 15:20:02 +00:00
|
|
|
Add_dependency build gst-plugins-base-devel
|
2011-03-01 12:37:20 +00:00
|
|
|
Add_dependency build libsoup-devel
|
|
|
|
Add_dependency build libxslt-devel
|
|
|
|
Add_dependency build sqlite-devel
|
|
|
|
Add_dependency build icu-devel
|
2011-07-07 15:20:02 +00:00
|
|
|
|
2011-07-18 18:49:41 +00:00
|
|
|
do_configure()
|
2011-07-07 15:20:02 +00:00
|
|
|
{
|
|
|
|
local args="--enable-video --enable-jit --enable-3d-transforms \
|
|
|
|
--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 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
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build()
|
|
|
|
{
|
|
|
|
for ver in 2 3; do
|
|
|
|
msg_normal "Building GTK+${ver} version...\n"
|
|
|
|
cd ${wrksrc}/build-gtk${ver}
|
2011-07-07 15:20:02 +00:00
|
|
|
make ${makejobs}
|
|
|
|
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
|
|
|
|
done
|
|
|
|
}
|