wok-next annotate gst0-plugins-bad/receipt @ rev 19816

gstreamer0, gst0-* are for version 0.10; while gstreamer1, gst1-* are for version 1.0; up gparted and all its suggested dependencies...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 27 00:56:44 2017 +0300 (2017-07-27)
parents
children fb478984fbc8
rev   line source
al@19816 1 # SliTaz package receipt.
al@19816 2
al@19816 3 PACKAGE="gst0-plugins-bad"
al@19816 4 VERSION="0.10.23"
al@19816 5 SERIES="0.10"
al@19816 6 CATEGORY="multimedia"
al@19816 7 SHORT_DESC="GStreamer Bad Plugins"
al@19816 8 MAINTAINER="jozee@slitaz.org"
al@19816 9 LICENSE="GPL2"
al@19816 10 SUGGESTED="libsdl schroedinger"
al@19816 11 TARBALL="gst-plugins-bad-$VERSION.tar.xz"
al@19816 12 WEB_SITE="http://gstreamer.freedesktop.org/"
al@19816 13 WGET_URL="$WEB_SITE/src/gst-plugins-bad/$TARBALL"
al@19816 14 LOCALES="da de es fr id it pt_BR ru zh_CN"
al@19816 15
al@19816 16 DEPENDS="gst0-plugins-base faac libpng libvpx openssl xvidcore
al@19816 17 faad2 jasper libmms libmodplug libsndfile mjpegtools neon"
al@19816 18 BUILD_DEPENDS="gstreamer0-dev gst0-plugins-base-dev
al@19816 19 faac-dev libpng-dev libvpx-dev openssl-dev xvidcore-dev jpeg-dev
al@19816 20 faad2-dev jasper-dev libmms-dev libmodplug-dev libsndfile-dev libsdl-dev
al@19816 21 mjpegtools-dev neon-dev schroedinger-dev expat-dev flac-dev"
al@19816 22
al@19816 23 # Rules to configure and make the package.
al@19816 24 compile_rules()
al@19816 25 {
al@19816 26 cd $src
al@19816 27 ./configure \
al@19816 28 --prefix=/usr \
al@19816 29 --sysconfdir=/etc \
al@19816 30 --localstatedir=/var \
al@19816 31 --disable-static \
al@19816 32 --disable-debug \
al@19816 33 --enable-experimental \
al@19816 34 --with-package-name="GStreamer Bad Plugins ($SERIES)" \
al@19816 35 --with-package-origin="http://www.slitaz.org/" \
al@19816 36 $CONFIGURE_ARGS &&
al@19816 37 make $MAKEFLAGS &&
al@19816 38 make install
al@19816 39 }
al@19816 40
al@19816 41 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19816 42 genpkg_rules()
al@19816 43 {
al@19816 44 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
al@19816 45 mv $install/usr/lib/*.so* $fs/usr/lib
al@19816 46 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
al@19816 47 for locale in $LOCALES; do
al@19816 48 mv $install/usr/share/locale/$locale $fs/usr/share/locale
al@19816 49 done
al@19816 50 }