wok view libwebkit-video/receipt @ rev 24707
updated lcov (1.14 -> 1.15)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 16:18:13 2022 +0100 (2022-03-14) |
parents | 6e8b1bcb30e2 |
children | 37dc4a16deb5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebkit-video"
4 VERSION="1.8.3"
5 CATEGORY="network"
6 SHORT_DESC="xHTML render library."
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="LGPL2"
9 SOURCE="webkit"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="https://webkitgtk.org"
12 WGET_URL="$WEB_SITE/releases/$TARBALL"
13 PROVIDE="libwebkit"
15 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
16 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
17 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
18 xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
19 gcc-lib-base libtasn1 util-linux-uuid glib-networking gst-plugins-base"
20 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
21 libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
22 m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
23 libxcb-dev xcb-util-dev util-linux-uuid-dev zlib-dev libtasn1-dev \
24 gobject-introspection-dev tar gettext glib-networking-dev gtk-doc \
25 gstreamer-dev gst-plugins-base-dev"
26 SUGGESTED="gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-ffmpeg"
28 current_version()
29 {
30 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
31 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
32 }
34 # Rules to configure and make the package.
35 compile_rules()
36 {
37 cd $src
38 # libwebkit does not like parallel builds.
39 export MAKEFLAGS=$(echo $MAKEFLAGS | sed 's/-j[0-9]*/-j1/')
40 # Build fix with newer bison 2.6
41 for file_diff in $stuff/*.diff; do
42 echo -n "Applying patch $(basename $file_diff)"
43 patch -Np1 -i $file_diff > /dev/null
44 status
45 done
46 touch Documentation/webkitgtk/version.xml
47 # Build
48 ./configure \
49 --prefix=/usr \
50 --infodir=/usr/share/info \
51 --mandir=/usr/share/man \
52 --enable-introspection=no \
53 --enable-video=yes \
54 --enable-jit=yes \
55 --disable-webgl \
56 --disable-geolocation \
57 --with-unicode-backend=glib \
58 --with-gtk=2.0 \
59 --disable-webkit2 \
60 --disable-gtk-doc-html \
61 $CONFIGURE_ARGS &&
62 make all stamp-po 2>&1 | grep -v Source/WebCore/dom/testing &&
63 make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html/ &&
64 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
65 }
67 # Rules to gen a SliTaz package suitable for Tazpkg.
68 genpkg_rules()
69 {
70 mkdir -p $fs/usr/lib $fs/usr/bin
71 [ -d $install/usr/lib/girepository-1.0 ] &&
72 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
73 cp -a $install/usr/lib/*.so* $fs/usr/lib
74 }