wok-current annotate gst-plugins-good/receipt @ rev 15265

Up cookutils (3.1.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 09:50:51 2013 +0000 (2013-09-25)
parents dcea5385bc20
children 2b9378016ce7
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gst-plugins-good"
domcox@14019 4 VERSION="0.10.31"
domcox@14019 5 SERIES="0.10"
jozee@2674 6 CATEGORY="multimedia"
jozee@2674 7 SHORT_DESC="GStreamer Good Plugins"
jozee@2674 8 MAINTAINER="jozee@slitaz.org"
pascal@14996 9 LICENSE="LGPL2.1"
domcox@14019 10 SUGGESTED="jack-audio-connection-kit"
domcox@14019 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
domcox@14019 12 WEB_SITE="http://gstreamer.freedesktop.org/"
slaxemulator@10117 13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
domcox@14019 14 LOCALES="da de es fr id it pt_BR ru zh_CN"
slaxemulator@10117 15
domcox@14477 16 DEPENDS="gst-plugins-base cairo flac libjpeg libpng
domcox@14487 17 libsoup libcdio libdv speex taglib wavpack bzip2"
domcox@14477 18 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev
domcox@14477 19 cairo-dev flac-dev jpeg-dev libpng-dev libshout-dev
domcox@14477 20 libsoup-dev jack-audio-connection-kit-dev libcdio-dev
domcox@14477 21 libdv-dev speex-dev taglib-dev wavpack-dev bzip2-dev"
jozee@2674 22
jozee@2674 23 # Rules to configure and make the package.
jozee@2674 24 compile_rules()
jozee@2674 25 {
jozee@2674 26 cd $src
jozee@2674 27 ./configure \
domcox@14019 28 --prefix=/usr \
domcox@14019 29 --sysconfdir=/etc \
domcox@14019 30 --localstatedir=/var \
domcox@14019 31 --enable-experimental \
domcox@14019 32 --disable-static \
domcox@14019 33 --disable-debug \
domcox@14019 34 --disable-hal \
domcox@14019 35 --disable-esd \
domcox@14019 36 --with-package-name="GStreamer Good Plugins ($SERIES)" \
domcox@14019 37 --with-package-origin="http://www.slitaz.org/" \
pascal@15265 38 $CONFIGURE_ARGS &&
gokhlayeh@11574 39 make $MAKEFLAGS &&
domcox@14019 40 make install
jozee@2674 41 }
jozee@2674 42
jozee@2674 43 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 44 genpkg_rules()
jozee@2674 45 {
domcox@14019 46 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share
domcox@14019 47 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
domcox@14019 48 mv $install/usr/share/gstreamer* $fs/usr/share
domcox@14019 49 for locale in $LOCALES; do
domcox@14019 50 mv $install/usr/share/locale/$locale $fs/usr/share/locale
domcox@14019 51 done
jozee@2674 52 }