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