wok-next view webkitgtk/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 342b30daff76
children d5aab818505e
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 gtk3-dev \
16 harfbuzz-icu-dev libjpeg-turbo-dev libsoup-dev libxslt-dev libsecret-dev \
17 libwebp-dev mesa-dev gtk2-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 gtk2-dev \
23 xorg-libXt-dev gobject-introspection-dev libsoup-dev libsecret-dev \
24 harfbuzz-icu-dev libxslt-dev gst1-plugins-base-dev gettext \
25 autoconf automake libtool"
27 compile_rules() {
28 fix math
29 CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks"
30 CFLAGS="$CFLAGS -fno-delete-null-pointer-checks"
32 mkdir build
33 cd build
35 ../configure \
36 --enable-introspection \
37 --disable-webkit2 \
38 --disable-gtk-doc \
39 --with-gtk=2.0 \
40 --disable-geolocation \
41 --enable-silent-rules \
42 $CONFIGURE_ARGS &&
43 # https://bugzilla.gnome.org/show_bug.cgi?id=655517
44 sed -i 's| -shared | -Wl,-O1,--as-needed\0|g' libtool &&
45 make all stamp-po &&
46 make -j1 install
47 }
49 genpkg_rules() {
50 case $PACKAGE in
51 webkitgtk)
52 copy @std
53 DEPENDS="atk cairo enchant fontconfig freetype gdk-pixbuf glib \
54 gst1-plugins-base gstreamer1 gtk2 icu libharfbuzz libharfbuzz-icu \
55 libicu libjpeg-turbo libpng16 libsecret libsoup libsqlite3 libwebp \
56 libxml2 libxslt pango xorg-libX11 xorg-libXrender xorg-libXt zlib"
57 ;;
58 *-dev)
59 copy @dev
60 DEPENDS="webkitgtk glib-dev gtk2-dev libsoup-dev"
61 ;;
62 esac
63 }