wok-current view gst-libav/receipt @ rev 25442
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 16:30:36 2022 +0000 (2022-09-02) |
parents | 6831608a1b2a |
children | 5926178cd6fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-libav"
4 VERSION="1.16.2"
5 SERIES="1.0"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer 1.x libav/ffmpeg Plugin."
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="GPL2"
10 WEB_SITE="https://gstreamer.freedesktop.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
15 DEPENDS="bzip2 gst-plugins-base-1.0 gst-plugins-good-1.0"
16 BUILD_DEPENDS="bzip2-dev coreutils-file-format coreutils-file-special
17 glib-dev gst-plugins-base-1.0-dev gstreamer-1.0-dev gtk-doc
18 yasm"
20 current_version()
21 {
22 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
23 sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i '/set ERROR_C/d' configure
31 ./configure \
32 --prefix=/usr \
33 --disable-static \
34 --with-libav-extra-configure="--enable-runtime-cpudetect" \
35 --with-package-name="GStreamer libav Plugin ($SERIES)" \
36 --with-package-origin="http://www.slitaz.org/" \
37 $CONFIGURE_ARGS &&
38 make $MAKEFLAGS &&
39 make DESTDIR=$install install 2>/dev/null
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib/gstreamer-$SERIES
46 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
47 }