wok-current annotate gst-plugins-base/receipt @ rev 12369
libcanberra-dev: Update depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 21:43:56 2012 +0000 (2012-04-19) |
parents | 6de39b76edc6 |
children | 73641efed1cc |
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 && |
gokhlayeh@11574 | 33 make $MAKEFLAGS && |
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 } |