wok-current annotate libwebkit-video/receipt @ rev 13483

up pciids (20121010)
author Samuel Trassare <samuel_trassare@yahoo.com>
date Thu Oct 11 23:09:19 2012 +0000 (2012-10-11)
parents 0fe689547094
children fdee667feb2c
rev   line source
pascal@11624 1 # SliTaz package receipt.
pascal@11624 2
pascal@11624 3 PACKAGE="libwebkit-video"
domcox@12890 4 VERSION="1.8.1"
pascal@11624 5 CATEGORY="network"
pascal@11624 6 SHORT_DESC="xHTML render library."
pascal@11624 7 MAINTAINER="mallory@sweetpeople.org"
pascal@11624 8 SOURCE="webkit"
domcox@12890 9 TARBALL="$SOURCE-$VERSION.tar.xz"
samuel_trassare@11907 10 WEB_SITE="http://webkitgtk.org"
pascal@12892 11 WGET_URL="$WEB_SITE/releases/$TARBALL"
pascal@11624 12
pascal@11624 13 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
pascal@11624 14 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
pascal@11624 15 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
pascal@11624 16 xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
domcox@12890 17 gcc-lib-base libtasn1 util-linux-uuid glib-networking gst-ffmpeg"
pascal@11624 18 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
pascal@11624 19 libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
pascal@11624 20 m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
pankso@12481 21 libxcb-dev xcb-util-dev util-linux-uuid-dev zlib-dev libtasn1-dev \
pascal@11624 22 gobject-introspection-dev tar gettext glib-networking-dev \
domcox@12890 23 gstreamer-dev gst-plugins-base-dev gtk-doc"
pascal@11624 24
pascal@11624 25 # Rules to configure and make the package.
pascal@11624 26 compile_rules()
pascal@11624 27 {
pascal@11624 28 cd $src
domcox@12890 29 # libwebkit does not like parallel builds.
domcox@12890 30 export MAKEFLAGS=$(echo $MAKEFLAGS | sed 's/-j[0-9]*/-j1/')
pascal@11624 31 ./configure \
pascal@11624 32 --prefix=/usr \
pascal@11624 33 --infodir=/usr/share/info \
pascal@11624 34 --mandir=/usr/share/man \
pascal@11624 35 --enable-introspection=no \
pascal@11624 36 --enable-video=yes \
pascal@11624 37 --enable-jit=yes \
domcox@12890 38 --disable-webgl \
domcox@12890 39 --disable-geolocation \
pascal@11624 40 --with-unicode-backend=glib \
pascal@11624 41 --with-gtk=2.0 \
domcox@12890 42 --disable-gtk-doc-html \
pascal@11624 43 $CONFIGURE_ARGS &&
pascal@11624 44 make all stamp-po && make DESTDIR=$DESTDIR install &&
pascal@11624 45 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
pascal@11624 46 }
pascal@11624 47
pascal@11624 48 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11624 49 genpkg_rules()
pascal@11624 50 {
pascal@11624 51 mkdir -p $fs/usr/lib $fs/usr/bin
pascal@11624 52 [ -d $_pkg/usr/lib/girepository-1.0 ] && cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
pascal@11624 53 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@11624 54 }