summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Joandet <gjoandet@gmail.com>2024-04-22 16:33:31 -0300
committerPacho Ramos <pacho@gentoo.org>2024-10-17 13:55:53 +0200
commit9001d411866c04bd16c72016333f651091f55230 (patch)
tree587c56c2fa37835c027afd2bef7eb3bed6241540 /app-text
parentgui-wm/hyprland: sync live (diff)
downloadgentoo-9001d411866c04bd16c72016333f651091f55230.tar.gz
gentoo-9001d411866c04bd16c72016333f651091f55230.tar.bz2
gentoo-9001d411866c04bd16c72016333f651091f55230.zip
app-text/gtranslator: Bump to 46.1
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38076 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/gtranslator/Manifest1
-rw-r--r--app-text/gtranslator/gtranslator-46.1.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/app-text/gtranslator/Manifest b/app-text/gtranslator/Manifest
index d67f3279c6c4..62412ab7f869 100644
--- a/app-text/gtranslator/Manifest
+++ b/app-text/gtranslator/Manifest
@@ -1 +1,2 @@
DIST gtranslator-45.3.tar.xz 1524700 BLAKE2B 5437f479d5276ef405cbd82c37aaa34b1cc4fe1ffa01d32e1e946adb65da0668ac6eb7359cb374a968367a16564959efb6d260dbeb148d34aca3c69cd545926e SHA512 6b4db2f12ec57db6b0ee7ae0030f2fe5bc748e0b501e3ea6f529e47e5e77196a47cf5bf6333fe84c314eaec20d353e7a2bf9a8bea75bbbcd7da438c2dc5e22c9
+DIST gtranslator-46.1.tar.xz 1511200 BLAKE2B 81e625564f17d9ef3202644c527b0e0cd12812e2d16f655e9063708de593062c771e78cbe59f1176e56900ac9332b9efe04e151910b629ef8fbc2e0d9b4be827 SHA512 e035be70ce5c4ba0bbad35d908e805d5de05172bea4101d8f9dcecd122fcc0c89b06b99de9965e7413a8a949d7bc60eb95f157d416de020d3dd46dc5f0c9b909
diff --git a/app-text/gtranslator/gtranslator-46.1.ebuild b/app-text/gtranslator/gtranslator-46.1.ebuild
new file mode 100644
index 000000000000..a14400360c7a
--- /dev/null
+++ b/app-text/gtranslator/gtranslator-46.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 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://gitlab.gnome.org/GNOME/gtranslator/"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtk-doc"
+
+DEPEND="
+ >=dev-libs/glib-2.71.3:2
+ >=gui-libs/gtk-4.12.0:4
+ >=gui-libs/libadwaita-1.5_alpha
+ gnome-extra/libgda:5=
+ gnome-base/gsettings-desktop-schemas
+ >=gui-libs/gtksourceview-5.4.0:5
+ >=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}"/${PN}-45.2-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
+}