wok-current annotate gst-plugins-ugly/receipt @ rev 24206
updated perl-fcgi (0.79 -> 0.82)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:35:08 2021 +0100 (2021-12-31) |
parents | 3cdc90c472a2 |
children | 5926178cd6fa |
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" |
pascal@24111 | 5 SERIES="${VERSION%.*}" # first two numbers from version |
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" |
pascal@20669 | 12 WEB_SITE="https://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 |
pascal@24070 | 21 current_version() |
pascal@24070 | 22 { |
pascal@24070 | 23 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \ |
pascal@24070 | 24 sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d' |
pascal@24070 | 25 } |
pascal@24070 | 26 |
jozee@2674 | 27 # Rules to configure and make the package. |
jozee@2674 | 28 compile_rules() |
jozee@2674 | 29 { |
pascal@21405 | 30 patch -p0 < $stuff/libcdio.u |
domcox@14023 | 31 ./configure \ |
domcox@14023 | 32 --prefix=/usr \ |
domcox@14023 | 33 --sysconfdir=/etc \ |
domcox@14023 | 34 --localstatedir=/var \ |
domcox@14023 | 35 --disable-static \ |
domcox@14023 | 36 --disable-debug \ |
domcox@14023 | 37 --with-package-name="GStreamer Ugly Plugins ($SERIES)" \ |
domcox@14023 | 38 --with-package-origin="http://www.slitaz.org/" \ |
pascal@15265 | 39 $CONFIGURE_ARGS && |
pascal@14048 | 40 make $MAKEFLAGS 2>&1 | grep -v /usr/local/include && |
gokhlayeh@11573 | 41 make install |
jozee@2674 | 42 } |
jozee@2674 | 43 |
jozee@2674 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 45 genpkg_rules() |
jozee@2674 | 46 { |
domcox@14023 | 47 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale |
domcox@14023 | 48 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES |
domcox@14023 | 49 mv $install/usr/share/gstreamer-$SERIES $fs/usr/share |
domcox@14023 | 50 for locale in $LOCALES; do |
domcox@14023 | 51 mv $install/usr/share/locale/$locale $fs/usr/share/locale |
domcox@14023 | 52 done |
jozee@2674 | 53 } |