summaryrefslogtreecommitdiff
path: root/app-text/foliate
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/foliate')
-rw-r--r--app-text/foliate/Manifest2
-rw-r--r--app-text/foliate/foliate-3.0.1.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest
index 9fe7eea17250..e280e5e5b42a 100644
--- a/app-text/foliate/Manifest
+++ b/app-text/foliate/Manifest
@@ -1,6 +1,8 @@
AUX foliate-validate.patch 1073 BLAKE2B 276e30a9efd16cbbbe524bf4ef6edb3eee05b60dfe90a7b460718b016c9cf91ed751fc7a31922fcee4cf4f78cba8d478d9b19c48f9c6cd6a25227615474d2b55 SHA512 b1a28ba2e58440967b8ab683c3d0fc2e7e6510465690fd4494c643d2bad215fa57ce7cd5599def1fa585b8f6b94b650405e6355ef50b38d6bd6f8fcde56e63e7
AUX foliate-webkit.patch 296 BLAKE2B bc6387586dcde1f2b59a7f1e1e5306f06c73813c0ab17d813eefd5b99fa08940e32307f94f9d6475a03255988aaf9968fbde6ed7111a626ec2c23def102aa7b8 SHA512 2ebc26006de0520edea6cdf427bb420e9a564a6e01294ddca45bb6973e505d54c4d4ff6b64301949a8494abd20a156c6e282ee3689e5206e8c5e2ae269efab0c
DIST foliate-2.6.4.tar.gz 4824560 BLAKE2B fd109d76a7cd0cfbff3fb7273b232a7c749922c5e4d782ed4b7dcb63e914a7cc0bd6e7623a509c3117e45ead5c1d7538c57f322742e4e826b88bddc6182abdf1 SHA512 af58efa2c33451617dbf7327b56551557d762ac80f1b489d5da1c5a46ebbfe329052149deb8b2f4c7729a7fd46deccd5500fd96c0a662b731c871c1ad8061cd3
+DIST foliate-3.0.1.tar.bz2 7873783 BLAKE2B 678fcd9c384df8b623074a83d5ab64bbd6144301bad60813c2d7735e8c89ed94cc35ef90adf234db894d9fca5ed2a45db985944f5749d3c433f32ebfec0d87b2 SHA512 e4e7344858327b75cbd44c4b4243386c9f175499c14f3d4a4407c6d850af9b585878ead69b4ab1941561ab84b4aa9db0e1ef66eaeabe4bbae5078d652f16b2a8
EBUILD foliate-2.6.4-r2.ebuild 1209 BLAKE2B bfca831829a675d16b39a27a3a1449431cdb206b7609625df542e7c50d57c682065456e75cdee11126d8c4fbf1ae275b616349792bdfd5c332fa574c3e825285 SHA512 b9f37500296ac30323f85e8d42038438c4f5dc9cc11f6250548d3923a21d96c71e6917b02259a5de62a6585b02b1d46eca2bdbea7d03577b8de5c7fc789e4ffc
EBUILD foliate-2.6.4-r3.ebuild 1386 BLAKE2B 169da3eec3f401b75bb94da57f182b8491031103c8f771de76e1df4e8a49c29bbe634b04499fdbbbd1838cba7f2997bbf1b84c83f9a1c7f344d4924047ae6eaa SHA512 9d0978ebd368c7b71715aa0e5d27d4834b38617f28189ad1a2eb491c243cef27ef946e587277f0495f90666aae8d73d5f8c3ba929e91bf0e5bbcdb779c0843d6
+EBUILD foliate-3.0.1.ebuild 918 BLAKE2B af474939033cf62326bbae2f2c0eb8655ccbb31a156bf4a3ced4ca9663c176192e58697c42e106809d21898d1de60193bad661158569da6671c83f416fe460cf SHA512 44c20dd72ae14b1cbf3920e59e92bc488d784e9848b0f1e1d3a0c7d4b385e7da7dd1b936d38c1128874a138b66e460dec92d03ff0e8e2c97e52621b63657f351
MISC metadata.xml 607 BLAKE2B ab5cffaca496e55fe6c7cce465104fe2c0010d4ef6110c816575944d7f48ae94d834ac61430e1c722daca0ceb739fdb4e2ad35b2afef010675726aea967d2ea2 SHA512 7e1d53bcd78408d6ef3803871d131beced46b118555d7daf0ccc0abf6233d3892568ca3264f1b123f20524d56600cb162c53057fb38a0811571a98ca0051573b
diff --git a/app-text/foliate/foliate-3.0.1.ebuild b/app-text/foliate/foliate-3.0.1.ebuild
new file mode 100644
index 000000000000..675697e18bee
--- /dev/null
+++ b/app-text/foliate/foliate-3.0.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 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 id ie it ko nb nl nn pt_BR ru sv tr uk zh_CN zh_TW"
+inherit meson plocale xdg gnome2-utils
+SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2"
+DESCRIPTION="gtk ebook reader built with gjs"
+HOMEPAGE="https://github.com/johnfactotum/foliate/"
+
+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
+}