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

njconnect - source file is now fixed on upstream level ;-)
author Pawel P. <xj@wp.pl>
date Fri Apr 05 12:14:08 2013 +0000 (2013-04-05)
parents bd0376c899fc
children f23b8474eb14
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 SUGGESTED="x264"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WEB_SITE="http://gstreamer.freedesktop.org/"
12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
13 LOCALES="da de es fr id it pt_BR ru zh_CN"
15 DEPENDS="gst-plugins-base \
16 lame libdvdread \
17 libcdio libmad libmpeg2 opencore-amr orc "
18 BUILD_DEPENDS="pkg-config gst-plugins-base-dev \
19 lame-dev libdvdread-dev glib-dev gstreamer-dev \
20 libcdio-dev libmad-dev libmpeg2-dev orc-dev x264-dev"
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 --with-package-name="GStreamer Ugly Plugins ($SERIES)" \
33 --with-package-origin="http://www.slitaz.org/" \
34 $CONFIGURE_ARGS | grep -Ev "set ERROR_C" &&
35 make $MAKEFLAGS 2>&1 | grep -v /usr/local/include &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
43 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
44 mv $install/usr/share/gstreamer-$SERIES $fs/usr/share
45 for locale in $LOCALES; do
46 mv $install/usr/share/locale/$locale $fs/usr/share/locale
47 done
48 }