wok-current view gst-plugins-base/receipt @ rev 25449
BootProg/boot32.asm: floppy chs support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 12 16:35:46 2022 +0000 (23 months ago) |
parents | 3cdc90c472a2 |
children | b43832555246 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-base"
4 VERSION="0.10.36"
5 SERIES="${VERSION%.*}" # first two numbers from version
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 current_version()
29 {
30 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
31 sed /$PACKAGE'-0/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
32 }
34 # Rules to configure and make the package.
35 compile_rules()
36 {
37 find | grep Makefile | xargs sed 's|\\n\\#inc|\\n#inc|' -i common/gst-glib-gen.mak
38 case "$ARCH" in
39 i?86) ;;
40 *) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" ;;
41 esac
42 ./configure \
43 --prefix=/usr \
44 --sysconfdir=/etc \
45 --localstatedir=/var \
46 --enable-experimental \
47 --disable-static \
48 --disable-debug \
49 --disable-gnome_vfs \
50 --with-package-name="GStreamer Base Plugins ($SERIES)" \
51 --with-package-origin="http://www.slitaz.org/" \
52 $CONFIGURE_ARGS &&
53 make $MAKEFLAGS && make install
55 }
57 # Rules to gen a SliTaz package suitable for Tazpkg.
58 genpkg_rules()
59 {
60 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
61 mv $install/usr/bin $fs/usr
62 mv $install/usr/lib/*.so* $fs/usr/lib
63 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
64 # mv $install/usr/lib/girepository-1.0 $fs/usr/lib
65 # for locale in $LOCALES; do
66 # mv $install/usr/share/locale/$locale $fs/usr/share/locale
67 # done
68 }