wok annotate gst-plugins-good/receipt @ rev 24976

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 06 11:04:25 2022 +0000 (2022-05-06)
parents 9258333ebe34
children
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gst-plugins-good"
domcox@14019 4 VERSION="0.10.31"
pascal@24111 5 SERIES="${VERSION%.*}" # first two numbers from version
jozee@2674 6 CATEGORY="multimedia"
jozee@2674 7 SHORT_DESC="GStreamer Good Plugins"
jozee@2674 8 MAINTAINER="jozee@slitaz.org"
pascal@14996 9 LICENSE="LGPL2.1"
psychomaniak@19130 10 SUGGESTED="jack-audio-connection-kit gst-plugins-good-extra"
domcox@14019 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20669 12 WEB_SITE="https://gstreamer.freedesktop.org/"
slaxemulator@10117 13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
al@16691 14 LOCALES="cs da de el es fr hu id it pl pt_BR ru sl sv zh_CN zh_TW"
slaxemulator@10117 15
psychomaniak@19130 16 DEPENDS="gst-plugins-base cairo flac libjpeg libpng speex bzip2"
psychomaniak@19132 17 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev sqlite-dev \
psychomaniak@19132 18 cairo-dev flac-dev jpeg-dev libpng-dev libshout-dev \
psychomaniak@19132 19 libsoup-dev jack-audio-connection-kit-dev libcdio-dev \
pascal@15633 20 libdv-dev speex-dev taglib-dev wavpack-dev bzip2-dev util-linux-uuid-dev"
jozee@2674 21
pascal@24070 22 current_version()
pascal@24070 23 {
pascal@24070 24 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
pascal@24070 25 sed /$PACKAGE'-0/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
pascal@24070 26 }
pascal@24070 27
jozee@2674 28 # Rules to configure and make the package.
jozee@2674 29 compile_rules()
jozee@2674 30 {
pascal@24078 31 grep -rl '\\n\\#include' . | xargs sed -i 's|\\n\\#include|\\n#include|'
pascal@20600 32 sed -i 's|.*vbuffer.input|// &|' sys/v4l2/gstv4l2bufferpool.c
pascal@20600 33 sed -i '/e V4L2_CID_.CENTER/d' sys/v4l2/v4l2_calls.c
jozee@2674 34 ./configure \
domcox@14019 35 --prefix=/usr \
domcox@14019 36 --sysconfdir=/etc \
domcox@14019 37 --localstatedir=/var \
domcox@14019 38 --enable-experimental \
domcox@14019 39 --disable-static \
domcox@14019 40 --disable-debug \
domcox@14019 41 --disable-hal \
domcox@14019 42 --disable-esd \
domcox@14019 43 --with-package-name="GStreamer Good Plugins ($SERIES)" \
domcox@14019 44 --with-package-origin="http://www.slitaz.org/" \
pascal@15265 45 $CONFIGURE_ARGS &&
gokhlayeh@11574 46 make $MAKEFLAGS &&
domcox@14019 47 make install
jozee@2674 48 }
jozee@2674 49
jozee@2674 50 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 51 genpkg_rules()
jozee@2674 52 {
al@16691 53 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
al@16691 54 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
al@16691 55 cp -a $install/usr/share/gstreamer* $fs/usr/share
psychomaniak@19130 56 # for locale in $LOCALES; do
psychomaniak@19130 57 # cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
psychomaniak@19130 58 # done
psychomaniak@19166 59 for i in dv jack shout2 souphttpsrc taglib wavpack rtp rtpmanager rtsp deinterlace video4linux2; do
psychomaniak@19130 60 rm -f $fs/usr/lib/gstreamer-$SERIES/libgst${i}.so
domcox@14019 61 done
jozee@2674 62 }