From 8c5799abb2dc360df24501cd38ed9bc2dfbadf42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 29 Dec 2020 10:41:37 +0100 Subject: [PATCH] gtksourceview: needs (may need) automake Also remove builds options gir and vala and always enable. --- srcpkgs/gtksourceview/template | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/srcpkgs/gtksourceview/template b/srcpkgs/gtksourceview/template index fc45cb249c3..81f7f70b2e3 100644 --- a/srcpkgs/gtksourceview/template +++ b/srcpkgs/gtksourceview/template @@ -4,8 +4,8 @@ version=3.24.11 revision=1 build_style=gnu-configure build_helper="gir" -configure_args="--disable-static $(vopt_enable gir introspection)" -hostmakedepends="pkg-config intltool gtk+3-devel glib-devel $(vopt_if vala vala)" +configure_args="--disable-static --enable-introspection" +hostmakedepends="pkg-config intltool gtk+3-devel glib-devel vala" makedepends="gtk+3-devel libxml2-devel vala-devel" short_desc="Text widget that extends GTK+3 GtkTextView widget" maintainer="Orphaned " @@ -14,9 +14,6 @@ homepage="https://wiki.gnome.org/Projects/GtkSourceView" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd -build_options="gir vala" -build_options_default="gir vala" - do_check() { # Needs X : @@ -29,12 +26,8 @@ gtksourceview-devel_package() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" - if [ "$build_option_gir" ]; then - vmove usr/share/gir-1.0 - fi - if [ "$build_option_vala" ]; then - vmove usr/share/vala - fi + vmove usr/share/gir-1.0 + vmove usr/share/vala vmove usr/share/gtk-doc } }