wok diff gst-plugins-base-1.0/receipt @ rev 17389
ncurses: depends on libtinfo & libtic
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 12:56:33 2014 +0100 (2014-11-27) |
parents | 49e603db63f8 |
children | b30300e0cb6a |
line diff
1.1 --- a/gst-plugins-base-1.0/receipt Fri Apr 18 21:13:58 2014 +0200 1.2 +++ b/gst-plugins-base-1.0/receipt Thu Nov 27 12:56:33 2014 +0100 1.3 @@ -5,23 +5,36 @@ 1.4 SERIES="1.0" 1.5 CATEGORY="multimedia" 1.6 SHORT_DESC="GStreamer Base Plugins" 1.7 -MAINTAINER="jozee@slitaz.org" 1.8 +MAINTAINER="pankso@slitaz.org" 1.9 LICENSE="GPL2" 1.10 SOURCE="gst-plugins-base" 1.11 TARBALL="$SOURCE-$VERSION.tar.xz" 1.12 WEB_SITE="http://gstreamer.freedesktop.org/" 1.13 WGET_URL="${WEB_SITE}src/gst-plugins-base/$TARBALL" 1.14 -LOCALES="da de es fr id it pt_BR ru zh_CN" 1.15 +HOST_ARCH="i486 arm" 1.16 1.17 DEPENDS="gstreamer-1.0 pango alsa-lib libogg libtheora libtheora-enc \ 1.18 -libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC cdparanoia-III orc" 1.19 +libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC orc" 1.20 BUILD_DEPENDS="gstreamer-1.0-dev pango-dev alsa-lib-dev libogg-dev \ 1.21 libtheora-dev libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev \ 1.22 -xorg-libXvMC-dev cdparanoia-III-dev orc-dev util-linux-uuid-dev" 1.23 +xorg-libXvMC-dev util-linux-uuid-dev orc-dev" 1.24 + 1.25 +# Arch install 1.26 +case "$SLITAZ_ARCH" in 1.27 + i?86) DEPENDS="$DEPENDS cdparanoia-III orc" ; 1.28 +esac 1.29 + 1.30 +# Cross compilation 1.31 +case "$ARCH" in 1.32 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev orc-dev" ; 1.33 +esac 1.34 1.35 # Rules to configure and make the package. 1.36 compile_rules() 1.37 { 1.38 + sysroot="/cross/arm/sysroot" 1.39 + libs="/usr/lib" 1.40 + incl="/usr/include" 1.41 ./configure \ 1.42 --prefix=/usr \ 1.43 --sysconfdir=/etc \ 1.44 @@ -29,13 +42,13 @@ 1.45 --enable-experimental \ 1.46 --disable-static \ 1.47 --disable-debug \ 1.48 - --disable-gnome_vfs \ 1.49 + --disable-gnome-vfs \ 1.50 + --disable-libvisual \ 1.51 --enable-introspection=no \ 1.52 --with-package-name="GStreamer Base Plugins ($SERIES)" \ 1.53 --with-package-origin="http://www.slitaz.org/" \ 1.54 $CONFIGURE_ARGS && 1.55 make $MAKEFLAGS && make install 1.56 - 1.57 } 1.58 1.59 # Rules to gen a SliTaz package suitable for Tazpkg. 1.60 @@ -45,7 +58,4 @@ 1.61 mv $install/usr/bin $fs/usr 1.62 mv $install/usr/lib/*.so* $fs/usr/lib 1.63 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES 1.64 - for locale in $LOCALES; do 1.65 - mv $install/usr/share/locale/$locale $fs/usr/share/locale 1.66 - done 1.67 }