libshumate: update to 1.2.0.

This commit is contained in:
fanyx 2024-03-27 14:16:48 +01:00 committed by oreo639
parent 61fbf040a5
commit 2a51d8ef03
1 changed files with 13 additions and 6 deletions

View File

@ -1,26 +1,33 @@
# Template file for 'libshumate' # Template file for 'libshumate'
pkgname=libshumate pkgname=libshumate
version=1.1.3 version=1.2.0
revision=1 revision=1
build_style=meson build_style=meson
build_helper="gir" build_helper="gir"
configure_args="$(vopt_bool gir vapi) $(vopt_bool gir gir) $(vopt_bool gir gtk_doc)" configure_args="$(vopt_bool gir vapi) $(vopt_bool gir gir)
hostmakedepends="pkg-config $(vopt_if gir 'gi-docgen vala') glib-devel gettext" $(vopt_bool gir gtk_doc)"
makedepends="libglib-devel sqlite-devel cairo-devel gtk4-devel libsoup3-devel" hostmakedepends="pkg-config $(vopt_if gir 'gi-docgen vala') glib-devel gettext
gperf"
makedepends="libglib-devel sqlite-devel cairo-devel gtk4-devel libsoup3-devel
protobuf-c-devel"
checkdepends="dbus xvfb-run" checkdepends="dbus xvfb-run"
short_desc="C library providing a GtkWidget to display maps" short_desc="C library providing a GtkWidget to display maps"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later" license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/libshumate" homepage="https://wiki.gnome.org/Projects/libshumate"
#changelog="https://gitlab.gnome.org/GNOME/libshumate/-/raw/main/NEWS" #changelog="https://gitlab.gnome.org/GNOME/libshumate/-/raw/main/NEWS"
changelog="https://gitlab.gnome.org/GNOME/libshumate/-/raw/libshumate-1-1/NEWS" changelog="https://gitlab.gnome.org/GNOME/libshumate/-/raw/libshumate-1-2/NEWS"
distfiles="${GNOME_SITE}/libshumate/${version%.*}/libshumate-${version}.tar.xz" distfiles="${GNOME_SITE}/libshumate/${version%.*}/libshumate-${version}.tar.xz"
checksum=6b8a159ed744fdd15992411662a05cb4187fb55e185111a366e0038d2f0b3543 checksum=4f8413a707cd00f84cee39ca49f58c48fc436f008ea80d6532ac37dafd0ba96b
make_check_pre="dbus-run-session xvfb-run" make_check_pre="dbus-run-session xvfb-run"
build_options="gir" build_options="gir"
build_options_default="gir" build_options_default="gir"
post_patch() {
vsed -i shumate/meson.build -e '/-DG_DISABLE_ASSERT/d'
}
pre_build() { pre_build() {
# help gi-docgen find gi files on cross # help gi-docgen find gi files on cross
if [ -n "$CROSS_BUILD" ]; then if [ -n "$CROSS_BUILD" ]; then