wok-6.x view gst-plugins-bad/receipt @ rev 14025

gst-ffmpeg: new build
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 17 20:07:14 2013 +0100 (2013-02-17)
parents 555cf994999f
children c077cf0035c8
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-bad"
4 VERSION="0.10.23"
5 SERIES="0.10"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Bad Plugins"
8 MAINTAINER="jozee@slitaz.org"
9 DEPENDS="gst-plugins-base \
10 faac libpng libvpx openssl xvidcore \
11 faad2 jasper libmms libmodplug libsndfile mjpegtools neon orc"
12 BUILD_DEPENDS="pkg-config glib-dev gstreamer-dev gst-plugins-base-dev \
13 faac-dev libpng-dev libvpx-dev openssl-dev xvidcore-dev \
14 faad2-dev jasper-dev libmms-dev libmodplug-dev libsndfile-dev libsdl-dev \
15 mjpegtools-dev neon-dev orc-dev schroedinger-dev"
16 SUGGESTED="libsdl schroedinger"
17 TARBALL="$PACKAGE-$VERSION.tar.xz"
18 WEB_SITE="http://gstreamer.freedesktop.org/"
19 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
20 LOCALES="da de es fr id it pt_BR ru zh_CN"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --disable-static \
31 --disable-debug \
32 --enable-experimental \
33 --with-package-name="GStreamer Bad Plugins ($SERIES)" \
34 --with-package-origin="http://www.slitaz.org/" \
35 $CONFIGURE_ARGS &&
36 make $MAKEFLAGS &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
44 mv $install/usr/lib/*.so* $fs/usr/lib
45 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
46 for locale in $LOCALES; do
47 mv $install/usr/share/locale/$locale $fs/usr/share/locale
48 done
49 }