void-packages/srcpkgs/gstreamer/template

51 lines
1.3 KiB
Text
Raw Normal View History

# Template file for 'gstreamer'.
pkgname=gstreamer
2012-02-22 20:05:12 +00:00
version=0.10.36
2014-02-20 08:55:34 +00:00
revision=3
build_style=gnu-configure
configure_args="--disable-valgrind --enable-docbook"
hostmakedepends="libtool pkg-config flex python perl docbook-xsl glib-devel"
makedepends="libxml2-devel libglib-devel"
short_desc="Core GStreamer libraries and elements"
2011-05-18 14:10:13 +00:00
maintainer="Juan RP <xtraeme@gmail.org>"
2011-08-27 15:18:41 +00:00
homepage="http://gstreamer.freedesktop.org/"
license="LGPL-2.1"
distfiles="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$version.tar.xz"
2012-02-22 20:05:12 +00:00
checksum=9151aa108c177054387885763fa0e433e76780f7c5655c70a5390f2a6c6871da
# 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
}
gstreamer-devel_package() {
depends="libxml2-devel glib-devel gstreamer>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove usr/share/aclocal
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}