wok-next annotate webkitgtk/receipt @ rev 21540
updated cantarell-fonts (0.111 -> 0.201)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 16:26:44 2020 +0100 (2020-06-21) |
parents | 82b613cfd1e0 |
children |
rev | line source |
---|---|
al@19893 | 1 # SliTaz package receipt v2. |
al@19893 | 2 |
al@19893 | 3 # Purpose of this package is to be built without GTK+3 |
al@19893 | 4 PACKAGE="webkitgtk" |
al@19893 | 5 VERSION="2.4.11" |
al@19893 | 6 CATEGORY="network" |
al@19893 | 7 SHORT_DESC="Port of web rendering engine WebKit (legacy) to the GTK+ platform" |
al@19893 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@19893 | 9 LICENSE="custom" |
al@19893 | 10 WEB_SITE="https://webkitgtk.org/" |
al@19893 | 11 |
al@19893 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19893 | 13 WGET_URL="http://webkitgtk.org/releases/$TARBALL" |
al@19893 | 14 |
al@21017 | 15 BUILD_DEPENDS="cmake gperf perl python ruby-dev cairo-dev gnutls-dev gtk3-dev \ |
al@19893 | 16 harfbuzz-icu-dev libjpeg-turbo-dev libsoup-dev libxslt-dev libsecret-dev \ |
al@21017 | 17 libwebp-dev mesa-dev gtk2-dev enchant-dev gst1-plugins-base-dev \ |
al@21020 | 18 libnotify-dev gettext-dev" |
Hans-G?nter@21466 | 19 |
Hans-G?nter@21466 | 20 BUILD_DEPENDS="autoconf automake enchant-dev gettext-dev glib-dev |
Hans-G?nter@21466 | 21 gobject-introspection-dev gperf gst1-plugins-base-dev gtk2-dev |
Hans-G?nter@21466 | 22 harfbuzz-icu-dev icu-dev libjpeg-turbo-dev libpng-dev libsecret-dev |
Hans-G?nter@21466 | 23 libsoup-dev libtool libwebp-dev libxml2-dev libxslt-dev |
Hans-G?nter@21466 | 24 pango-dev perl python ruby-dev sqlite3-dev xorg-libXt-dev" |
al@21020 | 25 SPLIT="$PACKAGE-dev" |
al@19893 | 26 |
Hans-G?nter@21466 | 27 compile_rules() |
Hans-G?nter@21466 | 28 { |
al@20514 | 29 fix math |
al@19893 | 30 CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks" |
al@19893 | 31 CFLAGS="$CFLAGS -fno-delete-null-pointer-checks" |
al@19893 | 32 |
al@20514 | 33 mkdir build |
al@20514 | 34 cd build |
al@19893 | 35 |
Hans-G?nter@21466 | 36 ../configure \ |
Hans-G?nter@21466 | 37 --enable-introspection \ |
Hans-G?nter@21466 | 38 --disable-webkit2 \ |
Hans-G?nter@21466 | 39 --disable-gtk-doc \ |
Hans-G?nter@21466 | 40 --with-gtk=2.0 \ |
Hans-G?nter@21466 | 41 --disable-geolocation \ |
Hans-G?nter@21466 | 42 --enable-silent-rules \ |
al@19893 | 43 $CONFIGURE_ARGS && |
Hans-G?nter@21466 | 44 |
Hans-G?nter@21466 | 45 sed -i 's|aclocal-1.15|aclocal|; s|automake-1.15|automake|' \ |
Hans-G?nter@21466 | 46 GNUmakefile && |
Hans-G?nter@21466 | 47 |
al@19893 | 48 # https://bugzilla.gnome.org/show_bug.cgi?id=655517 |
al@19893 | 49 sed -i 's| -shared | -Wl,-O1,--as-needed\0|g' libtool && |
al@19893 | 50 make all stamp-po && |
al@19893 | 51 make -j1 install |
al@19893 | 52 } |
al@19893 | 53 |
Hans-G?nter@21466 | 54 genpkg_rules() |
Hans-G?nter@21466 | 55 { |
al@19893 | 56 case $PACKAGE in |
al@19893 | 57 webkitgtk) |
al@19893 | 58 copy @std |
Hans-G?nter@21466 | 59 DEPENDS="atk enchant fontconfig freetype gdk-pixbuf glib |
Hans-G?nter@21466 | 60 gst1-plugins-base gstreamer1 gtk2 icu libcairo |
Hans-G?nter@21466 | 61 libharfbuzz libharfbuzz-icu libicu libjpeg-turbo |
Hans-G?nter@21466 | 62 libpng libsecret libsoup libsqlite3 libwebp |
Hans-G?nter@21466 | 63 libx11 libxml2 libxslt libxrender libxt pango zlib" |
al@19893 | 64 ;; |
al@19893 | 65 *-dev) |
al@19893 | 66 copy @dev |
Hans-G?nter@21466 | 67 DEPENDS="glib-dev gtk2-dev libsoup-dev webkitgtk" |
al@19893 | 68 ;; |
al@19893 | 69 esac |
al@19893 | 70 } |