wok-6.x view gstreamer-1.0/receipt @ rev 18414
Add pyhn
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Sep 20 16:19:24 2015 +0100 (2015-09-20) |
parents | c9e627fb5d1e |
children | b30300e0cb6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="gstreamer-1.0"
4 VERSION="1.2.3"
5 SERIES="1.0"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Multimedia Framework"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL2"
10 SOURCE="gstreamer"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WEB_SITE="http://gstreamer.freedesktop.org/"
13 WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL"
14 HOST_ARCH="i486 arm"
16 DEPENDS="glib libgio libxml2"
17 BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config"
19 # Handle cross compilation
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS python-dev valgrind bison flex" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --libexecdir=/usr/lib \
31 --enable-silent-rules \
32 --disable-static \
33 --disable-examples \
34 --disable-debug \
35 --enable-introspection=no \
36 --with-package-name="GStreamer ($SERIES)" \
37 --with-package-origin="http://www.slitaz.org/" \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS && make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
46 mv $install/usr/bin/*-$SERIES $fs/usr/bin
47 mv $install/usr/lib/*.so* $fs/usr/lib
48 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
49 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
50 for locale in $LOCALES; do
51 mv $install/usr/share/locale/$locale $fs/usr/share/locale
52 done
53 }