diff options
author | Andrey Grozin <grozin@gentoo.org> | 2020-10-30 22:33:57 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2020-10-30 22:33:57 +0700 |
commit | c5e8b06c34b35a1b3de29d47d4b8b319446bd73a (patch) | |
tree | 42623b399ee29bc1e65d9493e1641af9e51b72ed /app-text/foliate | |
parent | app-text/coolreader: bump to 3.2.50 (diff) | |
download | gentoo-c5e8b06c34b35a1b3de29d47d4b8b319446bd73a.tar.gz gentoo-c5e8b06c34b35a1b3de29d47d4b8b319446bd73a.tar.bz2 gentoo-c5e8b06c34b35a1b3de29d47d4b8b319446bd73a.zip |
app-text/foliate: bump to 2.5.0
Package-Manager: Portage-3.0.8, Repoman-3.0.2
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.5.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest index f7f03772d3b2..a0c37fef574c 100644 --- a/app-text/foliate/Manifest +++ b/app-text/foliate/Manifest @@ -1 +1,2 @@ DIST foliate-2.4.2.tar.gz 4638211 BLAKE2B 4263e047d7251a0f15a2cda2592ba24dbbb9754a37ba6367f0d1e778e3f926cd46777d505e9f92d74bdcd28a722988b60f064f1a841c53a9b2849130941d9481 SHA512 6dda76c9bd3f9f3273bafdd65463adfcab84d9c81ca89c2fd1cda4c5d7618d84610e11c75936c5df2bb118caa3f3e1e77ded506da670263e5af5b0ad92a97a07 +DIST foliate-2.5.0.tar.gz 4716094 BLAKE2B c2db3116df1117db06dca93cb3ac47e5f5c627c9e424e5add315f8623b9d71b6cc87112729ce6daa5cdfc81f3b8664555623ba55d6cf674369137ecf0859e321 SHA512 3eb3ecff36a105f6d9ba7e019312bef81e34f62f61310eaf3460c7aea41585fc9b410d08f9e4fd03fe60629b1ebb6f9f6a4c900e898ac712b104c615dc3737c8 diff --git a/app-text/foliate/foliate-2.5.0.ebuild b/app-text/foliate/foliate-2.5.0.ebuild new file mode 100644 index 000000000000..94288a8fb117 --- /dev/null +++ b/app-text/foliate/foliate-2.5.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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" +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="handy spell" + +BDEPEND="${MESON_DEPEND} + sys-devel/gettext" +RDEPEND="dev-libs/gjs + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] + x11-libs/gdk-pixbuf:2[introspection] + net-libs/webkit-gtk:4[introspection] + handy? ( gui-libs/libhandy:=[introspection] ) + spell? ( app-text/gspell[introspection] )" + +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 +} |