2008-10-28 15:17:02 +00:00
|
|
|
# Template file for 'gstreamer'.
|
2008-10-28 11:45:30 +00:00
|
|
|
pkgname=gstreamer
|
2012-02-22 20:05:12 +00:00
|
|
|
version=0.10.36
|
2015-08-06 06:22:09 +00:00
|
|
|
revision=7
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2015-08-06 06:22:09 +00:00
|
|
|
configure_args="--disable-valgrind --enable-docbook $(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="libtool pkg-config flex python perl docbook-xsl glib-devel $(vopt_if gir gobject-introspection)"
|
2013-11-27 09:45:22 +00:00
|
|
|
makedepends="libxml2-devel libglib-devel"
|
2008-10-28 11:45:30 +00:00
|
|
|
short_desc="Core GStreamer libraries and elements"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-08-27 15:18:41 +00:00
|
|
|
homepage="http://gstreamer.freedesktop.org/"
|
|
|
|
license="LGPL-2.1"
|
2013-04-12 13:11:12 +00:00
|
|
|
distfiles="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$version.tar.xz"
|
2012-02-22 20:05:12 +00:00
|
|
|
checksum=9151aa108c177054387885763fa0e433e76780f7c5655c70a5390f2a6c6871da
|
2008-10-28 11:45:30 +00:00
|
|
|
|
2013-11-27 09:45:22 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
|
|
|
}
|
|
|
|
|
2013-04-12 13:11:12 +00:00
|
|
|
gstreamer-devel_package() {
|
2015-08-06 06:22:09 +00:00
|
|
|
depends="${makedepends} gstreamer>=${version}_${revision}"
|
2013-04-12 13:11:12 +00:00
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-11-27 09:45:22 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:11:12 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/aclocal
|
2013-11-27 09:45:22 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 13:11:12 +00:00
|
|
|
}
|
|
|
|
}
|