commit: 307b513e7255c2c0fa2664f28d961287febd7b11 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> AuthorDate: Sat Dec 31 09:44:26 2022 +0000 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> CommitDate: Sat Dec 31 09:44:26 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=307b513e
app-text/crengine-ng: bump to 0.9.4 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> app-text/crengine-ng/Manifest | 1 + app-text/crengine-ng/crengine-ng-0.9.4.ebuild | 58 +++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-text/crengine-ng/Manifest b/app-text/crengine-ng/Manifest index 192f1308beae..7a2b1c876c93 100644 --- a/app-text/crengine-ng/Manifest +++ b/app-text/crengine-ng/Manifest @@ -1 +1,2 @@ DIST crengine-ng-0.9.3.tar.bz2 3125528 BLAKE2B 49f3c99dda63987fefff55184522f635af4c792e96efdc337e5c42c97d5975658a52308d33e314337d20ba9b8c70d0c590c567db567a01cc46d060d059ee20df SHA512 4a393c3ebb5ccc2a94fc06fae34b037c0e5d725d1b58a30d7f19476f94dbeb86e7138a444a84b80f536afb2fbed06a8899c87e322303322066a1d35a5bcd70a9 +DIST crengine-ng-0.9.4.tar.bz2 3566778 BLAKE2B ded7b6b620ad8d24c65d45b166b08b3f74f1d68d67920e7ba9665570e3fef9d9bee9032e683ad8b0eab31fb12bc2ac03390e9ef0cd46702f28c78d5aff54a728 SHA512 491046d44088842a454c58ba71a2b5ce69e4692e4d1e16f082c096936f776c6ea9fd70ae93251348cff36ed46e5ad7991cc64099c5f313acb17e35ca08ea2698 diff --git a/app-text/crengine-ng/crengine-ng-0.9.4.ebuild b/app-text/crengine-ng/crengine-ng-0.9.4.ebuild new file mode 100644 index 000000000000..f17cdaadf91a --- /dev/null +++ b/app-text/crengine-ng/crengine-ng-0.9.4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 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" +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 +}