wok annotate gst-plugins-good-1.0/receipt @ rev 25564

Up memtest (6.20)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 11 15:58:49 2023 +0000 (18 months ago)
parents 79bb59125067
children
rev   line source
psychomaniak@19519 1 # SliTaz package receipt.
psychomaniak@19519 2
psychomaniak@19519 3 PACKAGE="gst-plugins-good-1.0"
Hans-G?nter@22889 4 VERSION="1.16.2"
psychomaniak@19519 5 SERIES="1.0"
psychomaniak@19519 6 CATEGORY="multimedia"
Hans-G?nter@22889 7 SHORT_DESC="GStreamer Base Plugins."
psychomaniak@19519 8 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@19519 9 LICENSE="GPL2"
Hans-G?nter@22889 10 WEB_SITE="https://gstreamer.freedesktop.org/"
Hans-G?nter@22889 11
psychomaniak@19519 12 SOURCE="gst-plugins-good"
psychomaniak@19519 13 TARBALL="$SOURCE-$VERSION.tar.xz"
psychomaniak@19519 14 WGET_URL="${WEB_SITE}src/$SOURCE/$TARBALL"
psychomaniak@19519 15
Hans-G?nter@22889 16 DEPENDS="alsa-lib gstreamer-1.0 jpeg mpg123 pango"
Hans-G?nter@22889 17 BUILD_DEPENDS="gst-plugins-base-1.0-dev gstreamer-1.0-dev
Hans-G?nter@22889 18 jpeg-dev mpg123-dev"
psychomaniak@19519 19
pascal@24070 20 current_version()
pascal@24070 21 {
pascal@24070 22 wget -O - https://gstreamer.freedesktop.org/src/${PACKAGE%-1.0}/ 2>/dev/null | \
pascal@24070 23 sed '/tar/!d;s|.*'${PACKAGE%-1.0}'-||;s|.tar.*||' | sed '$!d'
pascal@24070 24 }
pascal@24070 25
psychomaniak@19519 26 # Rules to configure and make the package.
psychomaniak@19519 27 compile_rules()
psychomaniak@19519 28 {
Hans-G?nter@22889 29 sed -i '/set ERROR_C/d' configure
Hans-G?nter@22889 30 sed -i '/set ERROR_OBJC/d' configure
Hans-G?nter@22889 31
Hans-G?nter@22889 32 ./configure \
Hans-G?nter@22889 33 --prefix=/usr \
Hans-G?nter@22889 34 --sysconfdir=/etc \
Hans-G?nter@22889 35 --localstatedir=/var \
Hans-G?nter@22889 36 --enable-experimental \
Hans-G?nter@22889 37 --disable-static \
Hans-G?nter@22889 38 --disable-debug \
Hans-G?nter@22889 39 --disable-libvisual \
Hans-G?nter@22889 40 --enable-introspection=no \
Hans-G?nter@22889 41 --with-package-name="GStreamer Base Plugins ($SERIES)" \
Hans-G?nter@22889 42 --with-package-origin="http://www.slitaz.org/" \
psychomaniak@19519 43 $CONFIGURE_ARGS | grep -v 'No package' &&
Hans-G?nter@22889 44 make $MAKEFLAGS &&
Hans-G?nter@22889 45 make install 2>/dev/null
psychomaniak@19519 46 }
psychomaniak@19519 47
psychomaniak@19519 48 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@19519 49 genpkg_rules()
psychomaniak@19519 50 {
Hans-G?nter@22889 51 mkdir -p $fs/usr/lib/gstreamer-$SERIES
Hans-G?nter@22889 52 # mkdir -p $fs/usr/share/locale
Hans-G?nter@22889 53 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
psychomaniak@19519 54 }