wok-current annotate gst-plugins-ugly/receipt @ rev 14202
Add w3m
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Thu Mar 14 05:13:26 2013 +0000 (2013-03-14) |
parents | bd0376c899fc |
children | f23b8474eb14 |
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 SUGGESTED="x264" |
domcox@14023 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
domcox@14023 | 11 WEB_SITE="http://gstreamer.freedesktop.org/" |
jozee@2674 | 12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
domcox@14023 | 13 LOCALES="da de es fr id it pt_BR ru zh_CN" |
jozee@2674 | 14 |
pascal@14039 | 15 DEPENDS="gst-plugins-base \ |
pascal@14039 | 16 lame libdvdread \ |
pascal@14039 | 17 libcdio libmad libmpeg2 opencore-amr orc " |
pascal@14039 | 18 BUILD_DEPENDS="pkg-config gst-plugins-base-dev \ |
pascal@14041 | 19 lame-dev libdvdread-dev glib-dev gstreamer-dev \ |
pascal@14039 | 20 libcdio-dev libmad-dev libmpeg2-dev orc-dev x264-dev" |
pascal@14039 | 21 |
jozee@2674 | 22 # Rules to configure and make the package. |
jozee@2674 | 23 compile_rules() |
jozee@2674 | 24 { |
jozee@2674 | 25 cd $src |
domcox@14023 | 26 ./configure \ |
domcox@14023 | 27 --prefix=/usr \ |
domcox@14023 | 28 --sysconfdir=/etc \ |
domcox@14023 | 29 --localstatedir=/var \ |
domcox@14023 | 30 --disable-static \ |
domcox@14023 | 31 --disable-debug \ |
domcox@14023 | 32 --with-package-name="GStreamer Ugly Plugins ($SERIES)" \ |
domcox@14023 | 33 --with-package-origin="http://www.slitaz.org/" \ |
pascal@14047 | 34 $CONFIGURE_ARGS | grep -Ev "set ERROR_C" && |
pascal@14048 | 35 make $MAKEFLAGS 2>&1 | grep -v /usr/local/include && |
gokhlayeh@11573 | 36 make install |
jozee@2674 | 37 } |
jozee@2674 | 38 |
jozee@2674 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 40 genpkg_rules() |
jozee@2674 | 41 { |
domcox@14023 | 42 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale |
domcox@14023 | 43 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES |
domcox@14023 | 44 mv $install/usr/share/gstreamer-$SERIES $fs/usr/share |
domcox@14023 | 45 for locale in $LOCALES; do |
domcox@14023 | 46 mv $install/usr/share/locale/$locale $fs/usr/share/locale |
domcox@14023 | 47 done |
jozee@2674 | 48 } |