From 4547a35f998b32bdffb8118dc9ab65d53aeb547d Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Sun, 16 Aug 2020 04:56:34 +0200 Subject: [PATCH] gtksourceview4: update to 4.8.0 --- srcpkgs/gtksourceview4/template | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/srcpkgs/gtksourceview4/template b/srcpkgs/gtksourceview4/template index 6848716773..44e2ee869f 100644 --- a/srcpkgs/gtksourceview4/template +++ b/srcpkgs/gtksourceview4/template @@ -1,32 +1,37 @@ # Template file for 'gtksourceview4' pkgname=gtksourceview4 -version=4.2.0 -revision=2 +version=4.8.0 +revision=1 wrksrc="gtksourceview-${version}" -build_style=gnu-configure +build_style=meson build_helper="gir" -configure_args="--enable-glade-catalog $(vopt_enable gir introspection) - $(vopt_enable vala) $(vopt_enable gtk_doc gtk-doc)" +configure_args="-Dglade_catalog=true $(vopt_bool gir gir) + $(vopt_bool gir vapi) $(vopt_bool gtk_doc gtk_doc)" hostmakedepends="gtk+3-devel glib-devel itstool libxslt pkg-config - $(vopt_if vala vala) $(vopt_if gtk_doc gtk-doc)" + $(vopt_if gir vala) $(vopt_if gtk_doc gtk-doc)" makedepends="glade3-devel gtk+3-devel libglib-devel libxml2-devel - $(vopt_if vala vala)" + $(vopt_if gir vala)" short_desc="Text widget that extends GTK+ GtkTextView widget" maintainer="Enno Boland " license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Projects/GtkSourceView" distfiles="${GNOME_SITE}/gtksourceview/${version%.*}/gtksourceview-${version}.tar.xz" -checksum=c431eb234dc83c7819e58f77dd2af973252c7750da1c9d125ddc94268f94f675 +checksum=00a19121500cedf1bae97f35af865d839841fd785d9facf188498e13975b4e1a # Package build options -build_options="gir vala gtk_doc" +build_options="gir gtk_doc" desc_option_gtk_doc="Build API docs via gtk-doc" -build_options_default="gir vala" +build_options_default="gir" if [ -z "$CROSS_BUILD" ]; then build_options_default+=" gtk_doc" fi +# Needs X +do_check() { + : +} + gtksourceview4-devel_package() { depends="gtk+3-devel libglib-devel libxml2-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" @@ -35,12 +40,12 @@ gtksourceview4-devel_package() { vmove usr/lib/pkgconfig vmove "usr/lib/*.so" vmove usr/share/glade - vmove usr/share/gtk-doc - if [ "$build_option_vala" ]; then - vmove usr/share/vala + if [ "$build_option_gtk_doc" ]; then + vmove usr/share/gtk-doc fi if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0 + vmove usr/share/vala fi } }