# Template file for 'gtranslator'
pkgname=gtranslator
version=45.3
revision=1
build_style=meson
hostmakedepends="gettext pkg-config glib-devel itstool gtk4-update-icon-cache"
makedepends="gettext-devel libglib-devel libdazzle-devel libsoup3-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 <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Apps/Gtranslator"
distfiles="${GNOME_SITE}/gtranslator/${version%.*}/gtranslator-${version}.tar.xz"
checksum=3010204df5c7a5ae027f5a30b1544d6977d417f0e4bb9de297f0ad1a80331873

post_patch() {
	vsed -e "s/dependency('libgda-6.0'/dependency('libgda-5.0'/" \
		-i meson.build
}
