wok annotate gst-plugins-good/receipt @ rev 18228

linld: add tobzimage
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 23 09:44:18 2015 +0200 (2015-07-23)
parents 4ec0694bfc21
children b6a74775afd4
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"
al@16691 14 LOCALES="cs da de el es fr hu id it pl pt_BR ru sl sv zh_CN zh_TW"
slaxemulator@10117 15
domcox@14477 16 DEPENDS="gst-plugins-base cairo flac libjpeg libpng
domcox@14487 17 libsoup libcdio libdv speex taglib wavpack bzip2"
pascal@17606 18 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev sqlite-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
pascal@15633 21 libdv-dev speex-dev taglib-dev wavpack-dev bzip2-dev util-linux-uuid-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 {
al@16691 46 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
al@16691 47 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
al@16691 48 cp -a $install/usr/share/gstreamer* $fs/usr/share
domcox@14019 49 for locale in $LOCALES; do
al@16691 50 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
domcox@14019 51 done
jozee@2674 52 }