wok-next view webkitgtk/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | |
children | 6477d7f70481 |
line source
1 # SliTaz package receipt v2.
3 # Purpose of this package is to be built without GTK+3
4 PACKAGE="webkitgtk"
5 VERSION="2.4.11"
6 CATEGORY="network"
7 SHORT_DESC="Port of web rendering engine WebKit (legacy) to the GTK+ platform"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="custom"
10 WEB_SITE="https://webkitgtk.org/"
12 TARBALL="$PACKAGE-$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="webkitgtk-dev"
21 BUILD_DEPENDS="perl python ruby-dev gperf libjpeg-turbo-dev libpng16-dev \
22 libwebp-dev glib-dev icu-dev libxml2-dev pango-dev enchant-dev gtk+-dev \
23 xorg-libXt-dev gobject-introspection-dev libsoup-dev libsecret-dev \
24 harfbuzz-icu-dev libxslt-dev gst1-plugins-base-dev gettext"
26 compile_rules() {
27 CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks"
28 CFLAGS="$CFLAGS -fno-delete-null-pointer-checks"
30 mkdir -p build &&
31 cd build &&
33 ../configure \
34 --enable-introspection \
35 --disable-webkit2 \
36 --disable-gtk-doc \
37 --with-gtk=2.0 \
38 --disable-geolocation \
39 --enable-silent-rules \
40 $CONFIGURE_ARGS &&
41 # https://bugzilla.gnome.org/show_bug.cgi?id=655517
42 sed -i 's| -shared | -Wl,-O1,--as-needed\0|g' libtool &&
43 make all stamp-po &&
44 make -j1 install
45 }
47 genpkg_rules() {
48 case $PACKAGE in
49 webkitgtk)
50 copy @std
51 DEPENDS="atk cairo enchant fontconfig freetype gdk-pixbuf glib \
52 gst1-plugins-base gstreamer1 gtk+ icu libharfbuzz libharfbuzz-icu \
53 libicu libjpeg-turbo libpng16 libsecret libsoup libsqlite3 libwebp \
54 libxml2 libxslt pango xorg-libX11 xorg-libXrender xorg-libXt zlib"
55 ;;
56 *-dev)
57 copy @dev
58 DEPENDS="webkitgtk atk-dev bzip2-dev cairo-dev enchant-dev \
59 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \
60 gst1-plugins-base-dev gstreamer1-dev gtk+-dev harfbuzz-dev \
61 harfbuzz-icu-dev icu-dev libjpeg-turbo-dev libffi-dev \
62 libgcrypt-dev libgpg-error-dev libpng16-dev libsecret-dev \
63 libsoup-dev libwebp-dev libxml2-dev libxslt-dev orc-dev pango-dev \
64 pcre-dev sqlite3-dev util-linux-blkid-dev util-linux-mount-dev \
65 util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \
66 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
67 xorg-libXrender-dev xorg-libXt-dev xorg-libxcb-dev xorg-pixman-dev \
68 xz-dev zlib-dev"
69 ;;
70 esac
71 }