void-packages/srcpkgs/gst-plugins-base1/template

65 lines
1.9 KiB
Text
Raw Normal View History

2012-09-25 09:55:04 +00:00
# Template file for 'gst-plugins-base1'.
pkgname=gst-plugins-base1
2014-02-10 13:53:55 +00:00
version=1:1.2.3
2013-04-27 01:47:15 +00:00
revision=1
wrksrc="${pkgname/1/}-${version#*:}"
2012-09-25 09:55:04 +00:00
build_style=gnu-configure
configure_args="--enable-experimental --disable-static"
hostmakedepends="python pkg-config glib-devel"
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
libvisual-devel libgudev-devel libtheora-devel libvorbis-devel
2013-09-26 10:46:56 +00:00
libSM-devel orc-devel>=0.4.18"
depends="orc>=0.4.18 gstreamer1>=${version}"
2012-09-25 09:55:04 +00:00
short_desc="GStreamer Base Plug-ins (v1.x)"
maintainer="Juan RP <xtraeme@gmail.org>"
homepage="http://gstreamer.freedesktop.org/"
license="GPL-2, LGPL-2.1"
distfiles="http://gstreamer.freedesktop.org/src/${pkgname/1/}/${pkgname/1/}-${version#*:}.tar.xz"
2014-02-10 13:53:55 +00:00
checksum=61edec35c270f86928bad434bd059da4efff865d1ef01bcc64ecbd903625dae1
# Package build options
build_options="cdparanoia gir"
desc_option_cdparanoia="Enable support for CD audio (cdparanoia)"
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"
else
hostmakedepends+=" automake gettext-devel libtool"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
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
gst-plugins-base1-devel_package() {
depends="gstreamer1-devel>=${version} ${sourcepkg}>=${version}_${revision}"
2013-06-06 14:40:45 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-08-30 09:15:35 +00:00
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove "usr/share/gir*"
fi
}
}