wok-next view webkitgtk/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 6477d7f70481 |
children | 342b30daff76 |
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 \
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 gtk+ 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 atk-dev bzip2-dev cairo-dev enchant-dev \
61 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \
62 gst1-plugins-base-dev gstreamer1-dev gtk+-dev harfbuzz-dev \
63 harfbuzz-icu-dev icu-dev libjpeg-turbo-dev libffi-dev \
64 libgcrypt-dev libgpg-error-dev libpng16-dev libsecret-dev \
65 libsoup-dev libwebp-dev libxml2-dev libxslt-dev orc-dev pango-dev \
66 pcre-dev sqlite3-dev util-linux-blkid-dev util-linux-mount-dev \
67 util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \
68 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
69 xorg-libXrender-dev xorg-libXt-dev xorg-libxcb-dev xorg-pixman-dev \
70 xz-dev zlib-dev"
71 ;;
72 esac
73 }