2009-05-15 17:02:31 +02:00
|
|
|
# Template file for 'gst-plugins-base'.
|
|
|
|
pkgname=gst-plugins-base
|
2012-02-22 21:14:27 +01:00
|
|
|
version=0.10.36
|
2013-12-17 22:44:28 +01:00
|
|
|
revision=5
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-12-17 22:34:17 +01:00
|
|
|
configure_args="
|
|
|
|
--with-gudev
|
|
|
|
--enable-experimental
|
|
|
|
--disable-gnome_vfs
|
|
|
|
--disable-ivorbis
|
|
|
|
--disable-static"
|
|
|
|
hostmakedepends="
|
|
|
|
automake
|
|
|
|
libtool
|
|
|
|
gettext-devel
|
|
|
|
glib-devel
|
2013-12-17 22:44:28 +01:00
|
|
|
gtk-doc
|
2013-12-17 22:34:17 +01:00
|
|
|
orc-devel
|
2013-12-17 22:44:28 +01:00
|
|
|
pkg-config
|
|
|
|
which"
|
2013-12-17 22:34:17 +01:00
|
|
|
makedepends="
|
|
|
|
alsa-lib-devel
|
|
|
|
gstreamer-devel
|
|
|
|
libgudev-devel
|
|
|
|
libtheora-devel
|
|
|
|
libvisual-devel
|
|
|
|
libvorbis-devel
|
|
|
|
libXv-devel
|
|
|
|
pango-devel
|
|
|
|
orc-devel"
|
2012-02-22 21:14:27 +01:00
|
|
|
short_desc="GStreamer Base Plug-ins"
|
2011-05-18 16:18:33 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.org>"
|
2011-08-27 17:27:03 +02:00
|
|
|
homepage="http://gstreamer.freedesktop.org/"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-10-10 14:43:16 +02:00
|
|
|
distfiles="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$version.tar.xz"
|
2012-02-22 21:14:27 +01:00
|
|
|
checksum=1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a
|
2009-05-15 17:02:31 +02:00
|
|
|
|
2013-12-17 22:34:17 +01:00
|
|
|
# Package build options
|
|
|
|
build_options="cdparanoia gir"
|
2013-12-17 22:37:55 +01:00
|
|
|
desc_option_cdparanoia="Enable support for CD audio (cdparanoia)"
|
2013-12-17 22:34:17 +01:00
|
|
|
desc_option_gir="Enable support for building gobject introspection data"
|
|
|
|
|
|
|
|
# Disable options for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="cdparanoia gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_cdparanoia" ]; then
|
|
|
|
configure_args+=" --enable-cdparanoia"
|
|
|
|
makedepends+=" cdparanoia-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-cdparanoia"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
|
|
|
makedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
2013-12-17 22:44:28 +01:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2013-12-17 22:34:17 +01:00
|
|
|
}
|
2013-04-12 15:11:12 +02:00
|
|
|
|
|
|
|
gst-plugins-base-devel_package() {
|
2013-12-17 22:34:17 +01:00
|
|
|
depends="
|
|
|
|
alsa-lib-devel
|
|
|
|
gstreamer-devel
|
|
|
|
libgudev-devel
|
|
|
|
libtheora-devel
|
|
|
|
libvisual-devel
|
|
|
|
libvorbis-devel
|
|
|
|
libXv-devel
|
|
|
|
pango-devel
|
|
|
|
${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-12-17 22:34:17 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 15:11:12 +02:00
|
|
|
vmove usr/share/gtk-doc
|
2013-12-17 22:34:17 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove "usr/share/gir*"
|
|
|
|
fi
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|