wok-current view libwebkit-video/receipt @ rev 14263
syslinux/iso2exe: tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Mar 31 22:55:34 2013 +0100 (2013-03-31) |
parents | fdee667feb2c |
children | dece634c27dc |
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 \
23 gstreamer-dev gst-plugins-base-dev orc-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 # Build
39 ./configure \
40 --prefix=/usr \
41 --infodir=/usr/share/info \
42 --mandir=/usr/share/man \
43 --enable-introspection=no \
44 --enable-video=yes \
45 --enable-jit=yes \
46 --disable-webgl \
47 --disable-geolocation \
48 --with-unicode-backend=glib \
49 --with-gtk=2.0 \
50 --disable-webkit2 \
51 --disable-gtk-doc-html \
52 $CONFIGURE_ARGS &&
53 make all stamp-po && make DESTDIR=$DESTDIR install &&
54 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
55 }
57 # Rules to gen a SliTaz package suitable for Tazpkg.
58 genpkg_rules()
59 {
60 mkdir -p $fs/usr/lib $fs/usr/bin
61 [ -d $_pkg/usr/lib/girepository-1.0 ] &&
62 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
63 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
64 }