gfbgraph: add build option gir
This commit is contained in:
parent
71a4a52f9b
commit
76770404af
1 changed files with 10 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'gfbgraph'
|
||||
pkgname=gfbgraph
|
||||
version=0.2.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
hostmakedepends="pkg-config intltool gobject-introspection"
|
||||
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
|
||||
makedepends="rest-devel json-glib-devel gnome-online-accounts-devel"
|
||||
short_desc="GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -13,6 +13,11 @@ homepage="http://live.gnome.org/gfbgraph"
|
|||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||
checksum=da1179083cde2b649d7491c745250a00d292e390fd620b7dd2dd95a122dae0b6
|
||||
|
||||
build_options="gir"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
rm -rf ${DESTDIR}/usr/doc
|
||||
}
|
||||
|
@ -23,8 +28,10 @@ gfbgraph-devel_package() {
|
|||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/share/gir-1.0
|
||||
vmove usr/share/gtk-doc
|
||||
vmove "usr/lib/*.so"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue