From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7EA761382C5 for ; Mon, 15 Jun 2020 19:48:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FBF5E0D9E; Mon, 15 Jun 2020 16:35:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79A36E0D9D for ; Mon, 15 Jun 2020 16:35:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6B9B34ED52 for ; Mon, 15 Jun 2020 16:35:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8FFD9297 for ; Mon, 15 Jun 2020 16:35:12 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1592238883.adc5e44f43a81cc701b440a91437a37dbe84e209.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/foliate/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/foliate/Manifest app-text/foliate/foliate-2.2.1.ebuild app-text/foliate/metadata.xml X-VCS-Directories: app-text/foliate/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: adc5e44f43a81cc701b440a91437a37dbe84e209 X-VCS-Branch: master Date: Mon, 15 Jun 2020 16:35:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 19cbae10-8d17-43e2-81f1-d33a1d68dd59 X-Archives-Hash: 95991ceac98c6fe3888514a86614d38e commit: adc5e44f43a81cc701b440a91437a37dbe84e209 Author: Andrey Grozin gentoo org> AuthorDate: Mon Jun 15 16:34:43 2020 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Mon Jun 15 16:34:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adc5e44f app-text/foliate: initial import Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Andrey Grozin gentoo.org> app-text/foliate/Manifest | 1 + app-text/foliate/foliate-2.2.1.ebuild | 46 +++++++++++++++++++++++++++++++++++ app-text/foliate/metadata.xml | 15 ++++++++++++ 3 files changed, 62 insertions(+) diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest new file mode 100644 index 00000000000..1cfbc505eff --- /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 00000000000..734e1532440 --- /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 00000000000..61acad2b955 --- /dev/null +++ b/app-text/foliate/metadata.xml @@ -0,0 +1,15 @@ + + + + + grozin@gentoo.org + + + 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 + + + johnfactotum/foliate + +