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