wok-next view webkit2gtk/receipt @ rev 20113
Add some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 09:29:31 2017 +0100 (2017-10-30) |
parents | |
children | 6477d7f70481 |
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 mkdir -p build &&
23 cd build &&
25 CFLAGS=-Wno-expansion-to-defined \
26 CXXFLAGS=-Wno-expansion-to-defined \
27 cmake \
28 -DCMAKE_BUILD_TYPE=Release \
29 -DCMAKE_INSTALL_PREFIX=/usr \
30 -DCMAKE_SKIP_RPATH=ON \
31 -DPORT=GTK \
32 -DLIB_INSTALL_DIR=/usr/lib \
33 -DUSE_LIBHYPHEN=OFF \
34 -DENABLE_MINIBROWSER=ON \
35 -Wno-dev \
36 \
37 -DENABLE_GEOLOCATION=OFF \
38 -DENABLE_QUARTZ_TARGET=OFF \
39 -DENABLE_WAYLAND_TARGET=OFF \
40 -DENABLE_INTROSPECTION=OFF \
41 .. &&
42 make &&
43 make install || return 1
45 for i in 2 dom; do
46 j="$install/usr/share/gtk-doc/html/webkit${i}gtk-4.0"
47 mkdir -p $j
48 cp -a ../Documentation/webkit${i}gtk-4.0/html/* $j
49 done
50 }
52 genpkg_rules() {
53 case $PACKAGE in
54 webkit2gtk)
55 copy @std
56 DEPENDS="atk cairo enchant fontconfig freetype gdk-pixbuf glib \
57 gst1-plugins-base gstreamer1 gtk+ gtk+3 icu libgcrypt libharfbuzz \
58 libharfbuzz-icu libicu libjpeg-turbo libnotify libpng16 libsecret \
59 libsoup libsqlite3 libwebp libxml2 libxslt mesa mesa-libegl pango \
60 xorg-libX11 xorg-libXcomposite xorg-libXdamage xorg-libXrender \
61 xorg-libXt zlib"
62 ;;
63 *-dev)
64 copy @dev
65 DEPENDS="webkit2gtk glib-dev gtk+3-dev libsoup-dev"
66 ;;
67 esac
68 }