libcloudproviders: enable gir
This commit is contained in:
parent
03f3215e0f
commit
0403ea836b
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'libcloudproviders'
|
# Template file for 'libcloudproviders'
|
||||||
pkgname=libcloudproviders
|
pkgname=libcloudproviders
|
||||||
version=0.3.0
|
version=0.3.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
|
build_helper="gir"
|
||||||
configure_args="-Dintrospection=$(vopt_if gir true false)
|
configure_args="-Dintrospection=$(vopt_if gir true false)
|
||||||
-Dvapigen=$(vopt_if vala true false)"
|
-Dvapigen=$(vopt_if vala true false)"
|
||||||
hostmakedepends="pkg-config glib-devel $(vopt_if gir 'gobject-introspection')
|
hostmakedepends="pkg-config glib-devel $(vopt_if vala 'vala-devel')"
|
||||||
$(vopt_if vala 'vala-devel')"
|
|
||||||
makedepends="libglib-devel"
|
makedepends="libglib-devel"
|
||||||
short_desc="DBus API for cloud storage sync clients to expose their services"
|
short_desc="DBus API for cloud storage sync clients to expose their services"
|
||||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
|
@ -16,9 +16,12 @@ distfiles="${homepage}/-/archive/${version}/libcloudproviders-${version}.tar.gz"
|
||||||
checksum=15c9d82885baa101eb2542d7de1fcba4824e885726bee07c2b9d8f938b0bcadd
|
checksum=15c9d82885baa101eb2542d7de1fcba4824e885726bee07c2b9d8f938b0bcadd
|
||||||
|
|
||||||
build_options="gir vala"
|
build_options="gir vala"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
|
||||||
build_options_default+=" gir vala"
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
fi
|
x86_64-musl) build_options_default+=" gir vala" ;;
|
||||||
|
*-musl) ;;
|
||||||
|
*) build_options_default+=" gir vala" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
libcloudproviders-devel_package() {
|
libcloudproviders-devel_package() {
|
||||||
depends="${sourcepkg}-${version}_${revision} glib-devel"
|
depends="${sourcepkg}-${version}_${revision} glib-devel"
|
||||||
|
|
Loading…
Reference in New Issue