2012-09-25 11:55:04 +02:00
|
|
|
# Template file for 'gst-plugins-base1'.
|
|
|
|
pkgname=gst-plugins-base1
|
2014-12-22 11:42:29 +01:00
|
|
|
version=1:1.4.5
|
2015-03-06 13:56:19 +01:00
|
|
|
revision=3
|
2014-01-03 19:13:21 +01:00
|
|
|
wrksrc="${pkgname/1/}-${version#*:}"
|
2012-09-25 11:55:04 +02:00
|
|
|
build_style=gnu-configure
|
2014-09-01 09:09:17 +02:00
|
|
|
configure_args="--enable-experimental --disable-static
|
2015-01-11 15:39:47 +01:00
|
|
|
$(vopt_enable gir introspection) $(vopt_enable cdparanoia)"
|
|
|
|
hostmakedepends="automake gettext-devel libtool python pkg-config
|
|
|
|
glib-devel $(vopt_if gir gobject-introspection)"
|
2014-01-03 19:13:21 +01:00
|
|
|
makedepends="
|
2015-03-27 10:50:40 +01:00
|
|
|
gstreamer1-devel glib-devel libxml2-devel pango-devel
|
2012-10-25 15:00:51 +02:00
|
|
|
cairo-devel liboil-devel alsa-lib-devel libXv-devel libXext-devel
|
2014-01-03 19:13:21 +01:00
|
|
|
libvisual-devel libgudev-devel libtheora-devel libvorbis-devel
|
2015-03-27 10:50:40 +01:00
|
|
|
libSM-devel orc-devel $(vopt_if cdparanoia libcdparanoia-devel)"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="orc>=0.4.18 gstreamer1>=${version}"
|
2012-09-25 11:55:04 +02:00
|
|
|
short_desc="GStreamer Base Plug-ins (v1.x)"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-09-25 11:55:04 +02:00
|
|
|
homepage="http://gstreamer.freedesktop.org/"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2014-01-03 19:13:21 +01:00
|
|
|
distfiles="http://gstreamer.freedesktop.org/src/${pkgname/1/}/${pkgname/1/}-${version#*:}.tar.xz"
|
2014-12-22 11:42:29 +01:00
|
|
|
checksum=77bd8199e7a312d3d71de9b7ddf761a3b78560a2c2a80829d0815ca39cbd551d
|
2014-01-03 19:13:21 +01:00
|
|
|
|
2014-06-14 09:22:49 +02:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
|
|
|
CFLAGS="-msse2"
|
|
|
|
fi
|
|
|
|
|
2014-01-03 19:13:21 +01:00
|
|
|
# Package build options
|
|
|
|
build_options="cdparanoia gir"
|
|
|
|
# Disable options for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="cdparanoia gir"
|
|
|
|
fi
|
|
|
|
|
2014-09-22 11:03:16 +02:00
|
|
|
pre_configure() {
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
|
|
|
|
2013-04-12 15:11:12 +02:00
|
|
|
gst-plugins-base1-devel_package() {
|
2014-01-03 19:13:21 +01:00
|
|
|
depends="gstreamer1-devel>=${version} ${sourcepkg}>=${version}_${revision}"
|
2013-06-06 16:40:45 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-30 11:15:35 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 15:11:12 +02:00
|
|
|
vmove usr/share/gtk-doc
|
2014-01-03 19:13:21 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove "usr/share/gir*"
|
|
|
|
fi
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|