wok annotate gst-plugins-bad/receipt @ rev 17830

Up: tazbug(1.2.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Mar 22 22:41:27 2015 +0100 (2015-03-22)
parents dead8955c3ca
children a78610b2eb47
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gst-plugins-bad"
domcox@14021 4 VERSION="0.10.23"
domcox@14021 5 SERIES="0.10"
jozee@2674 6 CATEGORY="multimedia"
jozee@2674 7 SHORT_DESC="GStreamer Bad Plugins"
jozee@2674 8 MAINTAINER="jozee@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
domcox@14021 10 SUGGESTED="libsdl schroedinger"
domcox@14021 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
domcox@14021 12 WEB_SITE="http://gstreamer.freedesktop.org/"
slaxemulator@6757 13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
domcox@14021 14 LOCALES="da de es fr id it pt_BR ru zh_CN"
jozee@2674 15
domcox@14480 16 DEPENDS="gst-plugins-base faac libpng libvpx openssl xvidcore
domcox@14480 17 faad2 jasper libmms libmodplug libsndfile mjpegtools neon"
domcox@14480 18 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev
domcox@14480 19 faac-dev libpng-dev libvpx-dev openssl-dev xvidcore-dev jpeg-dev
domcox@14480 20 faad2-dev jasper-dev libmms-dev libmodplug-dev libsndfile-dev libsdl-dev
pascal@17762 21 mjpegtools-dev neon-dev schroedinger-dev expat-dev flac-dev"
pascal@14037 22
jozee@2674 23 # Rules to configure and make the package.
jozee@2674 24 compile_rules()
jozee@2674 25 {
jozee@2674 26 cd $src
domcox@14021 27 ./configure \
domcox@14021 28 --prefix=/usr \
domcox@14021 29 --sysconfdir=/etc \
domcox@14021 30 --localstatedir=/var \
domcox@14021 31 --disable-static \
domcox@14021 32 --disable-debug \
domcox@14021 33 --enable-experimental \
domcox@14021 34 --with-package-name="GStreamer Bad Plugins ($SERIES)" \
domcox@14021 35 --with-package-origin="http://www.slitaz.org/" \
pascal@15265 36 $CONFIGURE_ARGS &&
gokhlayeh@11574 37 make $MAKEFLAGS &&
domcox@14021 38 make install
jozee@2674 39 }
jozee@2674 40
jozee@2674 41 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 42 genpkg_rules()
jozee@2674 43 {
domcox@14021 44 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
domcox@14021 45 mv $install/usr/lib/*.so* $fs/usr/lib
domcox@14021 46 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
domcox@14021 47 for locale in $LOCALES; do
domcox@14021 48 mv $install/usr/share/locale/$locale $fs/usr/share/locale
domcox@14021 49 done
jozee@2674 50 }