diff options
Diffstat (limited to 'app-text/foliate')
-rw-r--r-- | app-text/foliate/Manifest | 2 | ||||
-rw-r--r-- | app-text/foliate/foliate-3.1.1.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest index c8a0cf388aab..348defa8f427 100644 --- a/app-text/foliate/Manifest +++ b/app-text/foliate/Manifest @@ -1,3 +1,5 @@ DIST foliate-3.1.0.tar.bz2 7902106 BLAKE2B cd804b168529ebde3312954de6e907d4de30ef4342dbcf872757f485d5b5e223c96629c01d6e0e0b3bb7cfcc1e98015b034b053d6a6429138a8aa1ed40b0b0c2 SHA512 36dfb6618b04fcfdd3d298133f9fb592e987b898420da08d1e2e1539f162abc4c06cf28e3c9e6ae5f008554fdec9ab36a69333f5c5074b069c345ae729301236 +DIST foliate-3.1.1.tar.bz2 7922889 BLAKE2B 8f654e05ae3ec308670b9117c7d6a9d89f3e007ffcd9854552bf3afc56ea8ca5b31a489ad1b5d6dd639d8c5d00e1d28c5252c290b9713ae947080b70d34e864c SHA512 d5086319a2d43947a05d75a9c9c31ca48a6933b6f7a9fef336f27b7a304ad578953315455b813e2c3d37fd57198129a82aae59671338cd89f7a675b2aa7824a8 EBUILD foliate-3.1.0.ebuild 920 BLAKE2B c84656143ae140f637f6962f6dbc99e16e94ae6c74cc3e752fcc701b5ea9b97adbc2b8bffad07326a3f9c1f2cc7ac6d187d3ebd91693dc7dd3754d242da1211f SHA512 54db85697a1ab7529f3e11c7b5c36cb52844213a9228e7cd1264923ac4a65c62546046d389979c9854a7c228ebe9ff7906edeb5988f05d85032828992187733d +EBUILD foliate-3.1.1.ebuild 924 BLAKE2B 8fe58a3c6c84bda32a44457c239d2d0cd5e53354ce725eabb8298d1680ac15e5b8d03b22f8ebb4e9b6de8905cfe5e39777409528c3cc3de58f1b7f317235d97a SHA512 883fd7d221eaccb35175f9b83dd40be47fcff38e796157157e5da20f2a33883a3badbfdd8e4c35b1c3ce57ff0ba4b29235f5dc33b49a555e6f5eb625630a940a MISC metadata.xml 527 BLAKE2B b5c85198cff7dacca2093d8ba3899e74d8cfdef703f5166517cbef8084eb1386494ab4749d7609bdfa39b18051ffecfc10eb31604088c7c73343731cd21384bc SHA512 1235c2c0a5f68cd6c2e11f2563a61239960b76ca23cf98ac37340ac19c33d14e82a0063842fa93f6347cba5b813c8207388dbb3299edc1aeb6ff2843b6ed139d 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 +} |