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