wok-next view webkit2gtk/receipt @ rev 20871

fossil: up (2.6) / fix build; sqlite3: up (3.24.0), drop providing "sqlite[^3]*"; add staticperl
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 02 22:39:08 2018 +0300 (2018-07-02)
parents 60bd4df08f57
children cd7906120828
line source
1 # SliTaz package receipt v2.
3 PACKAGE="webkit2gtk"
4 VERSION="2.16.6"
5 CATEGORY="network"
6 SHORT_DESC="Port of web rendering engine WebKit to the GTK+ platform"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="custom"
9 WEB_SITE="https://webkitgtk.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/webkitgtk.html"
12 TARBALL="webkitgtk-$VERSION.tar.xz"
13 WGET_URL="http://webkitgtk.org/releases/$TARBALL"
15 BUILD_DEPENDS="cmake gperf perl python ruby-dev cairo-dev gnutls-dev gtk+3-dev \
16 harfbuzz-icu-dev libjpeg-turbo-dev libsoup-dev libxslt-dev libsecret-dev \
17 libwebp-dev mesa-dev gtk+-dev enchant-dev gst1-plugins-base-dev \
18 libnotify-dev gettext"
19 SPLIT="webkit2gtk-dev"
21 compile_rules() {
22 fix math
23 mkdir build
24 cd build
26 CFLAGS=-Wno-expansion-to-defined \
27 CXXFLAGS=-Wno-expansion-to-defined \
28 cmake \
29 -DCMAKE_BUILD_TYPE=Release \
30 -DCMAKE_INSTALL_PREFIX=/usr \
31 -DCMAKE_SKIP_RPATH=ON \
32 -DPORT=GTK \
33 -DLIB_INSTALL_DIR=/usr/lib \
34 -DUSE_LIBHYPHEN=OFF \
35 -DENABLE_MINIBROWSER=ON \
36 -Wno-dev \
37 \
38 -DENABLE_GEOLOCATION=OFF \
39 -DENABLE_QUARTZ_TARGET=OFF \
40 -DENABLE_WAYLAND_TARGET=OFF \
41 -DENABLE_INTROSPECTION=OFF \
42 .. &&
43 make &&
44 make install || return 1
46 for i in 2 dom; do
47 j="$install/usr/share/gtk-doc/html/webkit${i}gtk-4.0"
48 mkdir -p $j
49 cp -a ../Documentation/webkit${i}gtk-4.0/html/* $j
50 done
51 }
53 genpkg_rules() {
54 case $PACKAGE in
55 webkit2gtk)
56 copy @std
57 DEPENDS="atk cairo enchant fontconfig freetype gdk-pixbuf glib \
58 gst1-plugins-base gstreamer1 gtk+ gtk+3 icu libgcrypt libharfbuzz \
59 libharfbuzz-icu libicu libjpeg-turbo libnotify libpng16 libsecret \
60 libsoup libsqlite3 libwebp libxml2 libxslt mesa mesa-libegl pango \
61 xorg-libX11 xorg-libXcomposite xorg-libXdamage xorg-libXrender \
62 xorg-libXt zlib"
63 ;;
64 *-dev)
65 copy @dev
66 DEPENDS="webkit2gtk glib-dev gtk+3-dev libsoup-dev"
67 ;;
68 esac
69 }