wok-current view gst-plugins-base-1.0/receipt @ rev 24357

updated bacon (3.9.3 -> 4.4)
author Hans-G?nter Theisgen
date Thu Feb 03 16:37:54 2022 +0100 (2022-02-03)
parents 6831608a1b2a
children a23978bfa665
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-base-1.0"
4 VERSION="1.16.2"
5 SERIES="1.0"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Base Plugins."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://gstreamer.freedesktop.org/"
12 SOURCE="gst-plugins-base"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 WGET_URL="${WEB_SITE}src/gst-plugins-base/$TARBALL"
16 DEPENDS="alsa-lib gstreamer-1.0 libogg libtheora libtheora-enc
17 libvorbis opus orc pango udev vorbis-tools xorg xorg-libXv
18 xorg-libXvMC"
19 BUILD_DEPENDS="alsa-lib-dev automake gstreamer-1.0-dev libogg-dev libtheora-dev
20 libtheora-enc libvorbis-dev opus-dev orc-dev pango-dev udev-dev
21 util-linux-uuid-dev xorg-libXv-dev xorg-libXvMC-dev"
23 HOST_ARCH="i486 arm"
25 # Arch install
26 case "$SLITAZ_ARCH" in
27 i?86) DEPENDS="$DEPENDS cdparanoia-III orc" ;
28 esac
30 # Cross compilation
31 case "$ARCH" in
32 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev orc-dev" ;
33 esac
35 current_version()
36 {
37 wget -O - https://gstreamer.freedesktop.org/src/${PACKAGE%-1.0}/ 2>/dev/null | \
38 sed '/tar/!d;s|.*'${PACKAGE%-1.0}'-||;s|.tar.*||' | sed '$!d'
39 }
41 # Rules to configure and make the package.
42 compile_rules()
43 {
44 sysroot="/cross/arm/sysroot"
45 libs="/usr/lib"
46 incl="/usr/include"
47 sed -i '/set ERROR_C/d' configure
48 grep -rl '\\n\\#include' . | xargs sed -i 's|\\n\\#include|\\n#include|'
50 ./configure \
51 --prefix=/usr \
52 --sysconfdir=/etc \
53 --localstatedir=/var \
54 --enable-experimental \
55 --disable-static \
56 --disable-debug \
57 --disable-gnome-vfs \
58 --disable-libvisual \
59 --disable-vorbisidec \
60 --enable-introspection=no \
61 --with-package-name="GStreamer Base Plugins ($SERIES)" \
62 --with-package-origin="http://www.slitaz.org/" \
63 $CONFIGURE_ARGS | grep -v 'vorbisidec' &&
64 make $MAKEFLAGS &&
65 make install 2>/dev/null
66 }
68 # Rules to gen a SliTaz package suitable for Tazpkg.
69 genpkg_rules()
70 {
71 mkdir -p $fs/usr/lib/gstreamer-$SERIES
72 mkdir -p $fs/usr/share/locale
74 mv $install/usr/bin $fs/usr
75 mv $install/usr/lib/*.so* $fs/usr/lib
76 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
77 }