app-editors/gnome-text-editor: New default text editor for GNOME 42

Bug: https://bugs.gentoo.org/835448
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
Mart Raudsepp
2022-03-16 23:36:50 +02:00
parent dfb4d312a3
commit ee8e4d3a18
4 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST gnome-text-editor-42.rc1.tar.xz 1093060 BLAKE2B 14bddc82e4dd410b357cff7274ed35c07b13da7648db5840eb2c8dae7c057935b9b6f5f249c8c04f3a8ed27543014de8f7fc38b98985cd481064752f28a0b623 SHA512 debebccceb4bbe2bfc87a1c1f0813b10fc0c565cc89c6b3a826daa0a3344c88b9f20135087335f61d7b736a8c8ada7e2f823795c1e6c8d3d03ac7325afd0a9ae

View File

@@ -0,0 +1,56 @@
# 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
"
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
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
</pkgmetadata>

View File

@@ -411,6 +411,7 @@ app-misc/emelfm2
# GNOME 42 mask, bug #835448
>=gui-libs/libhandy-1.5.0
>=gui-libs/gtksourceview-5.3
>=app-editors/gnome-text-editor-42_alpha
# Michał Górny <mgorny@gentoo.org> (2021-12-18)
# EOL kernel with known vulnerabilities. Please move to one of the LTS