wok annotate gst-plugins-base/receipt @ rev 24555

updated flashrom (1.1 -> 1.2)
author Hans-G?nter Theisgen
date Fri Feb 25 13:37:18 2022 +0100 (2022-02-25)
parents 3cdc90c472a2
children
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gst-plugins-base"
domcox@14017 4 VERSION="0.10.36"
pascal@24111 5 SERIES="${VERSION%.*}" # first two numbers from version
jozee@2674 6 CATEGORY="multimedia"
jozee@2674 7 SHORT_DESC="GStreamer Base Plugins"
jozee@2674 8 MAINTAINER="jozee@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
pascal@14035 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20669 11 WEB_SITE="https://gstreamer.freedesktop.org/"
pascal@14035 12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
pankso@16236 13 #HOST_ARCH="i486 arm"
pankso@16236 14
pascal@14035 15 LOCALES="da de es fr id it pt_BR ru zh_CN"
psychomaniak@19166 16 DEPENDS="gstreamer pango alsa-lib libogg libvorbis vorbis-tools udev \
pascal@23601 17 xorg-libXv xorg-libXvMC cdparanoia-III orc libtheora-enc"
pankso@16236 18 BUILD_DEPENDS="gstreamer-dev pango-dev alsa-lib-dev libogg-dev \
pankso@16236 19 libtheora-dev libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev \
pankso@16236 20 xorg-libXvMC-dev util-linux-uuid-dev"
pascal@14035 21
pankso@16236 22 # Handle cross compilation
pankso@16236 23 case "$ARCH" in
pankso@16236 24 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev orc-dev \
pankso@16236 25 gobject-introspection-dev xorg-dev" ;;
pankso@16236 26 esac
jozee@2674 27
pascal@24070 28 current_version()
pascal@24070 29 {
pascal@24070 30 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
pascal@24070 31 sed /$PACKAGE'-0/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
pascal@24070 32 }
pascal@24070 33
jozee@2674 34 # Rules to configure and make the package.
jozee@2674 35 compile_rules()
jozee@2674 36 {
pascal@23598 37 find | grep Makefile | xargs sed 's|\\n\\#inc|\\n#inc|' -i common/gst-glib-gen.mak
pascal@16238 38 case "$ARCH" in
pascal@16238 39 i?86) ;;
pascal@17670 40 *) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" ;;
pascal@16238 41 esac
pankso@10378 42 ./configure \
pankso@10378 43 --prefix=/usr \
pankso@10378 44 --sysconfdir=/etc \
pankso@10378 45 --localstatedir=/var \
pankso@10378 46 --enable-experimental \
domcox@14017 47 --disable-static \
domcox@14017 48 --disable-debug \
domcox@14017 49 --disable-gnome_vfs \
domcox@14017 50 --with-package-name="GStreamer Base Plugins ($SERIES)" \
domcox@14017 51 --with-package-origin="http://www.slitaz.org/" \
pascal@15265 52 $CONFIGURE_ARGS &&
domcox@14017 53 make $MAKEFLAGS && make install
domcox@14017 54
jozee@2674 55 }
jozee@2674 56
jozee@2674 57 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 58 genpkg_rules()
jozee@2674 59 {
domcox@14017 60 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
domcox@14017 61 mv $install/usr/bin $fs/usr
domcox@14017 62 mv $install/usr/lib/*.so* $fs/usr/lib
domcox@14017 63 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
psychomaniak@19130 64 # mv $install/usr/lib/girepository-1.0 $fs/usr/lib
psychomaniak@19130 65 # for locale in $LOCALES; do
psychomaniak@19130 66 # mv $install/usr/share/locale/$locale $fs/usr/share/locale
psychomaniak@19130 67 # done
jozee@2674 68 }