summaryrefslogtreecommitdiff
path: root/app-text/foliate
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-21 17:50:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-21 17:50:24 +0100
commitfeb0daf81d888e9160f9f94502de09b66f2a63fd (patch)
treeb6e5c40ce2abef3da27ed50a023153f475e0ddef /app-text/foliate
parent9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff)
gentoo resync : 21.06.2020
Diffstat (limited to 'app-text/foliate')
-rw-r--r--app-text/foliate/Manifest3
-rw-r--r--app-text/foliate/foliate-2.2.1.ebuild46
-rw-r--r--app-text/foliate/metadata.xml15
3 files changed, 64 insertions, 0 deletions
diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest
new file mode 100644
index 000000000000..73854e4f98e0
--- /dev/null
+++ b/app-text/foliate/Manifest
@@ -0,0 +1,3 @@
+DIST foliate-2.2.1.tar.gz 4310842 BLAKE2B 3e858379c84a790d1ce4d60af25c4911d2864d7b82f1896216ae8a01598ae7865d65b90056348b372b328e84184e75fcbacfbb2b6fdb8aa9a7e254e726957c4f SHA512 3c9c3d8f2df72fcb8699ccf23bf1850c129c6f387a9b12489d8fcc3dd1da4da5a7e0707f74f4607ab0e28d67e2f55f0bb2d053fbbc072bc9915c54c4857e4cff
+EBUILD foliate-2.2.1.ebuild 980 BLAKE2B 38bf7445278159e8d914dad322e8d3164a2e7edacc6a37f149f625897c0f98aab560679eb4d984fac9660084227ef696996b51ac7d50657c0fbcf8c9fe86ccaa SHA512 633d6da653eb3ffe94b3a7fc576e5cf20cf085d69798c76ef82efdfe64e86bfbe20ef8ead5cb2f386c01237ee0e0ec4fe9df63c6d62ddc2d6e4e2027aea3a568
+MISC metadata.xml 526 BLAKE2B 9663aeafbe2182662001d238253587b45512bf1d71308e7e1d0fbd197c88d2cf384ff38a464da61facabbc8eeb3e391abc382426291eb75a2853ede4152d490c SHA512 0132f71baba803835fe3789cbb41d6a7d98fcfe06ff14e6212f734d807ed0b3ce0e4379d5531f1f23a82b99672102d227ce3eeeb9a7e2f94ead65755f1c7cf24
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..a64449df461f
--- /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="${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
+}
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>