diff options
author | Andrey Grozin <grozin@gentoo.org> | 2023-11-28 21:24:34 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2023-11-28 21:24:34 +0700 |
commit | 52150c8cacbdd48d5744de2838a39c69503c7a9a (patch) | |
tree | 1be1df88d115b1440c4760030c2d0d651f51ef4b /app-text | |
parent | app-text/calibre: Stabilize 5.44.0-r3 amd64, #918680 (diff) | |
download | gentoo-52150c8cacbdd48d5744de2838a39c69503c7a9a.tar.gz gentoo-52150c8cacbdd48d5744de2838a39c69503c7a9a.tar.bz2 gentoo-52150c8cacbdd48d5744de2838a39c69503c7a9a.zip |
app-text/foliate: bump to 3.0.1
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/foliate/Manifest | 1 | ||||
-rw-r--r-- | app-text/foliate/foliate-3.0.1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest index abe37e46fc62..0108d32562d1 100644 --- a/app-text/foliate/Manifest +++ b/app-text/foliate/Manifest @@ -1 +1,2 @@ DIST foliate-2.6.4.tar.gz 4824560 BLAKE2B fd109d76a7cd0cfbff3fb7273b232a7c749922c5e4d782ed4b7dcb63e914a7cc0bd6e7623a509c3117e45ead5c1d7538c57f322742e4e826b88bddc6182abdf1 SHA512 af58efa2c33451617dbf7327b56551557d762ac80f1b489d5da1c5a46ebbfe329052149deb8b2f4c7729a7fd46deccd5500fd96c0a662b731c871c1ad8061cd3 +DIST foliate-3.0.1.tar.bz2 7873783 BLAKE2B 678fcd9c384df8b623074a83d5ab64bbd6144301bad60813c2d7735e8c89ed94cc35ef90adf234db894d9fca5ed2a45db985944f5749d3c433f32ebfec0d87b2 SHA512 e4e7344858327b75cbd44c4b4243386c9f175499c14f3d4a4407c6d850af9b585878ead69b4ab1941561ab84b4aa9db0e1ef66eaeabe4bbae5078d652f16b2a8 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 +} |