wok-next view gst0-plugins-base/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | d3444352a0af |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gst0-plugins-base"
4 VERSION="0.10.36"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer-0.10 Base Plugins"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://gstreamer.freedesktop.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/7.6/multimedia/gst-plugins-base.html"
12 TARBALL="gst-plugins-base-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/gst-plugins-base/0.10/$TARBALL"
15 BUILD_DEPENDS_arm="gstreamer0-dev pango-dev alsa-lib-dev libogg-dev \
16 libtheora-dev libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev \
17 xorg-libXvMC-dev util-linux-uuid-dev"
18 BUILD_DEPENDS="gstreamer0-dev pango-dev alsa-lib-dev libogg-dev libtheora-dev \
19 libtheora-enc libvorbis-dev eudev-dev xorg-libXv-dev xorg-libXvMC-dev \
20 util-linux-uuid-dev cdparanoia-III-dev orc-dev gobject-introspection-dev \
21 xorg-dev gettext"
22 SPLIT="gst0-plugins-base-dev"
24 compile_rules() {
25 case "$ARCH" in
26 arm*) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" ;;
27 esac
28 ./configure \
29 --enable-experimental \
30 --disable-static \
31 --disable-debug \
32 --disable-gnome_vfs \
33 --with-package-name="$SHORT_DESC" \
34 --with-package-origin="http://www.slitaz.org/" \
35 $CONFIGURE_ARGS &&
36 fix libtool &&
37 make $MAKEFLAGS &&
38 make install
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 *-base)
44 copy @std
45 DEPENDS="alsa-lib cairo cdparanoia-III glib gstreamer0 libogg \
46 libtheora-enc libvorbis libxml2 orc pango xorg-libICE xorg-libSM \
47 xorg-libX11 xorg-libXext xorg-libXv zlib"
48 ;;
49 *-dev)
50 copy @dev
51 DEPENDS="gst0-plugins-base alsa-lib-dev bzip2-dev cairo-dev \
52 cdparanoia-III fontconfig-dev freetype-dev glib-dev gstreamer0-dev \
53 harfbuzz-dev libffi-dev libogg-dev libpng16-dev libtheora-dev \
54 libvorbis-dev libxml2-dev orc-dev pango-dev pcre-dev \
55 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
56 xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev \
57 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
58 xorg-libXv-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
59 ;;
60 esac
61 }