wok-next annotate webkitgtk/receipt @ rev 21105
Small updates... "bzip2" and "cairo": follow "libpkg - pkg - pkg-dev" rule
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 04 17:29:48 2019 +0200 (2019-01-04) |
parents | 5669e8b3be70 |
children | e06f5760da48 |
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" |
al@21020 | 19 SPLIT="$PACKAGE-dev" |
al@19893 | 20 |
al@21078 | 21 BUILD_DEPENDS="perl python ruby-dev gperf libjpeg-turbo-dev libpng-dev \ |
al@21017 | 22 libwebp-dev glib-dev icu-dev libxml2-dev pango-dev enchant-dev gtk2-dev \ |
al@21078 | 23 libxt-dev gobject-introspection-dev libsoup-dev libsecret-dev \ |
al@21020 | 24 harfbuzz-icu-dev libxslt-dev gst1-plugins-base-dev gettext-dev \ |
pascal@20520 | 25 autoconf automake libtool" |
al@19893 | 26 |
al@19893 | 27 compile_rules() { |
al@20514 | 28 fix math |
al@19893 | 29 CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks" |
al@19893 | 30 CFLAGS="$CFLAGS -fno-delete-null-pointer-checks" |
al@19893 | 31 |
al@20514 | 32 mkdir build |
al@20514 | 33 cd build |
al@19893 | 34 |
al@19893 | 35 ../configure \ |
al@19893 | 36 --enable-introspection \ |
al@19893 | 37 --disable-webkit2 \ |
al@19893 | 38 --disable-gtk-doc \ |
al@19893 | 39 --with-gtk=2.0 \ |
al@19893 | 40 --disable-geolocation \ |
al@19893 | 41 --enable-silent-rules \ |
al@19893 | 42 $CONFIGURE_ARGS && |
al@19893 | 43 # https://bugzilla.gnome.org/show_bug.cgi?id=655517 |
al@19893 | 44 sed -i 's| -shared | -Wl,-O1,--as-needed\0|g' libtool && |
al@19893 | 45 make all stamp-po && |
al@19893 | 46 make -j1 install |
al@19893 | 47 } |
al@19893 | 48 |
al@19893 | 49 genpkg_rules() { |
al@19893 | 50 case $PACKAGE in |
al@19893 | 51 webkitgtk) |
al@19893 | 52 copy @std |
al@21105 | 53 DEPENDS="atk libcairo enchant fontconfig freetype gdk-pixbuf glib \ |
al@21017 | 54 gst1-plugins-base gstreamer1 gtk2 icu libharfbuzz libharfbuzz-icu \ |
al@21078 | 55 libicu libjpeg-turbo libpng libsecret libsoup libsqlite3 libwebp \ |
al@21078 | 56 libxml2 libxslt pango libx11 libxrender libxt zlib" |
al@19893 | 57 ;; |
al@19893 | 58 *-dev) |
al@19893 | 59 copy @dev |
al@21017 | 60 DEPENDS="webkitgtk glib-dev gtk2-dev libsoup-dev" |
al@19893 | 61 ;; |
al@19893 | 62 esac |
al@19893 | 63 } |