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 9071015ACFB for ; Thu, 20 Apr 2023 09:40:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4D48E0948; Thu, 20 Apr 2023 09:40:30 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B330AE0948 for ; Thu, 20 Apr 2023 09:40:30 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A81AF340A7F for ; Thu, 20 Apr 2023 09:40:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15070A1D for ; Thu, 20 Apr 2023 09:40:27 +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: <1681983606.b23b13c13a7a45294ea0b46cb1ff4dd327a7eb9d.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/crqt-ng/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/crqt-ng/crqt-ng-1.0.11-r1.ebuild X-VCS-Directories: app-text/crqt-ng/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: b23b13c13a7a45294ea0b46cb1ff4dd327a7eb9d X-VCS-Branch: master Date: Thu, 20 Apr 2023 09:40:27 +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: dd43f96d-92a7-44f0-b4a9-d361026fb87d X-Archives-Hash: a4dd9d60525bea65df628690083d7359 commit: b23b13c13a7a45294ea0b46cb1ff4dd327a7eb9d Author: Andrey Grozin gentoo org> AuthorDate: Thu Apr 20 09:40:06 2023 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Thu Apr 20 09:40:06 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b23b13c1 app-text/crqt-ng: DEPEND on crengine:0/ Signed-off-by: Andrey Grozin gentoo.org> app-text/crqt-ng/crqt-ng-1.0.11-r1.ebuild | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/app-text/crqt-ng/crqt-ng-1.0.11-r1.ebuild b/app-text/crqt-ng/crqt-ng-1.0.11-r1.ebuild new file mode 100644 index 000000000000..61940f927e92 --- /dev/null +++ b/app-text/crqt-ng/crqt-ng-1.0.11-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PLOCALES="bg cs hu nl ru uk" +inherit cmake plocale xdg + +DESCRIPTION="Cross-platform e-book reader" +HOMEPAGE="https://gitlab.com/coolreader-ng/crqt-ng" +SRC_URI="https://gitlab.com/coolreader-ng/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+gif +svg +chm +harfbuzz +libunibreak +fribidi +zstd +libutf8proc" + +CDEPEND=">=app-text/crengine-ng-0.9.7:0=[png,jpeg,fontconfig,gif=,svg=,chm=,harfbuzz=,fribidi=,zstd=,libutf8proc=] + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5" +RDEPEND="${CDEPEND}" +BDEPEND="${CDEPEND} + dev-qt/linguist-tools:5" + +src_prepare() { + cmake_src_prepare + xdg_environment_reset + + # locales + plocale_find_changes "${S}"/src/i18n 'crqt_' '.ts' + sed -e "s|set(LANGUAGES .*)|set(LANGUAGES $(plocale_get_locales))|i" \ + -i "${S}"/src/CMakeLists.txt \ + || die "sed CMakeLists.txt failed" +} + +src_configure() { + CMAKE_USE_DIR="${S}" + CMAKE_BUILD_TYPE="Release" + local mycmakeargs=(-DUSE_QT=QT5) + cmake_src_configure +}