wok annotate gst-plugins-base/receipt @ rev 11248

Fix: midori build fixes and libnotify removal
author Alexander Medvedev <devl547@gmail.com>
date Mon Nov 07 10:04:04 2011 +0000 (2011-11-07)
parents 36bd6d3d2b60
children 8e4c74abdf74
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gst-plugins-base"
slaxemulator@11185 4 VERSION="0.10.35"
jozee@2674 5 CATEGORY="multimedia"
jozee@2674 6 SHORT_DESC="GStreamer Base Plugins"
jozee@2674 7 MAINTAINER="jozee@slitaz.org"
pankso@10378 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@10378 9 WEB_SITE="http://gstreamer.freedesktop.org/"
pankso@10378 10 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
pankso@10378 11
pascal@2861 12 DEPENDS="libxml2 alsa-lib cdparanoia-III libvorbis libtheora gstreamer liboil \
pascal@2861 13 libtheora-enc fontconfig libgio pango xorg-libICE xorg-libSM xorg-libXau \
slaxemulator@6762 14 xorg-libXdmcp xorg-libXext xorg-libXv freetype"
pankso@10378 15 BUILD_DEPENDS="pkg-config glib-dev alsa-lib-dev liboil-dev gstreamer-dev \
pankso@10378 16 libtheora-enc libtheora-dev libvorbis-dev cdparanoia-III-dev libxml2-dev \
pankso@10378 17 libogg-dev libgio-dev freetype-dev fontconfig-dev pango-dev xorg-libSM-dev \
pankso@10378 18 xorg-libXau-dev xorg-libICE-dev xorg-libXdmcp-dev xorg-libXext-dev \
pankso@10378 19 xorg-libXv-dev xorg-dev-proto util-linux-ng-uuid-dev gobject-introspection-dev"
jozee@2674 20
jozee@2674 21 # Rules to configure and make the package.
jozee@2674 22 compile_rules()
jozee@2674 23 {
jozee@2674 24 cd $src
slaxemulator@11185 25 patch -Np1 -i $stuff/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch
slaxemulator@11185 26 patch -Np1 -i $stuff/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch
pankso@10378 27 ./configure \
pankso@10378 28 --prefix=/usr \
pankso@10378 29 --sysconfdir=/etc \
pankso@10378 30 --localstatedir=/var \
pankso@10378 31 --enable-experimental \
pankso@10378 32 $CONFIGURE_ARGS &&
pascal@5784 33 make -j 4 &&
slaxemulator@6762 34 sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile &&
slaxemulator@10114 35 make install
jozee@2674 36 }
jozee@2674 37
jozee@2674 38 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 39 genpkg_rules()
jozee@2674 40 {
jozee@2674 41 mkdir -p $fs/usr/lib
jozee@2674 42 cp -a $_pkg/usr/bin $fs/usr
jozee@2674 43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
jozee@2674 44 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
slaxemulator@6954 45 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
jozee@2674 46 rm $fs/usr/lib/gstreamer*/*.*a
jozee@2674 47 }