2008-10-28 16:17:02 +01:00
|
|
|
# Template file for 'gstreamer'.
|
2008-10-28 12:45:30 +01:00
|
|
|
pkgname=gstreamer
|
2012-02-22 21:05:12 +01:00
|
|
|
version=0.10.36
|
2013-11-27 10:45:22 +01:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-11-27 10:45:22 +01:00
|
|
|
configure_args="--disable-valgrind --enable-docbook"
|
|
|
|
hostmakedepends="libtool pkg-config flex python perl docbook-xsl glib-devel"
|
|
|
|
makedepends="libxml2-devel libglib-devel"
|
2008-10-28 12:45:30 +01:00
|
|
|
short_desc="Core GStreamer libraries and elements"
|
2011-05-18 16:10:13 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.org>"
|
2011-08-27 17:18:41 +02:00
|
|
|
homepage="http://gstreamer.freedesktop.org/"
|
|
|
|
license="LGPL-2.1"
|
2013-04-12 15:11:12 +02:00
|
|
|
distfiles="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$version.tar.xz"
|
2012-02-22 21:05:12 +01:00
|
|
|
checksum=9151aa108c177054387885763fa0e433e76780f7c5655c70a5390f2a6c6871da
|
2008-10-28 12:45:30 +01:00
|
|
|
long_desc="
|
2008-10-29 20:27:11 +01:00
|
|
|
GStreamer is a library for constructing of graphs of media-handling components.
|
|
|
|
The use cases it covers range from simple Ogg/Vorbis playback, audio/video
|
|
|
|
streaming to complex audio (mixing) and video (non-linear editing) processing.
|
2008-10-28 12:45:30 +01:00
|
|
|
|
2008-10-29 20:27:11 +01:00
|
|
|
Applications can take advantage of advances in codec and filter technology
|
|
|
|
transparently. Developers can add new codecs and filters by writing a simple
|
|
|
|
plugin with a clean, generic interface."
|
2008-10-28 12:45:30 +01:00
|
|
|
|
2013-11-27 10:45:22 +01:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
desc_option_gir="Enable support for building gobject introspection data"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
|
|
|
makedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
|
|
|
}
|
|
|
|
|
2013-04-12 15:11:12 +02:00
|
|
|
gstreamer-devel_package() {
|
2013-11-27 10:45:22 +01:00
|
|
|
depends="libxml2-devel glib-devel gstreamer>=${version}_${revision}"
|
2013-04-12 15:11:12 +02:00
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-11-27 10:45:22 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 15:11:12 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/aclocal
|
2013-11-27 10:45:22 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|