farstream: unbreak build; added gir build option.
This commit is contained in:
parent
adb7a0d7df
commit
f0942b91a4
1 changed files with 11 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'farstream'
|
||||
pkgname=farstream
|
||||
version=0.2.7
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-valgrind --disable-static"
|
||||
hostmakedepends="pkg-config intltool python-devel gobject-introspection"
|
||||
configure_args="--disable-valgrind --disable-static $(vopt_enable gir introspection)"
|
||||
hostmakedepends="pkg-config intltool python-devel glib-devel $(vopt_if gir gobject-introspection)"
|
||||
makedepends="python-devel gupnp-igd-devel libnice-devel
|
||||
gst-plugins-base1-devel gst-python-devel python-gobject2-devel"
|
||||
depends="gst-python pygtk gst-plugins-good1 gst-plugins-bad1"
|
||||
|
@ -15,6 +15,11 @@ homepage="http://www.freedesktop.org/wiki/Software/Farstream"
|
|||
distfiles="http://freedesktop.org/software/farstream/releases/$pkgname/$pkgname-$version.tar.gz"
|
||||
checksum=dad0ed43cf94e71df558c23825abe57db59d1ee8d970ffaec5e2dbc2e7acbf7d
|
||||
|
||||
build_options="gir"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
farstream-devel_package() {
|
||||
depends="gst-plugins-base1-devel farstream-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
@ -23,6 +28,8 @@ farstream-devel_package() {
|
|||
vmove usr/lib/pkgconfig
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/share/gtk-doc
|
||||
vmove usr/share/gir-1.0
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue