diff options
author | Andrey Grozin <grozin@gentoo.org> | 2023-04-24 11:03:11 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2023-04-24 11:03:11 +0700 |
commit | a8ae56570624f8e81c7d9b262d9aeda4b4666acb (patch) | |
tree | 061a992e2db06cf5fca079d11333d5cbb8bc7b5e /app-text | |
parent | games-strategy/naev: add 0.10.5 (diff) | |
download | gentoo-a8ae56570624f8e81c7d9b262d9aeda4b4666acb.tar.gz gentoo-a8ae56570624f8e81c7d9b262d9aeda4b4666acb.tar.bz2 gentoo-a8ae56570624f8e81c7d9b262d9aeda4b4666acb.zip |
app-text/crengine-ng: add 0.9.9
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/crengine-ng/Manifest | 1 | ||||
-rw-r--r-- | app-text/crengine-ng/crengine-ng-0.9.9.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/app-text/crengine-ng/Manifest b/app-text/crengine-ng/Manifest index 2080e0310072..35c031910cf7 100644 --- a/app-text/crengine-ng/Manifest +++ b/app-text/crengine-ng/Manifest @@ -1,2 +1,3 @@ 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 +DIST crengine-ng-0.9.9.tar.bz2 3408221 BLAKE2B b300e0bc6f06f00f14199a44a51dac1ac36c9db409083f23220d1554d31a7b28c59cbcc2a00cb794b13a18b74f7b25cae0892e28d8ef2d8b3ed2f421250741d0 SHA512 6a17445f49e7ce7a6ac942c19f9ab017e6d04d02b2b88654763fcc48a904d44cbb4a863531c39bc5bf2c857dbe8fa0f0335181eff496f4e0784c39a251b36a50 diff --git a/app-text/crengine-ng/crengine-ng-0.9.9.ebuild b/app-text/crengine-ng/crengine-ng-0.9.9.ebuild new file mode 100644 index 000000000000..6d121a24104c --- /dev/null +++ b/app-text/crengine-ng/crengine-ng-0.9.9.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 +} |