libhandy1: update to 1.6.1

This commit is contained in:
oreo639 2022-03-24 15:08:23 -07:00 committed by Echo
parent ddf9897e6f
commit a7e21ebd99

View file

@ -1,6 +1,6 @@
# Template file for 'libhandy1'
pkgname=libhandy1
version=1.5.0
version=1.6.1
revision=1
wrksrc="libhandy-${version}"
build_style=meson
@ -8,7 +8,7 @@ build_helper="gir"
configure_args="-Dexamples=true -Dtests=true $(vopt_bool gtk_doc gtk_doc)
$(vopt_bool gir vapi) -Dglade_catalog=$(vopt_if glade enabled disabled)
-Dintrospection=$(vopt_if gir enabled disabled)"
hostmakedepends="glib-devel pkg-config $(vopt_if gtk_doc gtk-doc) $(vopt_if gir vala-devel)"
hostmakedepends="glib-devel pkg-config gettext $(vopt_if gtk_doc gi-docgen) $(vopt_if gir vala-devel)"
makedepends="gtk+3-devel libglib-devel $(vopt_if glade glade3-devel)"
checkdepends="xvfb-run"
short_desc="GTK+3 building blocks for modern adaptive applications"
@ -17,15 +17,11 @@ license="LGPL-2.1-or-later"
homepage="https://gitlab.gnome.org/GNOME/libhandy/"
changelog="https://gitlab.gnome.org/GNOME/libhandy/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/libhandy/${version%.*}/libhandy-${version}.tar.xz"
checksum=466b9e026c1f9eb3b65966f530d97703a8212daaf911748c145e9cb843dbd6fe
checksum=6eab0384404d56bd1b1fa059d9a081177778f6ae080ffc2120f28656ca7462a4
build_options="gir glade gtk_doc"
desc_option_glade="Generate glade modules and catalog files"
build_options_default="gir glade"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gtk_doc"
fi
build_options_default="gir glade gtk_doc"
do_check() {
xvfb-run ninja -C build test
@ -47,7 +43,7 @@ libhandy1-devel_package() {
vmove usr/share/vala
fi
if [ "$build_option_gtk_doc" ]; then
vmove usr/share/gtk-doc
vmove usr/share/doc
fi
}
}