wok-next view gst-plugins-base/receipt @ rev 13538

Add python-ooop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 26 13:09:58 2012 +0200 (2012-10-26)
parents 8e4c74abdf74
children de13a14f1b22
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-base"
4 VERSION="0.10.35"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer Base Plugins"
7 MAINTAINER="jozee@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://gstreamer.freedesktop.org/"
10 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
12 DEPENDS="libxml2 alsa-lib cdparanoia-III libvorbis libtheora gstreamer liboil \
13 libtheora-enc fontconfig libgio pango xorg-libICE xorg-libSM xorg-libXau \
14 xorg-libXdmcp xorg-libXext xorg-libXv freetype"
15 BUILD_DEPENDS="pkg-config glib-dev alsa-lib-dev liboil-dev gstreamer-dev \
16 libtheora-enc libtheora-dev libvorbis-dev cdparanoia-III-dev libxml2-dev \
17 libogg-dev libgio-dev freetype-dev fontconfig-dev pango-dev xorg-libSM-dev \
18 xorg-libXau-dev xorg-libICE-dev xorg-libXdmcp-dev xorg-libXext-dev \
19 xorg-libXv-dev xorg-dev-proto util-linux-uuid-dev gobject-introspection-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 patch -Np1 -i $stuff/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch
26 patch -Np1 -i $stuff/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --enable-experimental \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS &&
34 sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $_pkg/usr/bin $fs/usr
43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
44 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
45 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
46 rm $fs/usr/lib/gstreamer*/*.*a
47 }