summaryrefslogtreecommitdiff
path: root/app-text/crengine-ng
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-20 11:59:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-20 11:59:50 +0100
commitb92d3efc1e8f2a9c4b5a674b333eea5e6ad2c181 (patch)
tree4c6b5c3dd56bc0c408fde62803ac84e253bc865a /app-text/crengine-ng
parentdcf9ac80d0667a18496506842a8903ba5dab2fc7 (diff)
gentoo auto-resync : 20:04:2023 - 11:59:50
Diffstat (limited to 'app-text/crengine-ng')
-rw-r--r--app-text/crengine-ng/Manifest2
-rw-r--r--app-text/crengine-ng/crengine-ng-0.9.8.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/app-text/crengine-ng/Manifest b/app-text/crengine-ng/Manifest
index 3bd19f04dcc6..bbe1c091c789 100644
--- a/app-text/crengine-ng/Manifest
+++ b/app-text/crengine-ng/Manifest
@@ -1,3 +1,5 @@
DIST crengine-ng-0.9.7.tar.bz2 3594561 BLAKE2B 65adf26be6198a29c26a506e5e00dde809a6bd9371e7f226ca954a89e0dfc68f314891f9e060a3055e5313673c266a26954353479f486abcf1bb87951202f64c SHA512 94775722f8ff3680c36278e2cecd864b5e3f9de7940aa0e681b683cc5136c8098650e495c3f0729af187839e45d6409993fdc2fc2738250cacd406f2540fdc31
+DIST crengine-ng-0.9.8.tar.bz2 3407775 BLAKE2B f4e2c49ac0ee690f658f549e26bf29a61ec3c9fcb18b86ef3f7fb5d998560ecf99b61e08c438f9336dc0ec78bc3c22cb0753ef182a3e328c2734f54a9d37b324 SHA512 9cd234caddfe6cd651fbf4e2f2eb1ce143f21505a194af8e87bf79c41cd1082a4319383d47e2fcdd8aef22da2bf20f46b9db2a617fdcb4eb3e87982b2660094e
EBUILD crengine-ng-0.9.7.ebuild 1602 BLAKE2B 64dadcb4c730cccd36a11285e1983bb8b6969789167c720b2bec44ba5957626022aaf5224b0042f1af0918ae21ce6760601fef7a40ff3870082accb4ed2d9c6e SHA512 07a3a323e8e642a443cb1428ad5e7eaa70a49b3dcba3423642bd06e5c603b0aa9af6d22e37ab1badbb641550c02dcbfa8c1991c1f18a4b7e20b41587cfeac3d0
+EBUILD crengine-ng-0.9.8.ebuild 1607 BLAKE2B 26aefcdc3bc6a740e982e9b0f999d5df1e0eba7e635ff76211398b643cff8a5a33f27043b800b153f5d5f015aeece65c982747317374bc599a62d15a26e12326 SHA512 a4caf3cd602f40a20aba13f9e4933b83efcbb1e7f1e0136e4892f4cc1334522d35031395714c629bcf2a4373e9cc672633d6854a5264556c8597c2b0abf39e86
MISC metadata.xml 1232 BLAKE2B ecb2f3ff8720e43b48f6e211da27f0f34d3123644a429cb7853ae4044761793f5137dfbeaa0962093f2b722fdcfb6e3bf9ad432835fa6fa3f5bbf5f7f7abd78c SHA512 6aa7904c0d002926d4223c46b31de30f5ab06dee8291909498ecaa6deed3a6b547cfaa40df1ad7dca7e74faa55e95ab4fe4fa4ac0698202b5dd0221a50288036
diff --git a/app-text/crengine-ng/crengine-ng-0.9.8.ebuild b/app-text/crengine-ng/crengine-ng-0.9.8.ebuild
new file mode 100644
index 000000000000..6d121a24104c
--- /dev/null
+++ b/app-text/crengine-ng/crengine-ng-0.9.8.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 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"
+
+LICENSE="GPL-2+"
+SLOT="0/5"
+KEYWORDS="~amd64 ~x86"
+IUSE="+png +jpeg +gif +svg +chm +harfbuzz +fontconfig +libunibreak +fribidi +zstd +libutf8proc lto static-libs"
+
+CDEPEND="sys-libs/zlib
+ png? ( media-libs/libpng:0 )
+ jpeg? ( media-libs/libjpeg-turbo )
+ >=media-libs/freetype-2.10.0
+ harfbuzz? ( media-libs/harfbuzz:= )
+ libunibreak? ( dev-libs/libunibreak:= )
+ fribidi? ( dev-libs/fribidi )
+ zstd? ( app-arch/zstd:= )
+ libutf8proc? ( dev-libs/libutf8proc:= )
+ fontconfig? ( media-libs/fontconfig )"
+
+RDEPEND="${CDEPEND}"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+ ${CDEPEND}"
+
+src_configure() {
+ CMAKE_USE_DIR="${S}"
+ 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
+ -DBUILD_TOOLS=OFF
+ -DENABLE_UNITTESTING=OFF
+ -DENABLE_LTO=$(usex lto)
+ )
+ cmake_src_configure
+}