wok-6.x view libwebkit-video/receipt @ rev 14492

libwebkit-video: filter out wrong error triggers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 06 22:34:07 2013 +0200 (2013-05-06)
parents 90f30dc0f5b4
children 8d6f480bf664
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 SOURCE="webkit"
9 TARBALL="$SOURCE-$VERSION.tar.xz"
10 WEB_SITE="http://webkitgtk.org"
11 WGET_URL="$WEB_SITE/releases/$TARBALL"
13 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
14 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
15 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
16 xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
17 gcc-lib-base libtasn1 util-linux-uuid glib-networking gst-plugins-base"
18 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
19 libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
20 m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
21 libxcb-dev xcb-util-dev util-linux-uuid-dev zlib-dev libtasn1-dev \
22 gobject-introspection-dev tar gettext glib-networking-dev gtk-doc \
23 gstreamer-dev gst-plugins-base-dev"
24 SUGGESTED="gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-ffmpeg"
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 # libwebkit does not like parallel builds.
31 export MAKEFLAGS=$(echo $MAKEFLAGS | sed 's/-j[0-9]*/-j1/')
32 # Build fix with newer bison 2.6
33 for file_diff in $stuff/*.diff; do
34 echo -n "Applying patch $(basename $file_diff)"
35 patch -Np1 -i $file_diff > /dev/null
36 status
37 done
38 touch Documentation/webkitgtk/version.xml
39 # Build
40 ./configure \
41 --prefix=/usr \
42 --infodir=/usr/share/info \
43 --mandir=/usr/share/man \
44 --enable-introspection=no \
45 --enable-video=yes \
46 --enable-jit=yes \
47 --disable-webgl \
48 --disable-geolocation \
49 --with-unicode-backend=glib \
50 --with-gtk=2.0 \
51 --disable-webkit2 \
52 --disable-gtk-doc-html \
53 $CONFIGURE_ARGS &&
54 make all stamp-po 2>&1 | grep -v Source/WebCore/dom/testing &&
55 make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html/ &&
56 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
57 }
59 # Rules to gen a SliTaz package suitable for Tazpkg.
60 genpkg_rules()
61 {
62 mkdir -p $fs/usr/lib $fs/usr/bin
63 [ -d $_pkg/usr/lib/girepository-1.0 ] &&
64 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
65 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
66 }