From 8f1a48197ec553f9998d6e595d5e8a7520fa9b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 20 Feb 2024 14:42:38 +0700 Subject: [PATCH] amtk: gir moved to libgedit-amtk --- srcpkgs/amtk/template | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/srcpkgs/amtk/template b/srcpkgs/amtk/template index 96aa3b11019..02917abbd3b 100644 --- a/srcpkgs/amtk/template +++ b/srcpkgs/amtk/template @@ -1,12 +1,13 @@ # Template file for 'amtk' pkgname=amtk version=5.6.1 -revision=1 +revision=2 build_style=meson build_helper="gir" -configure_args="$(vopt_bool gir gobject_introspection) $(vopt_bool gtk_doc)" -hostmakedepends="pkg-config glib-devel gettext $(vopt_if gtk_doc gtk-doc)" +configure_args="-Dgobject_introspection=false -Dgtk_doc=false" +hostmakedepends="pkg-config glib-devel gettext" makedepends="gtk+3-devel libglib-devel" +depends="libgedit-amtk" short_desc="Actions, Menus and Toolbars Kit for GTK+ applications" maintainer="Orphaned " license="LGPL-2.1-or-later" @@ -14,25 +15,12 @@ homepage="https://gitlab.gnome.org/World/amtk" distfiles="${GNOME_SITE}/amtk/${version%.*}/amtk-${version}.tar.xz" checksum=d50115b85c872aac296934b5ee726a3fa156c6f5ad96d27e0edd0aa5ad173228 -build_options="gir gtk_doc" -build_options_default="gir" - -if ! [ "$CROSS_BUILD" ]; then - build_options_default+=" gtk_doc" -fi - amtk-devel_package() { depends="${sourcepkg}>=${version}_${revision} gtk+3-devel libglib-devel" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig - if [ "$build_option_gtk_doc" ]; then - vmove usr/share/gtk-doc - fi - if [ "$build_option_gir" ]; then - vmove usr/share/gir-1.0 - fi vmove "usr/lib/*.so" } }