wok-next view webkitgtk/receipt @ rev 21634
updated exiftool (11.17 -> 12.01)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 10:45:57 2020 +0100 (2020-06-26) |
parents | 82b613cfd1e0 |
children |
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-dev"
20 BUILD_DEPENDS="autoconf automake enchant-dev gettext-dev glib-dev
21 gobject-introspection-dev gperf gst1-plugins-base-dev gtk2-dev
22 harfbuzz-icu-dev icu-dev libjpeg-turbo-dev libpng-dev libsecret-dev
23 libsoup-dev libtool libwebp-dev libxml2-dev libxslt-dev
24 pango-dev perl python ruby-dev sqlite3-dev xorg-libXt-dev"
25 SPLIT="$PACKAGE-dev"
27 compile_rules()
28 {
29 fix math
30 CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks"
31 CFLAGS="$CFLAGS -fno-delete-null-pointer-checks"
33 mkdir build
34 cd build
36 ../configure \
37 --enable-introspection \
38 --disable-webkit2 \
39 --disable-gtk-doc \
40 --with-gtk=2.0 \
41 --disable-geolocation \
42 --enable-silent-rules \
43 $CONFIGURE_ARGS &&
45 sed -i 's|aclocal-1.15|aclocal|; s|automake-1.15|automake|' \
46 GNUmakefile &&
48 # https://bugzilla.gnome.org/show_bug.cgi?id=655517
49 sed -i 's| -shared | -Wl,-O1,--as-needed\0|g' libtool &&
50 make all stamp-po &&
51 make -j1 install
52 }
54 genpkg_rules()
55 {
56 case $PACKAGE in
57 webkitgtk)
58 copy @std
59 DEPENDS="atk enchant fontconfig freetype gdk-pixbuf glib
60 gst1-plugins-base gstreamer1 gtk2 icu libcairo
61 libharfbuzz libharfbuzz-icu libicu libjpeg-turbo
62 libpng libsecret libsoup libsqlite3 libwebp
63 libx11 libxml2 libxslt libxrender libxt pango zlib"
64 ;;
65 *-dev)
66 copy @dev
67 DEPENDS="glib-dev gtk2-dev libsoup-dev webkitgtk"
68 ;;
69 esac
70 }