1 |
commit: c5e8b06c34b35a1b3de29d47d4b8b319446bd73a |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 30 15:33:57 2020 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 30 15:33:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e8b06c |
7 |
|
8 |
app-text/foliate: bump to 2.5.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
11 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
12 |
|
13 |
app-text/foliate/Manifest | 1 + |
14 |
app-text/foliate/foliate-2.5.0.ebuild | 51 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest |
18 |
index f7f03772d3b..a0c37fef574 100644 |
19 |
--- a/app-text/foliate/Manifest |
20 |
+++ b/app-text/foliate/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST foliate-2.4.2.tar.gz 4638211 BLAKE2B 4263e047d7251a0f15a2cda2592ba24dbbb9754a37ba6367f0d1e778e3f926cd46777d505e9f92d74bdcd28a722988b60f064f1a841c53a9b2849130941d9481 SHA512 6dda76c9bd3f9f3273bafdd65463adfcab84d9c81ca89c2fd1cda4c5d7618d84610e11c75936c5df2bb118caa3f3e1e77ded506da670263e5af5b0ad92a97a07 |
23 |
+DIST foliate-2.5.0.tar.gz 4716094 BLAKE2B c2db3116df1117db06dca93cb3ac47e5f5c627c9e424e5add315f8623b9d71b6cc87112729ce6daa5cdfc81f3b8664555623ba55d6cf674369137ecf0859e321 SHA512 3eb3ecff36a105f6d9ba7e019312bef81e34f62f61310eaf3460c7aea41585fc9b410d08f9e4fd03fe60629b1ebb6f9f6a4c900e898ac712b104c615dc3737c8 |
24 |
|
25 |
diff --git a/app-text/foliate/foliate-2.5.0.ebuild b/app-text/foliate/foliate-2.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..94288a8fb11 |
28 |
--- /dev/null |
29 |
+++ b/app-text/foliate/foliate-2.5.0.ebuild |
30 |
@@ -0,0 +1,51 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PLOCALES="cs_CS de_DE es eu fr_FR id_ID ie it ko nb nl nn pt_BR ru_RU sv tr uk zh_CN zh_TW" |
36 |
+inherit meson l10n xdg-utils gnome2-utils |
37 |
+SRC_URI="https://github.com/johnfactotum/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
38 |
+DESCRIPTION="gtk ebook reader built with gjs" |
39 |
+HOMEPAGE="https://github.com/johnfactotum/foliate/" |
40 |
+ |
41 |
+LICENSE="GPL-3+" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64" |
44 |
+IUSE="handy spell" |
45 |
+ |
46 |
+BDEPEND="${MESON_DEPEND} |
47 |
+ sys-devel/gettext" |
48 |
+RDEPEND="dev-libs/gjs |
49 |
+ x11-libs/gtk+:3[introspection] |
50 |
+ x11-libs/pango[introspection] |
51 |
+ x11-libs/gdk-pixbuf:2[introspection] |
52 |
+ net-libs/webkit-gtk:4[introspection] |
53 |
+ handy? ( gui-libs/libhandy:=[introspection] ) |
54 |
+ spell? ( app-text/gspell[introspection] )" |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ default |
58 |
+ |
59 |
+ l10n_find_plocales_changes "${S}"/po '' '.po' |
60 |
+ |
61 |
+ rm_po() { |
62 |
+ rm po/${1}.po |
63 |
+ sed -e "/^${1}/d" -i po/LINGUAS |
64 |
+ } |
65 |
+ |
66 |
+ l10n_for_each_disabled_locale_do rm_po |
67 |
+} |
68 |
+ |
69 |
+pkg_postinst() { |
70 |
+ xdg_desktop_database_update |
71 |
+ xdg_mimeinfo_database_update |
72 |
+ xdg_icon_cache_update |
73 |
+ gnome2_schemas_update |
74 |
+} |
75 |
+ |
76 |
+pkg_postrm() { |
77 |
+ xdg_desktop_database_update |
78 |
+ xdg_mimeinfo_database_update |
79 |
+ xdg_icon_cache_update |
80 |
+ gnome2_schemas_update |
81 |
+} |