Receipt for package "gstreamer"
# SliTaz package receipt. PACKAGE="gstreamer" VERSION="0.10.36" SERIES="${VERSION%.*}" # first two numbers from version CATEGORY="multimedia" SHORT_DESC="GStreamer Multimedia Framework" MAINTAINER="jozee@slitaz.org" LICENSE="LGPL2" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="https://gstreamer.freedesktop.org/" WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" HOST_ARCH="i486 arm x86_64" LOCALES="da de es fr id it pt_BR ru zh_CN" DEPENDS="glib libgio libxml2" BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev" # Handle cross compilation case "$ARCH" in i?86|x86_64) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev \ python-dev bison flex m4 valgrind" origin="http://www.slitaz.org" ;; arm*) origin="http://arm.slitaz.org" esac current_version() { wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \ sed /$PACKAGE'-0/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d' } # Rules to configure and make the package. compile_rules() { # YYLEX_PARAM is no longer supported in Bison 3 sed -i "/YYLEX_PARAM/d;s|%left '!.*|&\\n%lex-param { void *scanner }|" \ gst/parse/grammar.y ./configure \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib \ --enable-silent-rules \ --disable-static \ --disable-examples \ --disable-debug \ --with-package-name="GStreamer ($SERIES)" \ --with-package-origin="$origin" \ $CONFIGURE_ARGS && make $MAKEFLAGS && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale cp -a $install/usr/bin/*-$SERIES $fs/usr/bin cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES cp -a $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES # for locale in $LOCALES; do # mv $install/usr/share/locale/$locale $fs/usr/share/locale # done }
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)