wok-current rev 11624

Add libwebkit-video
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 25 18:12:23 2012 +0100 (2012-01-25)
parents af9a1b47948c
children 68f2ff5fa326
files libwebkit-video-dev/receipt libwebkit-video/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libwebkit-video-dev/receipt	Wed Jan 25 18:12:23 2012 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libwebkit-video-dev"
     1.7 +VERSION="1.6.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="devel files for libwebkit"
    1.10 +DEPENDS="libwebkit-video libsoup-dev enchant-dev libtasn1-dev sqlite-dev"
    1.11 +SOURCE="webkit"
    1.12 +WANTED="libwebkit-video"
    1.13 +MAINTAINER="mallory@sweetpeople.org"
    1.14 +WEB_SITE="http://webkitgtk.org"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.20 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/include $fs/usr
    1.23 +	[ -d $_pkg/usr/share/gir-1.0 ] && cp -a $_pkg/usr/share/gir-1.0 $fs/usr/share
    1.24 +	if [ -f $fs/usr/lib/pkgconfig/webkit-1.0.pc ]; then
    1.25 +		ln -sf /usr/lib/pkgconfig/webkit-1.0.pc $fs/usr/lib/pkgconfig/webkitgtk-1.0.pc
    1.26 +	fi
    1.27 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libwebkit-video/receipt	Wed Jan 25 18:12:23 2012 +0100
     2.3 @@ -0,0 +1,49 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libwebkit-video"
     2.7 +VERSION="1.6.1"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="xHTML render library."
    2.10 +MAINTAINER="mallory@sweetpeople.org"
    2.11 +SOURCE="webkit"
    2.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://webkitgtk.org/"
    2.14 +WGET_URL="$WEB_SITE/$TARBALL"
    2.15 +
    2.16 +DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
    2.17 +xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
    2.18 +xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
    2.19 +xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
    2.20 +gcc-lib-base libtasn1 util-linux-ng-uuid glib-networking"
    2.21 +BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
    2.22 +libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
    2.23 +m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
    2.24 +libxcb-dev xcb-util-dev util-linux-ng-uuid-dev zlib-dev libtasn1-dev \
    2.25 +gobject-introspection-dev tar gettext glib-networking-dev \
    2.26 +gstreamer-dev gst-plugins-base-dev"
    2.27 +
    2.28 +# Rules to configure and make the package.
    2.29 +compile_rules()
    2.30 +{
    2.31 +	cd $src
    2.32 +	./configure \
    2.33 +		--prefix=/usr \
    2.34 +		--infodir=/usr/share/info \
    2.35 +		--mandir=/usr/share/man \
    2.36 +		--enable-introspection=no \
    2.37 +		--enable-video=yes \
    2.38 +		--enable-jit=yes \
    2.39 +		--with-unicode-backend=glib \
    2.40 +		--with-gtk=2.0 \
    2.41 +		$CONFIGURE_ARGS &&
    2.42 +	make all stamp-po && make DESTDIR=$DESTDIR install &&
    2.43 +	cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
    2.44 +}
    2.45 +
    2.46 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.47 +genpkg_rules()
    2.48 +{
    2.49 +	mkdir -p $fs/usr/lib $fs/usr/bin
    2.50 +	[ -d $_pkg/usr/lib/girepository-1.0 ] && cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
    2.51 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.52 +}