gsettings-desktop-schemas: enable gir
This commit is contained in:
parent
edf11516c1
commit
ece893c63c
@ -1,25 +1,27 @@
|
||||
# Template file for 'gsettings-desktop-schemas'
|
||||
pkgname=gsettings-desktop-schemas
|
||||
version=3.28.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="$(vopt_enable gir introspection)"
|
||||
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
|
||||
hostmakedepends="pkg-config intltool glib-devel"
|
||||
makedepends="libglib-devel"
|
||||
short_desc="Collection of GSettings schemas"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas"
|
||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=f88ea6849ffe897c51cfeca5e45c3890010c82c58be2aee18b01349648e5502f
|
||||
|
||||
# Package build options
|
||||
build_options="gir"
|
||||
|
||||
# Disable gir for cross builds.
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl) build_options_default+=" gir" ;;
|
||||
*-musl) ;;
|
||||
*) build_options_default+=" gir" ;;
|
||||
esac
|
||||
|
||||
gsettings-desktop-schemas-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user