wok view gst-plugins-base/receipt @ rev 23784

updated xvkbd (3.7 -> 4.1)
author Hans-G?nter Theisgen
date Thu May 21 14:49:06 2020 +0100 (2020-05-21)
parents 5ba5534362b6
children 3cdc90c472a2
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-base"
4 VERSION="0.10.36"
5 SERIES="0.10"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Base Plugins"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WEB_SITE="https://gstreamer.freedesktop.org/"
12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
13 #HOST_ARCH="i486 arm"
15 LOCALES="da de es fr id it pt_BR ru zh_CN"
16 DEPENDS="gstreamer pango alsa-lib libogg libvorbis vorbis-tools udev \
17 xorg-libXv xorg-libXvMC cdparanoia-III orc libtheora-enc"
18 BUILD_DEPENDS="gstreamer-dev pango-dev alsa-lib-dev libogg-dev \
19 libtheora-dev libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev \
20 xorg-libXvMC-dev util-linux-uuid-dev"
22 # Handle cross compilation
23 case "$ARCH" in
24 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev orc-dev \
25 gobject-introspection-dev xorg-dev" ;;
26 esac
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 find | grep Makefile | xargs sed 's|\\n\\#inc|\\n#inc|' -i common/gst-glib-gen.mak
32 case "$ARCH" in
33 i?86) ;;
34 *) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" ;;
35 esac
36 ./configure \
37 --prefix=/usr \
38 --sysconfdir=/etc \
39 --localstatedir=/var \
40 --enable-experimental \
41 --disable-static \
42 --disable-debug \
43 --disable-gnome_vfs \
44 --with-package-name="GStreamer Base Plugins ($SERIES)" \
45 --with-package-origin="http://www.slitaz.org/" \
46 $CONFIGURE_ARGS &&
47 make $MAKEFLAGS && make install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
55 mv $install/usr/bin $fs/usr
56 mv $install/usr/lib/*.so* $fs/usr/lib
57 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
58 # mv $install/usr/lib/girepository-1.0 $fs/usr/lib
59 # for locale in $LOCALES; do
60 # mv $install/usr/share/locale/$locale $fs/usr/share/locale
61 # done
62 }