void-packages/srcpkgs/gstreamer1/template

44 lines
1.3 KiB
Plaintext
Raw Normal View History

2012-09-25 11:34:12 +02:00
# Template file for 'gstreamer1'.
pkgname=gstreamer1
2014-11-09 20:29:47 +01:00
version=1:1.4.4
2014-09-01 09:07:48 +02:00
revision=1
2013-08-30 11:11:29 +02:00
wrksrc="gstreamer-${version#*:}"
2012-09-25 11:34:12 +02:00
build_style=gnu-configure
configure_args="--disable-valgrind --enable-docbook
2014-09-01 09:07:48 +02:00
--with-package-origin=http://www.voidlinux.eu $(vopt_enable gir introspection)"
2014-09-22 11:01:49 +02:00
hostmakedepends="automake gettext-devel libtool pkg-config flex python docbook-xsl glib-devel"
2014-09-01 09:07:48 +02:00
makedepends="libxml2-devel libglib-devel $(vopt_if gir gobject-introspection)"
2012-09-25 11:34:12 +02:00
short_desc="Core GStreamer libraries and elements (1.x)"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-09-25 11:34:12 +02:00
homepage="http://gstreamer.freedesktop.org/"
update_pkgname="gstreamer"
2012-09-25 11:34:12 +02:00
license="LGPL-2.1"
2013-08-30 11:11:29 +02:00
distfiles="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${version#*:}.tar.xz"
2014-11-09 20:29:47 +01:00
checksum=f0e305d91a93d05bf9e332cd4256ca07d77f5186a4d73847b7ae6db218f2c237
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
2014-09-22 11:01:49 +02:00
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
gstreamer1-devel_package() {
depends="libxml2-devel libglib-devel ${sourcepkg}>=${version}_${revision}"
2013-06-06 16:05:02 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-08-30 11:11:29 +02:00
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
vmove usr/share/aclocal
if [ "$build_option_gir" ]; then
vmove "usr/share/gir*"
fi
}
}