wok-4.x annotate libwebkit-video/receipt @ rev 11754

Up: slitaz-configs (4.7) New grub splash image and fix GTK icon
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 22 16:35:30 2012 +0100 (2012-02-22)
parents
children 88250b081917
rev   line source
pascal@11624 1 # SliTaz package receipt.
pascal@11624 2
pascal@11624 3 PACKAGE="libwebkit-video"
pascal@11624 4 VERSION="1.6.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"
pascal@11624 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@11624 10 WEB_SITE="http://webkitgtk.org/"
pascal@11624 11 WGET_URL="$WEB_SITE/$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 \
pascal@11624 17 gcc-lib-base libtasn1 util-linux-ng-uuid glib-networking"
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 \
pascal@11624 21 libxcb-dev xcb-util-dev util-linux-ng-uuid-dev zlib-dev libtasn1-dev \
pascal@11624 22 gobject-introspection-dev tar gettext glib-networking-dev \
pascal@11624 23 gstreamer-dev gst-plugins-base-dev"
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
pascal@11624 29 ./configure \
pascal@11624 30 --prefix=/usr \
pascal@11624 31 --infodir=/usr/share/info \
pascal@11624 32 --mandir=/usr/share/man \
pascal@11624 33 --enable-introspection=no \
pascal@11624 34 --enable-video=yes \
pascal@11624 35 --enable-jit=yes \
pascal@11624 36 --with-unicode-backend=glib \
pascal@11624 37 --with-gtk=2.0 \
pascal@11624 38 $CONFIGURE_ARGS &&
pascal@11624 39 make all stamp-po && make DESTDIR=$DESTDIR install &&
pascal@11624 40 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
pascal@11624 41 }
pascal@11624 42
pascal@11624 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11624 44 genpkg_rules()
pascal@11624 45 {
pascal@11624 46 mkdir -p $fs/usr/lib $fs/usr/bin
pascal@11624 47 [ -d $_pkg/usr/lib/girepository-1.0 ] && cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
pascal@11624 48 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@11624 49 }