wok-6.x annotate libwebkit-video/receipt @ rev 16179

8086tiny: fix build for arm (no graphic dont build...)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 30 17:45:53 2014 +0200 (2014-03-30)
parents c5fe515796a9
children ae0f72b521fd
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@15482 8 LICENSE="LGPL2"
pascal@11624 9 SOURCE="webkit"
domcox@12890 10 TARBALL="$SOURCE-$VERSION.tar.xz"
samuel_trassare@11907 11 WEB_SITE="http://webkitgtk.org"
pascal@12892 12 WGET_URL="$WEB_SITE/releases/$TARBALL"
pascal@11624 13
pascal@11624 14 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
pascal@11624 15 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
pascal@11624 16 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
pascal@11624 17 xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
domcox@14107 18 gcc-lib-base libtasn1 util-linux-uuid glib-networking gst-plugins-base"
pascal@11624 19 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
pascal@11624 20 libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
pascal@11624 21 m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
pankso@12481 22 libxcb-dev xcb-util-dev util-linux-uuid-dev zlib-dev libtasn1-dev \
domcox@14491 23 gobject-introspection-dev tar gettext glib-networking-dev gtk-doc \
domcox@14488 24 gstreamer-dev gst-plugins-base-dev"
domcox@14107 25 SUGGESTED="gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-ffmpeg"
pascal@11624 26
pascal@11624 27 # Rules to configure and make the package.
pascal@11624 28 compile_rules()
pascal@11624 29 {
pascal@11624 30 cd $src
domcox@12890 31 # libwebkit does not like parallel builds.
domcox@12890 32 export MAKEFLAGS=$(echo $MAKEFLAGS | sed 's/-j[0-9]*/-j1/')
domcox@14107 33 # Build fix with newer bison 2.6
domcox@14107 34 for file_diff in $stuff/*.diff; do
domcox@14107 35 echo -n "Applying patch $(basename $file_diff)"
domcox@14107 36 patch -Np1 -i $file_diff > /dev/null
domcox@14107 37 status
domcox@14107 38 done
pascal@14492 39 touch Documentation/webkitgtk/version.xml
domcox@14107 40 # Build
pascal@11624 41 ./configure \
pascal@11624 42 --prefix=/usr \
pascal@11624 43 --infodir=/usr/share/info \
pascal@11624 44 --mandir=/usr/share/man \
pascal@11624 45 --enable-introspection=no \
pascal@11624 46 --enable-video=yes \
pascal@11624 47 --enable-jit=yes \
domcox@12890 48 --disable-webgl \
domcox@12890 49 --disable-geolocation \
pascal@11624 50 --with-unicode-backend=glib \
pascal@11624 51 --with-gtk=2.0 \
domcox@14107 52 --disable-webkit2 \
domcox@12890 53 --disable-gtk-doc-html \
pascal@11624 54 $CONFIGURE_ARGS &&
pascal@14492 55 make all stamp-po 2>&1 | grep -v Source/WebCore/dom/testing &&
pascal@14492 56 make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html/ &&
pascal@11624 57 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
pascal@11624 58 }
pascal@11624 59
pascal@11624 60 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11624 61 genpkg_rules()
pascal@11624 62 {
pascal@11624 63 mkdir -p $fs/usr/lib $fs/usr/bin
pascal@15482 64 [ -d $install/usr/lib/girepository-1.0 ] &&
pascal@15482 65 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
pascal@15482 66 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11624 67 }