wok-6.x annotate libwebkit/receipt @ rev 24616

updated gpgme and gpgme-dev (1.13.1 -> 1.17.1)
author Hans-G?nter Theisgen
date Mon Mar 07 08:02:36 2022 +0100 (2022-03-07)
parents 6e8b1bcb30e2
children 37dc4a16deb5
rev   line source
mallory@3146 1 # SliTaz package receipt.
mallory@3146 2
mallory@3146 3 PACKAGE="libwebkit"
domcox@14105 4 VERSION="1.8.3"
mallory@3146 5 CATEGORY="network"
mallory@3146 6 SHORT_DESC="xHTML render library."
pankso@16258 7 MAINTAINER="devel@slitaz.org"
pascal@15482 8 LICENSE="LGPL2"
pankso@10801 9 SOURCE="webkit"
domcox@12888 10 TARBALL="$SOURCE-$VERSION.tar.xz"
pascal@20671 11 WEB_SITE="https://webkitgtk.org"
pascal@12892 12 WGET_URL="$WEB_SITE/releases/$TARBALL"
pankso@16258 13 HOST_ARCH="i486 arm"
pankso@10801 14
slaxemulator@5372 15 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
slaxemulator@5372 16 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
pankso@10801 17 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
pankso@10801 18 xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
pankso@12481 19 gcc-lib-base libtasn1 util-linux-uuid glib-networking"
pankso@16258 20 BUILD_DEPENDS="gtk+-dev enchant-dev libxslt-dev jpeg-dev libpng-dev \
pankso@16258 21 glib-dev sqlite-dev gnutls-dev xorg-libXdamage-dev acl-dev libsoup-dev \
pankso@16258 22 libxml2-dev libxcb-dev xcb-util-dev util-linux-uuid-dev zlib-dev \
pankso@16258 23 libtasn1-dev glib-networking-dev"
pankso@16258 24
pascal@24072 25 current_version()
pascal@24072 26 {
pascal@24072 27 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 28 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 29 }
pascal@24072 30
pankso@16258 31 # Handle cross compilation.
pankso@16258 32 case "$ARCH" in
pankso@16258 33 i?86)
pankso@16258 34 BUILD_DEPENDS="$BUILD_DEPENDS tar gettext m4 bison flex gperf
pankso@16258 35 autoconf automake gtk-doc libtool" ;;
pankso@16258 36 esac
slaxemulator@8530 37
mallory@3146 38 # Rules to configure and make the package.
mallory@3146 39 compile_rules()
mallory@3146 40 {
domcox@12888 41 # libwebkit does not like parallel builds.
domcox@12888 42 export MAKEFLAGS=$(echo $MAKEFLAGS | sed 's/-j[0-9]*/-j1/')
domcox@14105 43 # fix Bug 84526: webkit-gtk-1.8.0 fails to build with --disable-video
domcox@14105 44 # Build fix with newer bison 2.6
pankso@16258 45 if [ ! "$continue" ]; then
pankso@16258 46 for file_diff in $stuff/*.diff; do
pankso@16258 47 echo -n "Applying patch $(basename $file_diff)"
pankso@16258 48 patch -Np1 -i $file_diff > /dev/null
pankso@16258 49 status
pankso@16258 50 done
pankso@16258 51 patch -p0 < $stuff/CodeGeneratorGObject-bug-84526.patch || exit 1
pankso@16258 52 fi
domcox@14105 53 # Build
mallory@3146 54 ./configure \
slaxemulator@11247 55 --enable-introspection=no \
slaxemulator@8530 56 --enable-video=no \
slaxemulator@6466 57 --enable-jit=yes \
domcox@12888 58 --disable-webgl \
domcox@12888 59 --disable-geolocation \
slaxemulator@11247 60 --with-unicode-backend=glib \
slaxemulator@11247 61 --with-gtk=2.0 \
domcox@12888 62 --disable-gtk-doc \
slaxemulator@11247 63 $CONFIGURE_ARGS &&
pascal@15174 64 make all stamp-po 2>&1 | grep -v Source/WebCore/dom/testing &&
pankso@16258 65 make install 2>&1 | \
pankso@16258 66 grep -Ev '(/usr/share/gtk-doc/html|Documentation/webkitgtk/version.xml)' &&
slaxemulator@8530 67 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
mallory@3146 68 }
mallory@3146 69
mallory@3146 70 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3146 71 genpkg_rules()
mallory@3146 72 {
pankso@16258 73 mkdir -p $fs/usr/lib
pascal@15174 74 cp -a $install/usr/lib/*.so* $fs/usr/lib
mallory@3146 75 }