commit:     e2862b2d203754d087fcb6a52990f81b52a03c1c
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  6 12:46:40 2024 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Jun  6 12:46:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2862b2d

app-text/foliate: bump to 3.1.1

Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 app-text/foliate/Manifest             |  1 +
 app-text/foliate/foliate-3.1.1.ebuild | 44 +++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest
index de219933828b..da8ad6f94fae 100644
--- a/app-text/foliate/Manifest
+++ b/app-text/foliate/Manifest
@@ -1 +1,2 @@
 DIST foliate-3.1.0.tar.bz2 7902106 BLAKE2B 
cd804b168529ebde3312954de6e907d4de30ef4342dbcf872757f485d5b5e223c96629c01d6e0e0b3bb7cfcc1e98015b034b053d6a6429138a8aa1ed40b0b0c2
 SHA512 
36dfb6618b04fcfdd3d298133f9fb592e987b898420da08d1e2e1539f162abc4c06cf28e3c9e6ae5f008554fdec9ab36a69333f5c5074b069c345ae729301236
+DIST foliate-3.1.1.tar.bz2 7922889 BLAKE2B 
8f654e05ae3ec308670b9117c7d6a9d89f3e007ffcd9854552bf3afc56ea8ca5b31a489ad1b5d6dd639d8c5d00e1d28c5252c290b9713ae947080b70d34e864c
 SHA512 
d5086319a2d43947a05d75a9c9c31ca48a6933b6f7a9fef336f27b7a304ad578953315455b813e2c3d37fd57198129a82aae59671338cd89f7a675b2aa7824a8

diff --git a/app-text/foliate/foliate-3.1.1.ebuild 
b/app-text/foliate/foliate-3.1.1.ebuild
new file mode 100644
index 000000000000..67ccb1f92eb6
--- /dev/null
+++ b/app-text/foliate/foliate-3.1.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PLOCALES="ar cs de el es eu fa_IR fr he hi hr id ie it ko nb nl nn oc pt_BR ru 
sv tr uk zh_CN zh_TW"
+inherit meson plocale xdg gnome2-utils
+DESCRIPTION="gtk ebook reader built with gjs"
+HOMEPAGE="https://github.com/johnfactotum/foliate/";
+SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="${MESON_DEPEND}"
+RDEPEND=">=dev-libs/gjs-1.76
+       >=gui-libs/gtk-4.12
+       gui-libs/libadwaita
+       net-libs/webkit-gtk:6[introspection]
+       sys-devel/gettext"
+
+src_prepare() {
+       default
+       xdg_environment_reset
+
+       plocale_find_changes "${S}"/po '' '.po'
+
+       rm_po() {
+               rm po/${1}.po
+               sed -e "/^${1}/d" -i po/LINGUAS
+       }
+
+       plocale_for_each_disabled_locale rm_po
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}

Reply via email to