commit:     d637d7f1acc140f956267628b9cafe6f6f5c2dce
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 22 05:59:59 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 06:14:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d637d7f1

app-editors/gnome-text-editor: Version bump to 42.0

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-editors/gnome-text-editor/Manifest             |  1 +
 .../42.0-appdata-fix-appstream-validation.patch    | 25 +++++++++
 .../gnome-text-editor-42.0.ebuild                  | 60 ++++++++++++++++++++++
 3 files changed, 86 insertions(+)

diff --git a/app-editors/gnome-text-editor/Manifest 
b/app-editors/gnome-text-editor/Manifest
index fbd784b9c79e..93fc2d2763a2 100644
--- a/app-editors/gnome-text-editor/Manifest
+++ b/app-editors/gnome-text-editor/Manifest
@@ -1 +1,2 @@
+DIST gnome-text-editor-42.0.tar.xz 1126224 BLAKE2B 
7e02cea493696630284d7994f1d227a5589ad7aa7d7b98e5f67655ebcd69f7e2ded1195368e666ad26621b6b32168c7defde1cd3c2e278ca8741bf572979154e
 SHA512 
4462ef0e0113863e752ce2c4d499386cbf9d72c67126fb60512eea39bd53bed6d56b2a62511e9af62024f9704ba722411ebbd5040aabcefce0b460925b91ad1f
 DIST gnome-text-editor-42.rc1.tar.xz 1093060 BLAKE2B 
14bddc82e4dd410b357cff7274ed35c07b13da7648db5840eb2c8dae7c057935b9b6f5f249c8c04f3a8ed27543014de8f7fc38b98985cd481064752f28a0b623
 SHA512 
debebccceb4bbe2bfc87a1c1f0813b10fc0c565cc89c6b3a826daa0a3344c88b9f20135087335f61d7b736a8c8ada7e2f823795c1e6c8d3d03ac7325afd0a9ae

diff --git 
a/app-editors/gnome-text-editor/files/42.0-appdata-fix-appstream-validation.patch
 
b/app-editors/gnome-text-editor/files/42.0-appdata-fix-appstream-validation.patch
new file mode 100644
index 000000000000..d53b8d481ba3
--- /dev/null
+++ 
b/app-editors/gnome-text-editor/files/42.0-appdata-fix-appstream-validation.patch
@@ -0,0 +1,25 @@
+From 985c8dd411a27ad067fe9ac8951d644bad57324a Mon Sep 17 00:00:00 2001
+From: Christian Hergert <[email protected]>
+Date: Fri, 18 Mar 2022 22:35:37 -0700
+Subject: [PATCH] appdata: fix appstream validation
+
+Fixes #329
+---
+ data/org.gnome.TextEditor.appdata.xml.in.in | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/data/org.gnome.TextEditor.appdata.xml.in.in 
b/data/org.gnome.TextEditor.appdata.xml.in.in
+index f4e751f..3a39a8d 100644
+--- a/data/org.gnome.TextEditor.appdata.xml.in.in
++++ b/data/org.gnome.TextEditor.appdata.xml.in.in
+@@ -45,7 +45,6 @@
+ 
+   <releases>
+     <release version="42.0" date="2022-03-18"/>
+-    <release version="42.rc1" date="2022-03-07"/>
+   </releases>
+ 
+   <kudos>
+-- 
+2.34.1
+

diff --git a/app-editors/gnome-text-editor/gnome-text-editor-42.0.ebuild 
b/app-editors/gnome-text-editor/gnome-text-editor-42.0.ebuild
new file mode 100644
index 000000000000..c48b7bacaddd
--- /dev/null
+++ b/app-editors/gnome-text-editor/gnome-text-editor-42.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022 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://gitlab.gnome.org/GNOME/gnome-text-editor";
+SRC_URI="mirror://gnome/sources/gnome-text-editor/42/gnome-text-editor-${PV/_/.}.tar.xz"
+S="${WORKDIR}/gnome-text-editor-${PV/_/.}"
+
+LICENSE="GPL-3+ CC-BY-SA-3.0"
+SLOT="0"
+
+IUSE="spell"
+
+KEYWORDS="~amd64"
+
+DEPEND="
+       >=dev-libs/glib-2.69:2
+       >=gui-libs/gtk-4.6:4
+       >=gui-libs/gtksourceview-5.3.1:5
+       gui-libs/libadwaita:1
+       dev-libs/libpcre
+       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
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PV}-appdata-fix-appstream-validation.patch
+)
+
+src_configure() {
+       local emesonargs=(
+               $(meson_feature spell enchant)
+       )
+       meson_src_configure
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

Reply via email to