diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-10-13 21:37:54 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-10-13 21:41:47 -0400 |
commit | b25a82c22fb5be1d270c7f7313f7b383eae4acad (patch) | |
tree | 0caf9fa44281e27656137c0cebb3e243288355e5 /app-text/gtranslator | |
parent | net-p2p/deluge: Stabilize 2.1.1 amd64, #877037 (diff) | |
download | gentoo-b25a82c22fb5be1d270c7f7313f7b383eae4acad.tar.gz gentoo-b25a82c22fb5be1d270c7f7313f7b383eae4acad.tar.bz2 gentoo-b25a82c22fb5be1d270c7f7313f7b383eae4acad.zip |
app-text/gtranslator: Version bump to 42.0
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-text/gtranslator')
-rw-r--r-- | app-text/gtranslator/Manifest | 1 | ||||
-rw-r--r-- | app-text/gtranslator/files/gtranslator-42.0-Revert-Add-GDA-6-compatibility.patch | 28 | ||||
-rw-r--r-- | app-text/gtranslator/gtranslator-42.0.ebuild | 62 |
3 files changed, 91 insertions, 0 deletions
diff --git a/app-text/gtranslator/Manifest b/app-text/gtranslator/Manifest index d80e5087877a..992ef5fe80c7 100644 --- a/app-text/gtranslator/Manifest +++ b/app-text/gtranslator/Manifest @@ -1 +1,2 @@ DIST gtranslator-40.0.tar.xz 1509940 BLAKE2B dbf4c4a8765167177959c058b29563a2c3190e103a9f462a976bfc416c7cd995c649b549a40aa6f7c9b26502c5d56f3e4252a52919de979167f7adb5381604fc SHA512 214c5360ada6c98e9e7cd6a653bdc9a1dc5dd6cca995295369f8f9aac7261680fa521f2d2528f275233479d55ef1b03ee9ddc4a4e734e27a25bb24172c855a47 +DIST gtranslator-42.0.tar.xz 1526376 BLAKE2B 3d6834c201601415a1fb761bcef471a6c63aae311d22cb1ef5d615e20d124d05b165abb92590da2502b79456c9130e14dd7733746f5006a3c219aaf7f0505ba7 SHA512 785f2757360425b735948faca9eb8ef5f4433394f4fd99ff6e1f78f41d382c7769318ad8d329906910bcdd5a64b4ee0aa2df2e218a3c4b7576938e3d870077b6 diff --git a/app-text/gtranslator/files/gtranslator-42.0-Revert-Add-GDA-6-compatibility.patch b/app-text/gtranslator/files/gtranslator-42.0-Revert-Add-GDA-6-compatibility.patch new file mode 100644 index 000000000000..5aa8047c58e0 --- /dev/null +++ b/app-text/gtranslator/files/gtranslator-42.0-Revert-Add-GDA-6-compatibility.patch @@ -0,0 +1,28 @@ +https://gitlab.gnome.org/GNOME/gtranslator/-/merge_requests/127 + +From 9d8f92d37a7af3eca6985de72f52b45a21f9c91d Mon Sep 17 00:00:00 2001 +From: Daniel Garcia Moreno <daniel.garcia@suse.com> +Date: Thu, 22 Sep 2022 08:20:11 +0200 +Subject: [PATCH] Revert "Add GDA 6 compatibility" + +This reverts commit 27c3f164422c193246aa4f71facf77d2a97ee94c +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 076812bd..f734e496 100644 +--- a/meson.build ++++ b/meson.build +@@ -111,7 +111,7 @@ gtr_deps = [ + glib_dep, + gtk_dep, + libhandy_dep, +- dependency('libgda-6.0'), ++ dependency('libgda-5.0'), + dependency('gio-2.0', version: '>= 2.36.0'), + dependency('gsettings-desktop-schemas'), + dependency('gspell-1', version: '>= 1.2.0'), +-- +2.35.1 + diff --git a/app-text/gtranslator/gtranslator-42.0.ebuild b/app-text/gtranslator/gtranslator-42.0.ebuild new file mode 100644 index 000000000000..298b32be7eb3 --- /dev/null +++ b/app-text/gtranslator/gtranslator-42.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org gnome2-utils meson xdg + +DESCRIPTION="GNOME Translation Editor" +HOMEPAGE="https://wiki.gnome.org/Apps/Gtranslator" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gtk-doc" + +DEPEND=" + >=dev-libs/glib-2.71.3:2 + >=x11-libs/gtk+-3.22.20:3 + >=gui-libs/libhandy-1.5.0:1 + gnome-extra/libgda:5= + gnome-base/gsettings-desktop-schemas + >=app-text/gspell-1.2.0:= + >=x11-libs/gtksourceview-4.0.2:4 + >=dev-libs/libxml2-2.4.12:2 + net-libs/libsoup:3.0 + >=dev-libs/json-glib-1.2.0 +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-libs/appstream-glib + dev-libs/libxml2:2 + dev-util/glib-utils + gtk-doc? ( + >=dev-util/gtk-doc-1.28 + app-text/docbook-xml-dtd:4.1.2 + ) + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-Revert-Add-GDA-6-compatibility.patch +) + +src_configure() { + local emesonargs=( + $(meson_use gtk-doc gtk_doc) + -Dprofile=default + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |