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