wok-current view gst-plugins-ugly/receipt @ rev 15194

Add pigz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 30 11:47:42 2013 +0000 (2013-08-30)
parents f23b8474eb14
children dead8955c3ca
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-ugly"
4 VERSION="0.10.19"
5 SERIES="0.10"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Ugly Plugins"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="LGPL2.1"
10 SUGGESTED="x264"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WEB_SITE="http://gstreamer.freedesktop.org/"
13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
14 LOCALES="da de es fr id it pt_BR ru zh_CN"
16 DEPENDS="gst-plugins-base lame libdvdread
17 libcdio libmad libmpeg2 opencore-amr"
18 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev lame-dev libdvdread-dev
19 libcdio-dev libmad-dev libmpeg2-dev x264-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 --disable-static \
30 --disable-debug \
31 --with-package-name="GStreamer Ugly Plugins ($SERIES)" \
32 --with-package-origin="http://www.slitaz.org/" \
33 $CONFIGURE_ARGS | grep -Ev "set ERROR_C" &&
34 make $MAKEFLAGS 2>&1 | grep -v /usr/local/include &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
42 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
43 mv $install/usr/share/gstreamer-$SERIES $fs/usr/share
44 for locale in $LOCALES; do
45 mv $install/usr/share/locale/$locale $fs/usr/share/locale
46 done
47 }