2011-03-01 12:37:20 +00:00
|
|
|
# Template file for 'webkit-gtk3'
|
|
|
|
pkgname=webkit-gtk3
|
2012-12-10 13:47:25 +00:00
|
|
|
version=1.10.2
|
2013-04-14 15:36:49 +00:00
|
|
|
revision=3
|
2012-09-27 09:10:14 +00:00
|
|
|
wrksrc="webkitgtk-${version}"
|
2012-09-14 07:34:01 +00:00
|
|
|
makedepends="perl pkg-config intltool which gperf bison25 flex
|
2013-01-08 09:10:40 +00:00
|
|
|
libjpeg-turbo-devel libpng-devel>=1.5.10 sqlite-devel gtk+-devel gtk+3-devel
|
2013-04-15 18:28:04 +00:00
|
|
|
libXt-devel gst-plugins-base-devel libsoup-devel libxslt-devel icu-devel>=49
|
2012-10-17 06:17:28 +00:00
|
|
|
enchant-devel dbus-glib-devel geoclue-devel gobject-introspection ruby"
|
2012-06-06 15:58:03 +00:00
|
|
|
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-09-27 09:10:14 +00:00
|
|
|
distfiles="${homepage}/releases/webkitgtk-${version}.tar.xz"
|
2012-12-10 13:47:25 +00:00
|
|
|
checksum=19234f8e4edfaefe91ed06471a2aa8c71d26dd55d33787eede1dcfc9a3a96d9c
|
2011-03-01 12:37:20 +00:00
|
|
|
|
2012-12-10 17:15:22 +00:00
|
|
|
# Disable dbg pkgs; too huge for little gain.
|
|
|
|
disable_debug=yes
|
|
|
|
|
2012-02-02 20:17:19 +00:00
|
|
|
do_configure() {
|
2012-09-14 07:34:01 +00:00
|
|
|
local args="--enable-jit --with-font-backend=freetype \
|
2012-09-27 09:10:14 +00:00
|
|
|
--enable-introspection --disable-webkit2 \
|
2011-07-07 15:20:02 +00:00
|
|
|
--with-unicode-backend=icu --disable-schemas-compile \
|
2012-09-27 09:10:14 +00:00
|
|
|
${CONFIGURE_SHARED_ARGS} --disable-silent-rules"
|
2011-07-07 15:20:02 +00:00
|
|
|
|
|
|
|
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}
|
2013-04-14 15:36:49 +00:00
|
|
|
make ${makejobs}
|
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}
|
2013-04-14 15:36:49 +00:00
|
|
|
make DESTDIR=${DESTDIR} install
|
2011-07-07 15:20:02 +00:00
|
|
|
done
|
|
|
|
}
|
2013-04-14 15:36:49 +00:00
|
|
|
|
|
|
|
webkit-gtk_package() {
|
|
|
|
short_desc="GTK+ port of the WebKit browser engine"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/jsc-1
|
|
|
|
vmove "usr/lib/libwebkitgtk-1.0.so*"
|
|
|
|
vmove "usr/lib/libjavascriptcoregtk-1.0.so*"
|
|
|
|
vmove "usr/lib/girepository-1.0/*-1.0.typelib"
|
|
|
|
for f in $(echo ${DESTDIR}/usr/share/locale/*); do
|
|
|
|
vmove usr/share/locale/$(basename $f)/LC_MESSAGES/webkitgtk-2.0.mo
|
|
|
|
done
|
|
|
|
vmove usr/share/webkitgtk-1.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
webkit-gtk-devel_package() {
|
|
|
|
depends="libglib-devel gtk+-devel libsoup-devel webkit-gtk-${version}_${revision}"
|
|
|
|
short_desc="GTK+ port of the WebKit browser engine - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/webkitgtk-1.0
|
|
|
|
vmove "usr/lib/pkgconfig/*-1.0.pc"
|
|
|
|
vmove "usr/share/gir-1.0/*-1.0.gir"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
webkit-gtk3-devel_package() {
|
|
|
|
depends="libglib-devel gtk+3-devel>=3.6.0_2 libsoup-devel webkit-gtk3-${version}_${revision}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/share/gir*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
webkit-gtk3_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|