From 9b0d1b1661b4593627f229d94059a36d134d59a5 Mon Sep 17 00:00:00 2001 From: chrysos349 Date: Wed, 18 Sep 2024 02:11:41 +0300 Subject: [PATCH] gspell: update to 1.14.0 --- common/shlibs | 2 +- srcpkgs/gspell/template | 26 ++++++++++++++++---------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/common/shlibs b/common/shlibs index 2ea72f71529..7bd77402ee1 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3035,7 +3035,7 @@ libelogind.so.0 libelogind-238.1_2 libseat.so.1 libseat-0.3.0_1 libnma.so.0 libnma-1.8.30_1 libnma-gtk4.so.0 libnma-1.8.36_1 -libgspell-1.so.2 gspell-1.8.0_1 +libgspell-1.so.3 gspell-1.14.0_1 libotf.so.1 libotf-0.9.16_1 libimagequant.so.0.4 libimagequant-4.3.4_1 libDOtherSide.so.0.7 dotherside-0.7.1_1 diff --git a/srcpkgs/gspell/template b/srcpkgs/gspell/template index b602df0cd13..a1260e9ed60 100644 --- a/srcpkgs/gspell/template +++ b/srcpkgs/gspell/template @@ -1,14 +1,14 @@ # Template file for 'gspell' pkgname=gspell -version=1.12.2 +version=1.14.0 revision=1 -build_style=gnu-configure +build_style=meson build_helper="gir" -configure_args="--disable-static $(vopt_enable gir introspection) - $(vopt_enable vala)" -hostmakedepends="pkg-config glib-devel $(vopt_if vala vala)" -makedepends="glib-devel enchant2-devel gtk+3-devel icu-devel - $(vopt_if vala vala)" +configure_args="$(vopt_bool gir gobject_introspection) + $(vopt_bool vala vapi) $(vopt_bool gtk_doc gtk_doc)" +hostmakedepends="pkg-config glib-devel gettext + $(vopt_if vala vala) $(vopt_if gtk_doc gtk-doc)" +makedepends="glib-devel enchant2-devel gtk+3-devel icu-devel" checkdepends="xvfb-run cantarell-fonts hunspell-en_US" short_desc="Flexible API to add spell checking to a GTK+ application" maintainer="Enno Boland " @@ -16,13 +16,17 @@ license="LGPL-2.1-or-later" homepage="https://gitlab.gnome.org/GNOME/gspell" changelog="https://gitlab.gnome.org/GNOME/gspell/-/raw/master/NEWS" distfiles="${GNOME_SITE}/gspell/${version%.*}/gspell-${version}.tar.xz" -checksum=b4e993bd827e4ceb6a770b1b5e8950fce3be9c8b2b0cbeb22fdf992808dd2139 +checksum=64ea1d8e9edc1c25b45a920e80daf67559d1866ffcd7f8432fecfea6d0fe8897 make_check_pre="xvfb-run" # Package build options -build_options="gir vala" +build_options="gir vala gtk_doc" build_options_default="gir vala" +if [ -z "$CROSS_BUILD" ]; then + build_options_default+=" gtk_doc" +fi + gspell-devel_package() { depends="libglib-devel enchant2-devel gtk+3-devel icu-devel ${sourcepkg}>=${version}_${revision}" @@ -31,12 +35,14 @@ gspell-devel_package() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" - vmove usr/share/gtk-doc if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0 fi if [ "$build_option_vala" ]; then vmove usr/share/vala fi + if [ "$build_option_gtk_doc" ]; then + vmove usr/share/gtk-doc + fi } }