wok-6.x annotate gstreamer/receipt @ rev 21506
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 02 18:27:43 2019 +0200 (2019-05-02) |
parents | b6a74775afd4 |
children | df98a48adee2 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gstreamer" |
domcox@14015 | 4 VERSION="0.10.36" |
domcox@14015 | 5 SERIES="0.10" |
jozee@2674 | 6 CATEGORY="multimedia" |
jozee@2674 | 7 SHORT_DESC="GStreamer Multimedia Framework" |
jozee@2674 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15004 | 9 LICENSE="LGPL2" |
domcox@14015 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20669 | 11 WEB_SITE="https://gstreamer.freedesktop.org/" |
slaxemulator@6769 | 12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
pankso@16236 | 13 HOST_ARCH="i486 arm" |
pankso@16236 | 14 |
domcox@14015 | 15 LOCALES="da de es fr id it pt_BR ru zh_CN" |
pankso@16236 | 16 DEPENDS="glib libgio libxml2" |
pankso@16236 | 17 BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev" |
jozee@2674 | 18 |
pankso@16236 | 19 # Handle cross compilation |
pankso@16236 | 20 case "$ARCH" in |
pankso@16236 | 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev \ |
pankso@16236 | 22 python-dev bison flex m4 valgrind" |
pankso@16236 | 23 origin="http://www.slitaz.org" ;; |
pankso@16236 | 24 arm*) |
pankso@16236 | 25 origin="http://arm.slitaz.org" |
pankso@16236 | 26 esac |
domcox@14473 | 27 |
jozee@2674 | 28 # Rules to configure and make the package. |
jozee@2674 | 29 compile_rules() |
jozee@2674 | 30 { |
pankso@4068 | 31 ./configure \ |
pankso@4068 | 32 --sysconfdir=/etc \ |
pankso@4068 | 33 --localstatedir=/var \ |
slaxemulator@11184 | 34 --libexecdir=/usr/lib \ |
domcox@14473 | 35 --enable-silent-rules \ |
domcox@14015 | 36 --disable-static \ |
domcox@14015 | 37 --disable-examples \ |
domcox@14015 | 38 --disable-debug \ |
domcox@14015 | 39 --with-package-name="GStreamer ($SERIES)" \ |
pankso@16236 | 40 --with-package-origin="$origin" \ |
pascal@15265 | 41 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 42 make $MAKEFLAGS && make install |
jozee@2674 | 43 } |
jozee@2674 | 44 |
jozee@2674 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 46 genpkg_rules() |
jozee@2674 | 47 { |
domcox@14015 | 48 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale |
pankso@16236 | 49 cp -a $install/usr/bin/*-$SERIES $fs/usr/bin |
pankso@16236 | 50 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@16236 | 51 cp -a $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES |
pankso@16236 | 52 cp -a $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES |
psychomaniak@19130 | 53 # for locale in $LOCALES; do |
psychomaniak@19130 | 54 # mv $install/usr/share/locale/$locale $fs/usr/share/locale |
psychomaniak@19130 | 55 # done |
jozee@2674 | 56 } |