wok annotate gst-plugins-ugly/receipt @ rev 14023

Up gst-plugins-ugly (0.10.19)
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 17 20:05:49 2013 +0100 (2013-02-17)
parents b7319995b37e
children 399035df8ea4
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"
domcox@14023 9 DEPENDS="gst-plugins-base \
domcox@14023 10 lame libdvdread \
domcox@14023 11 libcdio libmad libmpeg2 opencore-amr orc "
domcox@14023 12 BUILD_DEPENDS="pkg-config gst-plugins-base-dev \
domcox@14023 13 lame-dev libdvdread-dev \
domcox@14023 14 libcdio-dev libmad-dev libmpeg2-dev orc-dev x264-dev"
domcox@14023 15 SUGGESTED="x264"
domcox@14023 16 TARBALL="$PACKAGE-$VERSION.tar.xz"
domcox@14023 17 WEB_SITE="http://gstreamer.freedesktop.org/"
jozee@2674 18 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
domcox@14023 19 LOCALES="da de es fr id it pt_BR ru zh_CN"
jozee@2674 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/" \
domcox@14023 33 $CONFIGURE_ARGS &&
gokhlayeh@11573 34 make $MAKEFLAGS &&
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 }