wok-next view webkitgtk/receipt @ rev 21403
updated php again (7.4.4 -> 7.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 21 10:28:30 2020 +0100 (2020-04-21) |
parents | 5669e8b3be70 |
children | e06f5760da48 |
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"
19 SPLIT="$PACKAGE-dev"
21 BUILD_DEPENDS="perl python ruby-dev gperf libjpeg-turbo-dev libpng-dev \
22 libwebp-dev glib-dev icu-dev libxml2-dev pango-dev enchant-dev gtk2-dev \
23 libxt-dev gobject-introspection-dev libsoup-dev libsecret-dev \
24 harfbuzz-icu-dev libxslt-dev gst1-plugins-base-dev gettext-dev \
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 libcairo enchant fontconfig freetype gdk-pixbuf glib \
54 gst1-plugins-base gstreamer1 gtk2 icu libharfbuzz libharfbuzz-icu \
55 libicu libjpeg-turbo libpng libsecret libsoup libsqlite3 libwebp \
56 libxml2 libxslt pango libx11 libxrender libxt zlib"
57 ;;
58 *-dev)
59 copy @dev
60 DEPENDS="webkitgtk glib-dev gtk2-dev libsoup-dev"
61 ;;
62 esac
63 }