commit:     ee73fa60f113dc5533f33d9323a19960a069dc6b
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat May 31 16:49:55 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat May 31 17:04:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee73fa60

app-editors/gnome-text-editor: add 47.4

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 app-editors/gnome-text-editor/Manifest             |  1 +
 .../gnome-text-editor-47.4.ebuild                  | 59 ++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/app-editors/gnome-text-editor/Manifest 
b/app-editors/gnome-text-editor/Manifest
index 7095cf398c58..ea28d47c586c 100644
--- a/app-editors/gnome-text-editor/Manifest
+++ b/app-editors/gnome-text-editor/Manifest
@@ -1,2 +1,3 @@
 DIST gnome-text-editor-46.3.tar.xz 654128 BLAKE2B 
42a3b89bfe977cb2160c390a0391da1634ae4b2490aaf2ba8dc3230695d6064aa5c3aa03596e3f3e075fef50bf4ed5890d52acfe053fe2e98e238c9a839e58b1
 SHA512 
576b60e3f005cefd9930838d12173609cf7a0e9f6cb16b91be0e68a215c5c814df67c18c8adcf5083b5e1a3280149ed4b0aa1d830ab367aa76949a9ce81efea4
 DIST gnome-text-editor-47.2.tar.xz 647948 BLAKE2B 
b498cf787b1a8e4c77868430a76ae0b054ca9bb6558b15ada23e2559cfb3e0df6967dd25293b8e20456540766f37b693a70140077a7f30cbff171ff7a946427d
 SHA512 
728000abf1af37facb51a7f73df5db605204c8fb988cd04286a6b5fa8109a1a53d77a5239b4c013094894674eb8eb7ba093458866a0a5e9e723a26452a638b64
+DIST gnome-text-editor-47.4.tar.xz 639932 BLAKE2B 
09fa4e401961d480221c9beb874e8c304875b78d4edd5ceb3a4e2cd8003c971ddc7b9fba92b8c6f6a34c75b61d0c63c3150157ee2f3a1772f004de321909b9f3
 SHA512 
00c21a07f92a3ec205446a6032207042da4da80d329a477a6f50d8d58a3652a8224eee399826d3ca050e2828cd4f5e9713416caa4a4cf7d5c02ed333dfeab2da

diff --git a/app-editors/gnome-text-editor/gnome-text-editor-47.4.ebuild 
b/app-editors/gnome-text-editor/gnome-text-editor-47.4.ebuild
new file mode 100644
index 000000000000..2d13ba0dd6c1
--- /dev/null
+++ b/app-editors/gnome-text-editor/gnome-text-editor-47.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org gnome2-utils meson xdg
+
+DESCRIPTION="A simple text editor for the GNOME desktop"
+HOMEPAGE="https://apps.gnome.org/TextEditor/ 
https://gitlab.gnome.org/GNOME/gnome-text-editor";
+S="${WORKDIR}/gnome-text-editor-${PV/_/.}"
+
+LICENSE="GPL-3+ CC-BY-SA-3.0"
+SLOT="0"
+
+KEYWORDS="~amd64 ~loong ~ppc64 ~riscv ~x86"
+
+IUSE="+editorconfig spell"
+
+DEPEND="
+       >=dev-libs/glib-2.80.0:2
+       >=gui-libs/gtk-4.15:4
+       >=gui-libs/gtksourceview-5.10.0:5
+       >=gui-libs/libadwaita-1.6_alpha:1
+       app-text/editorconfig-core-c
+       x11-libs/cairo
+       >=app-text/libspelling-0.3.0
+       spell? (
+               >=app-text/enchant-2.2.0:2
+               dev-libs/icu:=
+       )
+"
+RDEPEND="${DEPEND}
+       gnome-base/gsettings-desktop-schemas
+"
+BDEPEND="
+       dev-util/glib-utils
+       dev-util/itstool
+       >=sys-devel/gettext-0.21
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local emesonargs=(
+               $(meson_feature spell enchant)
+               $(meson_feature editorconfig)
+               -Dbugreport_url="https://bugs.gentoo.org";
+       )
+       meson_src_configure
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

Reply via email to