summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2024-07-03 12:35:48 +0700
committerAndrey Grozin <grozin@gentoo.org>2024-07-03 12:36:29 +0700
commit2f39aa2ea5adf27ac458c20060a6af47124155bb (patch)
tree338e40ab520fcff99ebe905c337500279570ecee /app-text
parentdev-util/bear: add 3.1.4 (diff)
downloadgentoo-2f39aa2ea5adf27ac458c20060a6af47124155bb.tar.gz
gentoo-2f39aa2ea5adf27ac458c20060a6af47124155bb.tar.bz2
gentoo-2f39aa2ea5adf27ac458c20060a6af47124155bb.zip
app-text/crwx-ng: move setup-wxwidgets to src_configure
Closes: https://bugs.gentoo.org/934543 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/crwx-ng/crwx-ng-0.3.1-r2.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-text/crwx-ng/crwx-ng-0.3.1-r2.ebuild b/app-text/crwx-ng/crwx-ng-0.3.1-r2.ebuild
new file mode 100644
index 000000000000..b92868a5f3c6
--- /dev/null
+++ b/app-text/crwx-ng/crwx-ng-0.3.1-r2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+WX_GTK_VER="3.2-gtk3"
+inherit cmake wxwidgets xdg
+
+DESCRIPTION="Cross-platform e-book reader"
+HOMEPAGE="https://gitlab.com/coolreader-ng/crwx-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=]
+ x11-libs/wxGTK:${WX_GTK_VER}[X]"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}
+ virtual/ttf-fonts"
+
+src_configure() {
+ setup-wxwidgets
+ cmake_src_configure
+}