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