wok view libwebkit-video/receipt @ rev 14064
shaarli: fix path + security fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 20 11:36:45 2013 +0100 (2013-02-20) |
parents | b242093530f9 |
children | 062686a03204 |
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"
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"
24 SUGGESTED="gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad \
25 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 ./configure \
34 --prefix=/usr \
35 --infodir=/usr/share/info \
36 --mandir=/usr/share/man \
37 --enable-introspection=no \
38 --enable-video=yes \
39 --enable-jit=yes \
40 --disable-webgl \
41 --disable-geolocation \
42 --with-unicode-backend=glib \
43 --with-gtk=2.0 \
44 --disable-gtk-doc-html \
45 $CONFIGURE_ARGS &&
46 make all stamp-po && make DESTDIR=$DESTDIR install &&
47 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib $fs/usr/bin
54 [ -d $_pkg/usr/lib/girepository-1.0 ] && cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
55 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
56 }