From b4abe93a36b4f956e46e73ff0a2d8eda7ddccf8f Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sat, 13 Nov 2021 17:02:13 +0100 Subject: [PATCH] gedit: remove obsolete configure options * gir is not optional anymore, so also removing the build option --- srcpkgs/gedit/template | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/srcpkgs/gedit/template b/srcpkgs/gedit/template index b4e862c26a..e93ff89052 100644 --- a/srcpkgs/gedit/template +++ b/srcpkgs/gedit/template @@ -5,12 +5,10 @@ revision=2 build_helper="gir" build_style=meson pycompile_dirs="usr/lib/gedit/plugins" -configure_args="-Dplugins=true - $(vopt_bool gir vapi) $(vopt_bool gir introspection)" -hostmakedepends="itstool pkg-config glib-devel gdk-pixbuf perl gettext - $(vopt_if gir vala)" +configure_args="-Dplugins=true" +hostmakedepends="itstool pkg-config glib-devel gdk-pixbuf perl gettext vala" makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel - libpeas-devel tepl-devel $(vopt_if gir 'python3-gobject-devel')" + libpeas-devel tepl-devel python3-gobject-devel" depends="desktop-file-utils gsettings-desktop-schemas iso-codes" short_desc="Text editor for GNOME" maintainer="Enno Boland " @@ -21,9 +19,6 @@ checksum=55e394a82cb65678b1ab49526cf5bd43f00d8fba21476a4849051a8e137d3691 shlib_provides="libgedit-40.0.so" python_version=3 -build_options="gir" -build_options_default="gir" - gedit-devel_package() { depends="${sourcepkg}>=${version}_${revision} gtksourceview4-devel libpeas-devel tepl-devel" @@ -31,9 +26,7 @@ gedit-devel_package() { pkg_install() { vmove usr/include vmove usr/lib/pkgconfig - if [ "$build_option_gir" ]; then - vmove usr/share/gedit/gir-1.0 - vmove usr/share/vala - fi + vmove usr/share/gedit/gir-1.0 + vmove usr/share/vala } }