Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/foliate/
Date: Fri, 21 Jan 2022 05:48:35
Message-Id: 1642744083.b83b491348e98652b22f8d3310da2ea0299b3b1c.grozin@gentoo
1 commit: b83b491348e98652b22f8d3310da2ea0299b3b1c
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 21 05:48:03 2022 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 21 05:48:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b83b4913
7
8 app-text/foliate: bump to 2.6.4
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
12
13 app-text/foliate/Manifest | 1 +
14 app-text/foliate/foliate-2.6.4.ebuild | 51 +++++++++++++++++++++++++++++++++++
15 2 files changed, 52 insertions(+)
16
17 diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest
18 index c66e3fbd29ad..6e03f51b327e 100644
19 --- a/app-text/foliate/Manifest
20 +++ b/app-text/foliate/Manifest
21 @@ -1,2 +1,3 @@
22 DIST foliate-2.6.2.tar.gz 4760966 BLAKE2B 299dd8ab9f489772d18b85749cb312c8ddd4b21855452f87176ddfe068ff9e1e78cb5465fec97dbf70de22e7a773cf0910c11c3be7d0adb19279f4d9813249a1 SHA512 30bff00c34f90bfbd26b9e2b567a7cbcb1243cc5da17ff060762b7f1aafa4159daacee615de7f9bfef7d29d8209c8191094a154564f04321280037d2ec76a63e
23 DIST foliate-2.6.3.tar.gz 4822251 BLAKE2B c6cedf4f5ae4e728ab2a7fc35a9fa1e9c69f9d2f8af92060b5363675d5e3fc5cb90698f4b184e792852d66a51e90c361b14d38034149304d10cdacc94100dda7 SHA512 b3dd5bc5a02d3f2210b0c7376426a7ea1668a81fa64fea179da2ab1d852778414cce45171143814d2010d6c03b0287dbbc512884107774ec211e24c6ed8127cb
24 +DIST foliate-2.6.4.tar.gz 4824560 BLAKE2B fd109d76a7cd0cfbff3fb7273b232a7c749922c5e4d782ed4b7dcb63e914a7cc0bd6e7623a509c3117e45ead5c1d7538c57f322742e4e826b88bddc6182abdf1 SHA512 af58efa2c33451617dbf7327b56551557d762ac80f1b489d5da1c5a46ebbfe329052149deb8b2f4c7729a7fd46deccd5500fd96c0a662b731c871c1ad8061cd3
25
26 diff --git a/app-text/foliate/foliate-2.6.4.ebuild b/app-text/foliate/foliate-2.6.4.ebuild
27 new file mode 100644
28 index 000000000000..e884210fcfef
29 --- /dev/null
30 +++ b/app-text/foliate/foliate-2.6.4.ebuild
31 @@ -0,0 +1,51 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PLOCALES="cs de es eu fr id ie it ko nb nl nn pt_BR ru sv tr uk zh_CN zh_TW"
37 +inherit meson plocale xdg-utils gnome2-utils
38 +SRC_URI="https://github.com/johnfactotum/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
39 +DESCRIPTION="gtk ebook reader built with gjs"
40 +HOMEPAGE="https://github.com/johnfactotum/foliate/"
41 +
42 +LICENSE="GPL-3+"
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +IUSE="handy spell"
46 +
47 +BDEPEND="${MESON_DEPEND}
48 + sys-devel/gettext"
49 +RDEPEND="dev-libs/gjs
50 + x11-libs/gtk+:3[introspection]
51 + x11-libs/pango[introspection]
52 + x11-libs/gdk-pixbuf:2[introspection]
53 + net-libs/webkit-gtk:4[introspection]
54 + handy? ( gui-libs/libhandy:=[introspection] )
55 + spell? ( app-text/gspell[introspection] )"
56 +
57 +src_prepare() {
58 + default
59 +
60 + plocale_find_changes "${S}"/po '' '.po'
61 +
62 + rm_po() {
63 + rm po/${1}.po
64 + sed -e "/^${1}/d" -i po/LINGUAS
65 + }
66 +
67 + plocale_for_each_disabled_locale rm_po
68 +}
69 +
70 +pkg_postinst() {
71 + xdg_desktop_database_update
72 + xdg_mimeinfo_database_update
73 + xdg_icon_cache_update
74 + gnome2_schemas_update
75 +}
76 +
77 +pkg_postrm() {
78 + xdg_desktop_database_update
79 + xdg_mimeinfo_database_update
80 + xdg_icon_cache_update
81 + gnome2_schemas_update
82 +}