wok-current annotate gst-plugins-base/receipt @ rev 19166

gst-plugins-good: move more files to extra pkg
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun May 29 00:06:26 2016 +0200 (2016-05-29)
parents b6a74775afd4
children a78610b2eb47
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"
domcox@14017 5 SERIES="0.10"
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@14035 11 WEB_SITE="http://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 \
psychomaniak@19166 17 xorg-libXv xorg-libXvMC cdparanoia-III orc" # libtheora 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
jozee@2674 28 # Rules to configure and make the package.
jozee@2674 29 compile_rules()
jozee@2674 30 {
pascal@16238 31 case "$ARCH" in
pascal@16238 32 i?86) ;;
pascal@17670 33 *) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" ;;
pascal@16238 34 esac
pankso@10378 35 ./configure \
pankso@10378 36 --prefix=/usr \
pankso@10378 37 --sysconfdir=/etc \
pankso@10378 38 --localstatedir=/var \
pankso@10378 39 --enable-experimental \
domcox@14017 40 --disable-static \
domcox@14017 41 --disable-debug \
domcox@14017 42 --disable-gnome_vfs \
domcox@14017 43 --with-package-name="GStreamer Base Plugins ($SERIES)" \
domcox@14017 44 --with-package-origin="http://www.slitaz.org/" \
pascal@15265 45 $CONFIGURE_ARGS &&
domcox@14017 46 make $MAKEFLAGS && make install
domcox@14017 47
jozee@2674 48 }
jozee@2674 49
jozee@2674 50 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 51 genpkg_rules()
jozee@2674 52 {
domcox@14017 53 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
domcox@14017 54 mv $install/usr/bin $fs/usr
domcox@14017 55 mv $install/usr/lib/*.so* $fs/usr/lib
domcox@14017 56 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
psychomaniak@19130 57 # mv $install/usr/lib/girepository-1.0 $fs/usr/lib
psychomaniak@19130 58 # for locale in $LOCALES; do
psychomaniak@19130 59 # mv $install/usr/share/locale/$locale $fs/usr/share/locale
psychomaniak@19130 60 # done
jozee@2674 61 }