wok annotate gst-plugins-base-1.0/receipt @ rev 23739

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