From: "Andrey Grozin" <grozin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/crengine-ng/
Date: Tue, 5 Mar 2024 04:32:13 +0000 (UTC) [thread overview]
Message-ID: <1709613115.e98b975f6efa27efa724df1d41570f8350a9d764.grozin@gentoo> (raw)
commit: e98b975f6efa27efa724df1d41570f8350a9d764
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 5 04:31:55 2024 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue Mar 5 04:31:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e98b975f
app-text/crengine-ng: bump to 0.9.11
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
app-text/crengine-ng/Manifest | 1 +
app-text/crengine-ng/crengine-ng-0.9.11.ebuild | 78 ++++++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/app-text/crengine-ng/Manifest b/app-text/crengine-ng/Manifest
index 030eee6165c9..956ce7d9b277 100644
--- a/app-text/crengine-ng/Manifest
+++ b/app-text/crengine-ng/Manifest
@@ -1,3 +1,4 @@
DIST crengine-ng-0.9.10.tar.bz2 3416315 BLAKE2B ea1e4aa13c8ab233f26a2878a138cbdf8c371cdcdb86103a91bf09eb3ae3f060da76b5d32fb6d70236b3f9c787876d3f87a4caed353a51942f78b9cd25c11202 SHA512 7cb51ebaf7a62ce996f84deed2d61eef2b5adc76743755aa33e13d53a00409eaba41898f1f613973d3f361529d661952bca690c239f1e7536fcb153d120df83d
DIST crengine-ng-0.9.10_p1.tar.bz2 3520115 BLAKE2B cceeba21ccd0c0e4c753c894fe1abf96ce3d972559b6713a20c049e02ca55a1cae7590d55ef28c9219ebd2d845dfd2ffd51580155a37e091c22a0f30298b45ec SHA512 3294483c9b8e8814d6652eff24fbb2e9e74a535734049751c5eaa7efaaff915587a5258aebcb8b6df779d635f0e459cd5ca23c4993f4ecffa6f2036f853b55eb
+DIST crengine-ng-0.9.11.tar.bz2 4026770 BLAKE2B 27137f3177a9aacc47b4b2ef38ed9baba81d987c46232247686cdbc307b9602fb1d5a915240d4712ca05ac49c7d263e49cf14dbf1b126e8c31862e62d56e742d SHA512 0014060f13e04432bba4c00885bc0c4cbf094d9d69cd8544b995d40bd569d690b5ebd8f02ab8ecba3d7f4bca6154a753a26690aacd96a19870dc2fdacf625f33
DIST freefont-otf-20120503.tar.gz 4487813 BLAKE2B a280bef885bc71897a8475814602d7537b05d14a70e5857acd1007bc0a074be9db1e08fbd63fcabf3fde7874391bdd319d00b213e29b203d474fb320e91b82a2 SHA512 cee9a573b17ccc689b61f0925fb6624d58e3a3369d996e379e70c3a4cd750429d68c14c85fbcab4381101c8f4bf56730ef40e0045fdd79647019db41b4ec74fd
diff --git a/app-text/crengine-ng/crengine-ng-0.9.11.ebuild b/app-text/crengine-ng/crengine-ng-0.9.11.ebuild
new file mode 100644
index 000000000000..5725b0dbd9a8
--- /dev/null
+++ b/app-text/crengine-ng/crengine-ng-0.9.11.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="Cross-platform library designed to implement e-book readers"
+HOMEPAGE="https://gitlab.com/coolreader-ng/crengine-ng"
+SRC_URI="https://gitlab.com/coolreader-ng/${PN}/-/archive/${PV}/${P}.tar.bz2
+ test? ( mirror://gnu/freefont/freefont-otf-20120503.tar.gz )"
+
+LICENSE="GPL-2+"
+SLOT="0/6"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+png +jpeg +gif +svg +chm +harfbuzz +fontconfig +libunibreak +fribidi +zstd +libutf8proc static-libs test"
+
+RESTRICT="!test? ( test )"
+
+CDEPEND="sys-libs/zlib
+ png? ( media-libs/libpng:0 )
+ jpeg? ( media-libs/libjpeg-turbo )
+ >=media-libs/freetype-2.10.0
+ harfbuzz? ( media-libs/harfbuzz:=[truetype] )
+ libunibreak? ( dev-libs/libunibreak:= )
+ fribidi? ( dev-libs/fribidi )
+ zstd? ( app-arch/zstd:= )
+ libutf8proc? ( dev-libs/libutf8proc:= )
+ fontconfig? ( media-libs/fontconfig )"
+
+RDEPEND="${CDEPEND}"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-cpp/gtest
+ app-arch/zip )
+"
+BDEPEND="virtual/pkgconfig
+ ${CDEPEND}"
+
+src_prepare() {
+ cmake_src_prepare
+ if use test; then
+ mkdir -p "${BUILD_DIR}/crengine/tests/fonts/"
+ cp -p "${WORKDIR}/freefont-20120503/"*.otf "${BUILD_DIR}/crengine/tests/fonts/"
+ fi
+}
+
+src_configure() {
+ CMAKE_BUILD_TYPE="Release"
+ local mycmakeargs=(
+ -DCRE_BUILD_SHARED=ON
+ -DCRE_BUILD_STATIC=$(usex static-libs)
+ -DUSE_COLOR_BACKBUFFER=ON
+ -DWITH_LIBPNG=$(usex png)
+ -DWITH_LIBJPEG=$(usex jpeg)
+ -DWITH_FREETYPE=ON
+ -DWITH_HARFBUZZ=$(usex harfbuzz)
+ -DWITH_LIBUNIBREAK=$(usex libunibreak)
+ -DWITH_FRIBIDI=$(usex fribidi)
+ -DWITH_ZSTD=$(usex zstd)
+ -DWITH_UTF8PROC=$(usex libutf8proc)
+ -DUSE_GIF=$(usex gif)
+ -DUSE_NANOSVG=$(usex svg)
+ -DUSE_CHM=$(usex chm)
+ -DUSE_ANTIWORD=ON
+ -DUSE_FONTCONFIG=$(usex fontconfig)
+ -DUSE_SHASUM=OFF
+ -DUSE_CMARK_GFM=ON
+ -DBUILD_TOOLS=OFF
+ -DENABLE_UNITTESTING=$(usex test)
+ -DOFFLINE_BUILD_MODE=ON
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ cd "${BUILD_DIR}/crengine/tests"
+ ./unittests
+}
next reply other threads:[~2024-03-05 4:32 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-05 4:32 Andrey Grozin [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-02 15:03 [gentoo-commits] repo/gentoo:master commit in: app-text/crengine-ng/ Andreas Sturmlechner
2025-01-16 11:28 Andrey Grozin
2025-01-16 10:59 Andrey Grozin
2024-12-31 7:11 Andrey Grozin
2024-04-11 6:28 Andrey Grozin
2024-04-11 4:55 Arthur Zamarin
2024-04-11 4:55 Arthur Zamarin
2024-03-05 4:33 Andrey Grozin
2024-02-13 10:48 Andrey Grozin
2024-01-07 11:38 Michał Górny
2023-07-21 14:52 Andrey Grozin
2023-07-21 12:35 Arthur Zamarin
2023-07-21 12:35 Arthur Zamarin
2023-05-29 12:08 Andrey Grozin
2023-05-25 8:27 Andrey Grozin
2023-05-25 7:46 Arthur Zamarin
2023-05-25 7:46 Arthur Zamarin
2023-05-23 12:39 Andrey Grozin
2023-04-24 5:25 Andrey Grozin
2023-04-24 4:05 Andrey Grozin
2023-04-24 4:04 Andrey Grozin
2023-04-20 9:46 Andrey Grozin
2023-03-17 18:35 Sam James
2023-03-17 17:36 Sam James
2023-02-11 11:36 Andrey Grozin
2023-01-03 10:57 Andrey Grozin
2022-12-31 9:46 Andrey Grozin
2022-12-31 9:44 Andrey Grozin
2022-12-25 8:06 Andrey Grozin
2022-12-25 5:16 Andrey Grozin
2022-12-23 4:43 Andrey Grozin
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=1709613115.e98b975f6efa27efa724df1d41570f8350a9d764.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