diff options
author | Andrey Grozin <grozin@gentoo.org> | 2020-06-15 23:34:43 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2020-06-15 23:34:43 +0700 |
commit | adc5e44f43a81cc701b440a91437a37dbe84e209 (patch) | |
tree | b6b22d60e5b08239bf0134959dc77fc245a16483 /app-text/foliate | |
parent | profiles: update USE-flag masks for sys-apps/flashrom (diff) | |
download | gentoo-adc5e44f43a81cc701b440a91437a37dbe84e209.tar.gz gentoo-adc5e44f43a81cc701b440a91437a37dbe84e209.tar.bz2 gentoo-adc5e44f43a81cc701b440a91437a37dbe84e209.zip |
app-text/foliate: initial import
Package-Manager: Portage-2.3.101, Repoman-2.3.22
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.2.1.ebuild | 46 | ||||
-rw-r--r-- | app-text/foliate/metadata.xml | 15 |
3 files changed, 62 insertions, 0 deletions
diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest new file mode 100644 index 000000000000..1cfbc505eff5 --- /dev/null +++ b/app-text/foliate/Manifest @@ -0,0 +1 @@ +DIST foliate-2.2.1.tar.gz 4310842 BLAKE2B 3e858379c84a790d1ce4d60af25c4911d2864d7b82f1896216ae8a01598ae7865d65b90056348b372b328e84184e75fcbacfbb2b6fdb8aa9a7e254e726957c4f SHA512 3c9c3d8f2df72fcb8699ccf23bf1850c129c6f387a9b12489d8fcc3dd1da4da5a7e0707f74f4607ab0e28d67e2f55f0bb2d053fbbc072bc9915c54c4857e4cff diff --git a/app-text/foliate/foliate-2.2.1.ebuild b/app-text/foliate/foliate-2.2.1.ebuild new file mode 100644 index 000000000000..734e15324406 --- /dev/null +++ b/app-text/foliate/foliate-2.2.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 it nl pt_BR ru_RU sv 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="sys-devel/gettext" +RDEPEND="${BDEPEND} + 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 +} diff --git a/app-text/foliate/metadata.xml b/app-text/foliate/metadata.xml new file mode 100644 index 000000000000..61acad2b9559 --- /dev/null +++ b/app-text/foliate/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>grozin@gentoo.org</email> + </maintainer> + <longdescription lang="en"> + A simple and modern GTK eBook viewer, built with GJS and Epub.js. + Supported formats: + epub, epub3, azw, azw3, mobi, fb2, fb2.zip, cbr, cbz, cbt, cb7, txt + </longdescription> + <upstream> + <remote-id type="github">johnfactotum/foliate</remote-id> + </upstream> +</pkgmetadata> |