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

Update slitaz-i18n for gnumeric
author Stanislas Leduc <shann@slitaz.org>
date Tue Jun 18 11:25:19 2024 +0000 (4 months ago)
parents 3cdc90c472a2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-ugly"
4 VERSION="0.10.19"
5 SERIES="${VERSION%.*}" # first two numbers from version
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Ugly Plugins"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="LGPL2.1"
10 SUGGESTED="x264"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WEB_SITE="https://gstreamer.freedesktop.org/"
13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
14 LOCALES="da de es fr id it pt_BR ru zh_CN"
16 DEPENDS="gst-plugins-base lame libdvdread
17 libcdio libmad libmpeg2 opencore-amr"
18 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev lame-dev libdvdread-dev
19 libcdio-dev libmad-dev libmpeg2-dev x264-dev"
21 current_version()
22 {
23 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
24 sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 patch -p0 < $stuff/libcdio.u
31 ./configure \
32 --prefix=/usr \
33 --sysconfdir=/etc \
34 --localstatedir=/var \
35 --disable-static \
36 --disable-debug \
37 --with-package-name="GStreamer Ugly Plugins ($SERIES)" \
38 --with-package-origin="http://www.slitaz.org/" \
39 $CONFIGURE_ARGS &&
40 make $MAKEFLAGS 2>&1 | grep -v /usr/local/include &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
48 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
49 mv $install/usr/share/gstreamer-$SERIES $fs/usr/share
50 for locale in $LOCALES; do
51 mv $install/usr/share/locale/$locale $fs/usr/share/locale
52 done
53 }