wok annotate libwebkit/receipt @ rev 13315

octave: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 30 08:40:52 2012 +0200 (2012-08-30)
parents d697df9615a4
children 011608c931d5
rev   line source
mallory@3146 1 # SliTaz package receipt.
mallory@3146 2
mallory@3146 3 PACKAGE="libwebkit"
domcox@12888 4 VERSION="1.8.1"
mallory@3146 5 CATEGORY="network"
mallory@3146 6 SHORT_DESC="xHTML render library."
pankso@10801 7 MAINTAINER="mallory@sweetpeople.org"
pankso@10801 8 SOURCE="webkit"
domcox@12888 9 TARBALL="$SOURCE-$VERSION.tar.xz"
samuel_trassare@11907 10 WEB_SITE="http://webkitgtk.org"
pascal@12892 11 WGET_URL="$WEB_SITE/releases/$TARBALL"
pankso@10801 12
slaxemulator@5372 13 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
slaxemulator@5372 14 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
pankso@10801 15 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
pankso@10801 16 xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
pankso@12481 17 gcc-lib-base libtasn1 util-linux-uuid glib-networking"
slaxemulator@5372 18 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
slaxemulator@5372 19 libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
slaxemulator@5372 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 \
domcox@12888 22 gobject-introspection-dev tar gettext glib-networking-dev gtk-doc"
slaxemulator@8530 23
mallory@3146 24 # Rules to configure and make the package.
mallory@3146 25 compile_rules()
mallory@3146 26 {
mallory@3146 27 cd $src
domcox@12888 28 # fix Bug 84526: webkit-gtk-1.8.0 fails to build with --disable-video
domcox@12888 29 patch -p0 < $stuff/CodeGeneratorGObject-bug-84526.patch || exit 1
domcox@12888 30 # libwebkit does not like parallel builds.
domcox@12888 31 export MAKEFLAGS=$(echo $MAKEFLAGS | sed 's/-j[0-9]*/-j1/')
mallory@3146 32 ./configure \
mallory@3146 33 --prefix=/usr \
mallory@3146 34 --infodir=/usr/share/info \
mallory@3146 35 --mandir=/usr/share/man \
slaxemulator@11247 36 --enable-introspection=no \
slaxemulator@8530 37 --enable-video=no \
slaxemulator@6466 38 --enable-jit=yes \
domcox@12888 39 --disable-webgl \
domcox@12888 40 --disable-geolocation \
slaxemulator@11247 41 --with-unicode-backend=glib \
slaxemulator@11247 42 --with-gtk=2.0 \
domcox@12888 43 --disable-gtk-doc \
slaxemulator@11247 44 $CONFIGURE_ARGS &&
gokhlayeh@11380 45 make all stamp-po && make DESTDIR=$DESTDIR install &&
slaxemulator@8530 46 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
mallory@3146 47 }
mallory@3146 48
mallory@3146 49 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3146 50 genpkg_rules()
mallory@3146 51 {
jozee@5027 52 mkdir -p $fs/usr/lib $fs/usr/bin
pascal@11251 53 [ -d $_pkg/usr/lib/girepository-1.0 ] && cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
mallory@3146 54 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
mallory@3146 55 }