diff options
author | Andrey Grozin <grozin@gentoo.org> | 2020-07-06 13:37:15 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2020-07-06 13:37:15 +0700 |
commit | f167c2819505cafcfab78101dbe5c581c16f8fb0 (patch) | |
tree | 8554485379405c26f500b41582c09d57b21df45a /app-text/foliate | |
parent | net-dialup/picocom: remove old (diff) | |
download | gentoo-f167c2819505cafcfab78101dbe5c581c16f8fb0.tar.gz gentoo-f167c2819505cafcfab78101dbe5c581c16f8fb0.tar.bz2 gentoo-f167c2819505cafcfab78101dbe5c581c16f8fb0.zip |
app-text/foliate: bump to 2.4.1
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'app-text/foliate')
-rw-r--r-- | app-text/foliate/Manifest | 1 | ||||
-rw-r--r-- | app-text/foliate/foliate-2.4.1.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest index 1cfbc505eff5..3afbe2cb23cd 100644 --- a/app-text/foliate/Manifest +++ b/app-text/foliate/Manifest @@ -1 +1,2 @@ DIST foliate-2.2.1.tar.gz 4310842 BLAKE2B 3e858379c84a790d1ce4d60af25c4911d2864d7b82f1896216ae8a01598ae7865d65b90056348b372b328e84184e75fcbacfbb2b6fdb8aa9a7e254e726957c4f SHA512 3c9c3d8f2df72fcb8699ccf23bf1850c129c6f387a9b12489d8fcc3dd1da4da5a7e0707f74f4607ab0e28d67e2f55f0bb2d053fbbc072bc9915c54c4857e4cff +DIST foliate-2.4.1.tar.gz 4637388 BLAKE2B 4dfc0e0de5c668e73d80ff86b009f4711f0a439e6defd01a591f6271dab2de403d5f5304b29cad6c04661ee3da4d821416952324b500f73d22cdb62f85f97fed SHA512 25ae76232cb70722b0bb17d8a22c72011d99b7029f4ce70fa85a2f4baa2f93ce1fb855f5a03df882fe6f6af42101d4a368dc05a09d5fbeb78cb503b5d57fffe1 diff --git a/app-text/foliate/foliate-2.4.1.ebuild b/app-text/foliate/foliate-2.4.1.ebuild new file mode 100644 index 000000000000..74315efa5dec --- /dev/null +++ b/app-text/foliate/foliate-2.4.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PLOCALES="cs_CS de_DE es fr_FR id_ID ie it nl pt_BR ru_RU sv tr uk zh_CN zh_TW" +inherit meson l10n xdg-utils gnome2-utils +SRC_URI="https://github.com/johnfactotum/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="gtk ebook reader built with gjs" +HOMEPAGE="https://github.com/johnfactotum/foliate/" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +BDEPEND="${MESON_DEPEND} + sys-devel/gettext" +RDEPEND="dev-libs/gjs + net-libs/webkit-gtk" + +src_prepare() { + default + + l10n_find_plocales_changes "${S}"/po '' '.po' + + rm_po() { + rm po/${1}.po + sed -e "/^${1}/d" -i po/LINGUAS + } + + l10n_for_each_disabled_locale_do rm_po +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update + gnome2_schemas_update +} |