wok-next annotate libwebkit-video/receipt @ rev 14392
evas-dev: fix deps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 08:07:56 2013 +0200 (2013-04-23) |
parents | fdee667feb2c |
children | dece634c27dc |
rev | line source |
---|---|
pascal@11624 | 1 # SliTaz package receipt. |
pascal@11624 | 2 |
pascal@11624 | 3 PACKAGE="libwebkit-video" |
domcox@14107 | 4 VERSION="1.8.3" |
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@14107 | 17 gcc-lib-base libtasn1 util-linux-uuid glib-networking gst-plugins-base" |
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@14107 | 23 gstreamer-dev gst-plugins-base-dev orc-dev" |
domcox@14107 | 24 SUGGESTED="gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-ffmpeg" |
pascal@11624 | 25 |
pascal@11624 | 26 # Rules to configure and make the package. |
pascal@11624 | 27 compile_rules() |
pascal@11624 | 28 { |
pascal@11624 | 29 cd $src |
domcox@12890 | 30 # libwebkit does not like parallel builds. |
domcox@12890 | 31 export MAKEFLAGS=$(echo $MAKEFLAGS | sed 's/-j[0-9]*/-j1/') |
domcox@14107 | 32 # Build fix with newer bison 2.6 |
domcox@14107 | 33 for file_diff in $stuff/*.diff; do |
domcox@14107 | 34 echo -n "Applying patch $(basename $file_diff)" |
domcox@14107 | 35 patch -Np1 -i $file_diff > /dev/null |
domcox@14107 | 36 status |
domcox@14107 | 37 done |
domcox@14107 | 38 # Build |
pascal@11624 | 39 ./configure \ |
pascal@11624 | 40 --prefix=/usr \ |
pascal@11624 | 41 --infodir=/usr/share/info \ |
pascal@11624 | 42 --mandir=/usr/share/man \ |
pascal@11624 | 43 --enable-introspection=no \ |
pascal@11624 | 44 --enable-video=yes \ |
pascal@11624 | 45 --enable-jit=yes \ |
domcox@12890 | 46 --disable-webgl \ |
domcox@12890 | 47 --disable-geolocation \ |
pascal@11624 | 48 --with-unicode-backend=glib \ |
pascal@11624 | 49 --with-gtk=2.0 \ |
domcox@14107 | 50 --disable-webkit2 \ |
domcox@12890 | 51 --disable-gtk-doc-html \ |
pascal@11624 | 52 $CONFIGURE_ARGS && |
pascal@11624 | 53 make all stamp-po && make DESTDIR=$DESTDIR install && |
pascal@11624 | 54 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin |
pascal@11624 | 55 } |
pascal@11624 | 56 |
pascal@11624 | 57 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11624 | 58 genpkg_rules() |
pascal@11624 | 59 { |
pascal@11624 | 60 mkdir -p $fs/usr/lib $fs/usr/bin |
domcox@14107 | 61 [ -d $_pkg/usr/lib/girepository-1.0 ] && |
domcox@14107 | 62 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
pascal@11624 | 63 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11624 | 64 } |