summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2022-12-25 12:21:33 +0700
committerAndrey Grozin <grozin@gentoo.org>2022-12-25 12:21:33 +0700
commit7561234526ea3091997b35eb2e96b1e58899d491 (patch)
tree8344f78e5eed29aff524e8c208ee4d7c779cc18a /app-text
parentapp-text/crqt-ng: bump to 1.0.3 (diff)
downloadgentoo-7561234526ea3091997b35eb2e96b1e58899d491.tar.gz
gentoo-7561234526ea3091997b35eb2e96b1e58899d491.tar.bz2
gentoo-7561234526ea3091997b35eb2e96b1e58899d491.zip
app-text/crwx-ng: initial import
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/crwx-ng/Manifest1
-rw-r--r--app-text/crwx-ng/crwx-ng-0.2.0.ebuild21
-rw-r--r--app-text/crwx-ng/metadata.xml27
3 files changed, 49 insertions, 0 deletions
diff --git a/app-text/crwx-ng/Manifest b/app-text/crwx-ng/Manifest
new file mode 100644
index 000000000000..3120086dcfd6
--- /dev/null
+++ b/app-text/crwx-ng/Manifest
@@ -0,0 +1 @@
+DIST crwx-ng-0.2.0.tar.bz2 364917 BLAKE2B f8d541fa479fe3102d495ba43ce51d256f55b9724844d26b89db8396f2cbf90680dd312ecc0c816ee50fb498c8b69ba69d0db73f9ee5dcefc9991e8077754171 SHA512 0890a6066fca7178b483749e946659a6e4304f13694601024fe500e9b79351f7170403b136407a831abe7a040f775dd34c02d9411814c136da68ee6b69e00a99
diff --git a/app-text/crwx-ng/crwx-ng-0.2.0.ebuild b/app-text/crwx-ng/crwx-ng-0.2.0.ebuild
new file mode 100644
index 000000000000..7317e7272011
--- /dev/null
+++ b/app-text/crwx-ng/crwx-ng-0.2.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+WX_GTK_VER="3.0-gtk3"
+inherit cmake wxwidgets
+
+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.3[png,jpeg,fontconfig,gif=,svg=,chm=,harfbuzz=,fribidi=,zstd=,libutf8proc=]
+ x11-libs/wxGTK:${WX_GTK_VER}"
+BDEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}
+ || ( media-fonts/liberation-fonts media-fonts/corefonts )"
diff --git a/app-text/crwx-ng/metadata.xml b/app-text/crwx-ng/metadata.xml
new file mode 100644
index 000000000000..825eb1745c89
--- /dev/null
+++ b/app-text/crwx-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 wx program. 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>