From: "Andrey Grozin" <grozin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/crqt-ng/
Date: Fri, 23 Dec 2022 04:45:50 +0000 (UTC) [thread overview]
Message-ID: <1671770735.ed39357e9e4234408fce263bb79fecbde4c2c746.grozin@gentoo> (raw)
commit: ed39357e9e4234408fce263bb79fecbde4c2c746
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 23 04:45:35 2022 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Fri Dec 23 04:45:35 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed39357e
app-text/crqt-ng: Initial import
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
app-text/crqt-ng/Manifest | 1 +
app-text/crqt-ng/crqt-ng-1.0.2.ebuild | 41 +++++++++++++++++++++++++++++++++++
app-text/crqt-ng/metadata.xml | 27 +++++++++++++++++++++++
3 files changed, 69 insertions(+)
diff --git a/app-text/crqt-ng/Manifest b/app-text/crqt-ng/Manifest
new file mode 100644
index 000000000000..8684a4a14325
--- /dev/null
+++ b/app-text/crqt-ng/Manifest
@@ -0,0 +1 @@
+DIST crqt-ng-1.0.2.tar.bz2 419058 BLAKE2B 5d8b6704e6ec226852a0c82cc6c00b386c5b348675f00c4acc9dddbee999f381616083101f183523671ef81bb5036eddb7643b3f31857535d6773a549405ab1c SHA512 f8ebf9d5dec13b69fe7440209cd4da807d25413075b4ad2de885fa73134729be5c23df7d0a73bff061171449e394474ac3779b940120f144d93a7a98eca6cf55
diff --git a/app-text/crqt-ng/crqt-ng-1.0.2.ebuild b/app-text/crqt-ng/crqt-ng-1.0.2.ebuild
new file mode 100644
index 000000000000..107e93f22c54
--- /dev/null
+++ b/app-text/crqt-ng/crqt-ng-1.0.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PLOCALES="bg cs hu 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=""
+IUSE="+gif +svg +chm +harfbuzz +libunibreak +fribidi +zstd +libutf8proc"
+
+CDEPEND="app-text/crengine-ng[png,jpeg,fontconfig,gif=,svg=,chm=,harfbuzz=,fribidi=,zstd=,libutf8proc=]
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5"
+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
+}
diff --git a/app-text/crqt-ng/metadata.xml b/app-text/crqt-ng/metadata.xml
new file mode 100644
index 000000000000..6aee26085f6e
--- /dev/null
+++ b/app-text/crqt-ng/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>grozin@gentoo.org</email>
+ <name>Andrey Grozin</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>valexlin@gmail.com</email>
+ <name>Aleksey Chernov</name>
+ <description>upstream</description>
+ </maintainer>
+ <longdescription lang="en">
+ A fork of coolreader. Supported formats are: fb2 (including fb2.zip), fb3, epub (without DRM),
+ rtf, doc, docx, odt, html, chm, pdb, mobi (without DRM), txt, trc, prc.
+ </longdescription>
+ <use>
+ <flag name="chm">Support chm format</flag>
+ <flag name="harfbuzz">Use <pkg>media-libs/harfbuzz</pkg> for kerning and ligatures</flag>
+ <flag name="libunibreak">Use <pkg>dev-libs/libunibreak</pkg> for hyphenation</flag>
+ <flag name="fribidi">Support bidirectional text by <pkg>dev-libs/fribidi</pkg></flag>
+ <flag name="libutf8proc">Use <pkg>dev-libs/libutf8proc</pkg> for manipulating unicode strings</flag>
+ </use>
+ <upstream>
+ <remote-id type="gitlab">coolreader-ng/crqt-ng</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2022-12-23 4:45 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-23 4:45 Andrey Grozin [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-12-23 5:41 [gentoo-commits] repo/gentoo:master commit in: app-text/crqt-ng/ Andrey Grozin
2022-12-25 5:19 Andrey Grozin
2022-12-25 8:04 Andrey Grozin
2022-12-31 9:48 Andrey Grozin
2023-02-11 11:38 Andrey Grozin
2023-02-17 13:42 Andrey Grozin
2023-03-17 17:36 Sam James
2023-03-17 18:35 Sam James
2023-04-07 3:30 Andrey Grozin
2023-04-20 9:40 Andrey Grozin
2023-04-20 9:41 Andrey Grozin
2023-04-24 5:28 Andrey Grozin
2023-05-25 7:46 Arthur Zamarin
2023-05-25 7:46 Arthur Zamarin
2023-05-25 8:29 Andrey Grozin
2023-05-31 10:48 Andrey Grozin
2023-12-26 11:38 Andrey Grozin
2024-02-13 10:51 Andrey Grozin
2024-02-15 4:35 Andrey Grozin
2024-02-15 4:37 Andrey Grozin
2024-04-11 4:55 Arthur Zamarin
2024-04-11 4:55 Arthur Zamarin
2024-04-11 6:26 Andrey Grozin
2024-05-24 15:31 Andrey Grozin
2024-09-10 8:59 Andrey Grozin
2024-09-10 11:28 Andrey Grozin
2024-11-01 7:13 Sam James
2024-11-10 13:41 Andrey Grozin
2024-12-31 7:14 Andrey Grozin
2025-02-02 15:03 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1671770735.ed39357e9e4234408fce263bb79fecbde4c2c746.grozin@gentoo \
--to=grozin@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox