wok-6.x annotate gst-plugins-ugly/receipt @ rev 15057

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