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