wok-6.x view libwebkit-video/receipt @ rev 20208
Down busybox (1.27.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 23 11:16:33 2018 +0100 (2018-02-23) |
parents | 9d5009b6d8dc |
children | 6e8b1bcb30e2 |
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="http://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 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cd $src
32 # libwebkit does not like parallel builds.
33 export MAKEFLAGS=$(echo $MAKEFLAGS | sed 's/-j[0-9]*/-j1/')
34 # Build fix with newer bison 2.6
35 for file_diff in $stuff/*.diff; do
36 echo -n "Applying patch $(basename $file_diff)"
37 patch -Np1 -i $file_diff > /dev/null
38 status
39 done
40 touch Documentation/webkitgtk/version.xml
41 # Build
42 ./configure \
43 --prefix=/usr \
44 --infodir=/usr/share/info \
45 --mandir=/usr/share/man \
46 --enable-introspection=no \
47 --enable-video=yes \
48 --enable-jit=yes \
49 --disable-webgl \
50 --disable-geolocation \
51 --with-unicode-backend=glib \
52 --with-gtk=2.0 \
53 --disable-webkit2 \
54 --disable-gtk-doc-html \
55 $CONFIGURE_ARGS &&
56 make all stamp-po 2>&1 | grep -v Source/WebCore/dom/testing &&
57 make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html/ &&
58 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
59 }
61 # Rules to gen a SliTaz package suitable for Tazpkg.
62 genpkg_rules()
63 {
64 mkdir -p $fs/usr/lib $fs/usr/bin
65 [ -d $install/usr/lib/girepository-1.0 ] &&
66 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
67 cp -a $install/usr/lib/*.so* $fs/usr/lib
68 }