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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 28FEF15800F for ; Thu, 16 Feb 2023 10:57:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5203CE085A; Thu, 16 Feb 2023 10:57:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 32849E085A for ; Thu, 16 Feb 2023 10:57:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 398FE340EE9 for ; Thu, 16 Feb 2023 10:57:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3BD988E for ; Thu, 16 Feb 2023 10:57:36 +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: <1676545037.f14b74a12991c6b170625c818c67a24ab4201c3b.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/foliate/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/foliate/foliate-2.6.4-r2.ebuild X-VCS-Directories: app-text/foliate/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: f14b74a12991c6b170625c818c67a24ab4201c3b X-VCS-Branch: master Date: Thu, 16 Feb 2023 10:57:36 +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: 47d472a3-85ed-4a51-a768-3712230d56fd X-Archives-Hash: 1bf5fab4e1b5a181a5988f4cb790b526 commit: f14b74a12991c6b170625c818c67a24ab4201c3b Author: Andrey Grozin gentoo org> AuthorDate: Thu Feb 16 10:56:48 2023 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Thu Feb 16 10:57:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f14b74a1 app-text/foliate: add python3_11 Signed-off-by: Andrey Grozin gentoo.org> app-text/foliate/foliate-2.6.4-r2.ebuild | 52 ++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/app-text/foliate/foliate-2.6.4-r2.ebuild b/app-text/foliate/foliate-2.6.4-r2.ebuild new file mode 100644 index 000000000000..55777f866399 --- /dev/null +++ b/app-text/foliate/foliate-2.6.4-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PLOCALES="cs de es eu fr id ie it ko nb nl nn pt_BR ru sv tr uk zh_CN zh_TW" +PYTHON_COMPAT=( python3_{9..11} ) +inherit meson python-any-r1 plocale xdg 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} + ${PYTHON_DEPS} + 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] + sys-devel/gettext + handy? ( gui-libs/libhandy:=[introspection] ) + spell? ( app-text/gspell[introspection] )" + +src_prepare() { + default + python_fix_shebang build-aux/meson + xdg_environment_reset + + plocale_find_changes "${S}"/po '' '.po' + + rm_po() { + rm po/${1}.po + sed -e "/^${1}/d" -i po/LINGUAS + } + + plocale_for_each_disabled_locale rm_po +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postinst + gnome2_schemas_update +}