gtksourceview5: update to 5.4.0

This commit is contained in:
oreo639 2022-03-25 20:45:21 -07:00 committed by Echo
parent 41d213902c
commit d58a0d4f11

View file

@ -1,6 +1,6 @@
# Template file for 'gtksourceview5'
pkgname=gtksourceview5
version=5.2.0
version=5.4.0
revision=1
wrksrc="gtksourceview-${version}"
build_style=meson
@ -8,7 +8,7 @@ build_helper="gir"
configure_args="-Dintrospection=$(vopt_if gir enabled disabled)
$(vopt_bool gir vapi) $(vopt_bool gtk_doc gtk_doc)"
hostmakedepends="glib-devel itstool libxslt pkg-config gtk4 gettext
$(vopt_if gir vala) $(vopt_if gtk_doc gtk-doc)"
$(vopt_if gir vala) $(vopt_if gtk_doc gi-docgen)"
makedepends="gtk4-devel libglib-devel libxml2-devel $(vopt_if gir vala)
pcre2-devel"
checkdepends="xvfb-run cantarell-fonts"
@ -16,9 +16,10 @@ short_desc="Text widget that extends GTK4 GtkTextView widget"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/GtkSourceView"
changelog="https://gitlab.gnome.org/GNOME/gtksourceview/-/raw/gtksourceview-5-2/NEWS"
#changelog="https://gitlab.gnome.org/GNOME/gtksourceview/-/raw/master/NEWS"
changelog="https://gitlab.gnome.org/GNOME/gtksourceview/-/raw/gtksourceview-5-4/NEWS"
distfiles="${GNOME_SITE}/gtksourceview/${version%.*}/gtksourceview-${version}.tar.xz"
checksum=c9b34fa02654f56ce22fa08827d89db4ba81631b2e6d7d31ea65d13c729430e9
checksum=003bc217e670a8ec8aa3aece994b70e70b7d6b8074938adda21718555d84e637
# Package build options
build_options="gir gtk_doc"
@ -42,7 +43,7 @@ gtksourceview5-devel_package() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gtk_doc" ]; then
vmove usr/share/gtk-doc
vmove usr/share/doc
fi
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0