void-packages/srcpkgs/gsettings-desktop-schemas/template

33 lines
1.1 KiB
Bash

# Template file for 'gsettings-desktop-schemas'
pkgname=gsettings-desktop-schemas
version=43.0
revision=1
build_helper="gir"
build_style=meson
configure_args="-Dintrospection=$(vopt_if gir true false)"
hostmakedepends="gettext pkg-config glib-devel"
makedepends="libglib-devel"
short_desc="Collection of GSettings schemas"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas"
changelog="https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/gsettings-desktop-schemas/${version%.*}/gsettings-desktop-schemas-${version}.tar.xz"
checksum=5d5568282ab38b95759d425401f7476e56f8cbf2629885587439f43bd0b84bbe
# Package build options
build_options="gir"
build_options_default="gir"
gsettings-desktop-schemas-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}