wok annotate gst-plugins-base-1.0/receipt @ rev 17991
fusecloop: fix realloc index size
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 23 15:42:00 2015 +0200 (2015-04-23) |
parents | 49e603db63f8 |
children | b30300e0cb6a |
rev | line source |
---|---|
pankso@16446 | 1 # SliTaz package receipt. |
pankso@16446 | 2 |
pankso@16446 | 3 PACKAGE="gst-plugins-base-1.0" |
pankso@16446 | 4 VERSION="1.2.3" |
pankso@16446 | 5 SERIES="1.0" |
pankso@16446 | 6 CATEGORY="multimedia" |
pankso@16446 | 7 SHORT_DESC="GStreamer Base Plugins" |
pankso@16465 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@16446 | 9 LICENSE="GPL2" |
pankso@16446 | 10 SOURCE="gst-plugins-base" |
pankso@16446 | 11 TARBALL="$SOURCE-$VERSION.tar.xz" |
pankso@16446 | 12 WEB_SITE="http://gstreamer.freedesktop.org/" |
pankso@16446 | 13 WGET_URL="${WEB_SITE}src/gst-plugins-base/$TARBALL" |
pankso@16465 | 14 HOST_ARCH="i486 arm" |
pankso@16446 | 15 |
pankso@16446 | 16 DEPENDS="gstreamer-1.0 pango alsa-lib libogg libtheora libtheora-enc \ |
pankso@16465 | 17 libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC orc" |
pankso@16446 | 18 BUILD_DEPENDS="gstreamer-1.0-dev pango-dev alsa-lib-dev libogg-dev \ |
pankso@16446 | 19 libtheora-dev libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev \ |
pankso@16465 | 20 xorg-libXvMC-dev util-linux-uuid-dev orc-dev" |
pankso@16465 | 21 |
pankso@16465 | 22 # Arch install |
pankso@16465 | 23 case "$SLITAZ_ARCH" in |
pankso@16465 | 24 i?86) DEPENDS="$DEPENDS cdparanoia-III orc" ; |
pankso@16465 | 25 esac |
pankso@16465 | 26 |
pankso@16465 | 27 # Cross compilation |
pankso@16465 | 28 case "$ARCH" in |
pankso@16465 | 29 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev orc-dev" ; |
pankso@16465 | 30 esac |
pankso@16446 | 31 |
pankso@16446 | 32 # Rules to configure and make the package. |
pankso@16446 | 33 compile_rules() |
pankso@16446 | 34 { |
pankso@16465 | 35 sysroot="/cross/arm/sysroot" |
pankso@16465 | 36 libs="/usr/lib" |
pankso@16465 | 37 incl="/usr/include" |
pankso@16446 | 38 ./configure \ |
pankso@16446 | 39 --prefix=/usr \ |
pankso@16446 | 40 --sysconfdir=/etc \ |
pankso@16446 | 41 --localstatedir=/var \ |
pankso@16446 | 42 --enable-experimental \ |
pankso@16446 | 43 --disable-static \ |
pankso@16446 | 44 --disable-debug \ |
pankso@16465 | 45 --disable-gnome-vfs \ |
pankso@16465 | 46 --disable-libvisual \ |
pankso@16446 | 47 --enable-introspection=no \ |
pankso@16446 | 48 --with-package-name="GStreamer Base Plugins ($SERIES)" \ |
pankso@16446 | 49 --with-package-origin="http://www.slitaz.org/" \ |
pankso@16446 | 50 $CONFIGURE_ARGS && |
pankso@16446 | 51 make $MAKEFLAGS && make install |
pankso@16446 | 52 } |
pankso@16446 | 53 |
pankso@16446 | 54 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16446 | 55 genpkg_rules() |
pankso@16446 | 56 { |
pankso@16446 | 57 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale |
pankso@16446 | 58 mv $install/usr/bin $fs/usr |
pankso@16446 | 59 mv $install/usr/lib/*.so* $fs/usr/lib |
pankso@16446 | 60 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES |
pankso@16446 | 61 } |