wok-next view libwebkit-video/receipt @ rev 13352

Add perl-io-tty, perl-io-stty, perl-number-range, perl-expect, perl-algorithm-permute
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 10 09:49:31 2012 +0200 (2012-09-10)
parents 0fe689547094
children fdee667feb2c
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebkit-video"
4 VERSION="1.8.1"
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-ffmpeg"
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 gtk-doc"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 # libwebkit does not like parallel builds.
30 export MAKEFLAGS=$(echo $MAKEFLAGS | sed 's/-j[0-9]*/-j1/')
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 --enable-introspection=no \
36 --enable-video=yes \
37 --enable-jit=yes \
38 --disable-webgl \
39 --disable-geolocation \
40 --with-unicode-backend=glib \
41 --with-gtk=2.0 \
42 --disable-gtk-doc-html \
43 $CONFIGURE_ARGS &&
44 make all stamp-po && make DESTDIR=$DESTDIR install &&
45 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/lib $fs/usr/bin
52 [ -d $_pkg/usr/lib/girepository-1.0 ] && cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
53 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
54 }