diff --git a/srcpkgs/gtranslator/patches/meson-0.61.patch b/srcpkgs/gtranslator/patches/meson-0.61.patch deleted file mode 100644 index 54063041fe1..00000000000 --- a/srcpkgs/gtranslator/patches/meson-0.61.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 7ac572cc8c8c37ca3826ecf0d395edd3c38e8e22 Mon Sep 17 00:00:00 2001 -From: Jan Beich -Date: Mon, 24 Jan 2022 11:57:43 +0000 -Subject: [PATCH] meson: drop unused argument for i18n.merge_file() - -Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0. - -data/meson.build:15:0: ERROR: Function does not take positional arguments. -data/meson.build:37:0: ERROR: Function does not take positional arguments. ---- - data/meson.build | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/data/meson.build b/data/meson.build -index 2ca0be0b..2ebbfb12 100644 ---- a/data/meson.build -+++ b/data/meson.build -@@ -13,7 +13,6 @@ desktop_in = configure_file( - ) - - i18n.merge_file( -- desktop, - type: 'desktop', - input: desktop_in, - output: '@0@.desktop'.format(gtr_app_id), -@@ -35,7 +34,6 @@ appdata_in = configure_file( - ) - - i18n.merge_file( -- appdata, - input: appdata_in, - output: appdata, - po_dir: po_dir, --- -GitLab - diff --git a/srcpkgs/gtranslator/template b/srcpkgs/gtranslator/template index 9f5b702461d..c65dfb98bd3 100644 --- a/srcpkgs/gtranslator/template +++ b/srcpkgs/gtranslator/template @@ -1,16 +1,20 @@ # Template file for 'gtranslator' pkgname=gtranslator -version=40.0 +version=45.3 revision=1 build_style=meson -hostmakedepends="gettext pkg-config glib-devel itstool" +hostmakedepends="gettext pkg-config glib-devel itstool gtk4-update-icon-cache" makedepends="gettext-devel libglib-devel libdazzle-devel libsoup-devel - gsettings-desktop-schemas-devel gtk+3-devel gspell-devel - libxml2-devel json-glib-devel gtksourceview4-devel libgda-devel - libhandy1-devel" + gsettings-desktop-schemas-devel gtk4-devel libadwaita-devel gspell-devel + libxml2-devel json-glib-devel gtksourceview5-devel libgda-devel" short_desc="GNOME translation making program" maintainer="Enno Boland " license="GPL-3.0-or-later" homepage="https://wiki.gnome.org/Apps/Gtranslator" distfiles="${GNOME_SITE}/gtranslator/${version%.*}/gtranslator-${version}.tar.xz" -checksum=ec3eba36dee1c549377d1475aef71748dbaebd295005e1990ea9821f02b38834 +checksum=3010204df5c7a5ae027f5a30b1544d6977d417f0e4bb9de297f0ad1a80331873 + +post_patch() { + vsed -e "s/dependency('libgda-6.0'/dependency('libgda-5.0'/" \ + -i meson.build +}