geoclue2: enable gir
This commit is contained in:
parent
2852a101d2
commit
497e120df5
1 changed files with 13 additions and 9 deletions
|
@ -1,16 +1,17 @@
|
||||||
# Template file for 'geoclue2'
|
# Template file for 'geoclue2'
|
||||||
pkgname=geoclue2
|
pkgname=geoclue2
|
||||||
version=2.5.2
|
version=2.5.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="geoclue-${version}"
|
wrksrc="geoclue-${version}"
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-Ddbus-srv-user=_geoclue2 -Dgtk-doc=false"
|
build_helper="gir"
|
||||||
|
configure_args="-Ddbus-srv-user=_geoclue2 -Dgtk-doc=false
|
||||||
|
-Dintrospection=$(vopt_if gir true false)"
|
||||||
conf_files="/etc/geoclue/geoclue.conf"
|
conf_files="/etc/geoclue/geoclue.conf"
|
||||||
hostmakedepends="glib-devel intltool pkg-config
|
hostmakedepends="glib-devel intltool pkg-config"
|
||||||
$(vopt_if gir 'gobject-introspection')"
|
|
||||||
makedepends="ModemManager-devel avahi-glib-libs-devel eudev-libudev-devel
|
makedepends="ModemManager-devel avahi-glib-libs-devel eudev-libudev-devel
|
||||||
json-glib-devel libsoup-gnome-devel libnotify-devel"
|
json-glib-devel libsoup-gnome-devel libnotify-devel"
|
||||||
short_desc="The Geoinformation Service (2.x series)"
|
short_desc="Geoinformation Service (2.x series)"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home"
|
homepage="https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home"
|
||||||
|
@ -20,19 +21,22 @@ system_accounts="_geoclue2"
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
|
||||||
build_options_default+=" gir"
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
fi
|
x86_64-musl) build_options_default+=" gir" ;;
|
||||||
|
*-musl) ;;
|
||||||
|
*) build_options_default+=" gir" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
geoclue2-devel_package() {
|
geoclue2-devel_package() {
|
||||||
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
|
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
if [ "$build_option_gir" ]; then
|
if [ "$build_option_gir" ]; then
|
||||||
vmove usr/share/gir-1.0
|
vmove usr/share/gir-1.0
|
||||||
fi
|
fi
|
||||||
vmove "usr/lib/*.so"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue