commit: 19c31c5e8b90e8334cc9387a95653abb113d4921 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> AuthorDate: Tue Dec 31 07:14:02 2024 +0000 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> CommitDate: Tue Dec 31 07:14:02 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c31c5e
app-text/crqt-ng: bump to 1.0.15 Closes: https://bugs.gentoo.org/947238 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> app-text/crqt-ng/Manifest | 1 + app-text/crqt-ng/crqt-ng-1.0.15.ebuild | 39 ++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/app-text/crqt-ng/Manifest b/app-text/crqt-ng/Manifest index 84df851e0e49..663054257dab 100644 --- a/app-text/crqt-ng/Manifest +++ b/app-text/crqt-ng/Manifest @@ -1 +1,2 @@ DIST crqt-ng-1.0.14.tar.bz2 445540 BLAKE2B 147a42ffb63b9f2f4525d683f0f3c02bc4895a235884044150e7fa395f07a7f8ba460287ed0c296592974e0bf8029f8af6daa623b2387d4d9400a6737e7a3b51 SHA512 424f5a9717f9cab5e9ea9b6e5ee9397807acb0dfccc6edb19f2de988c80811ea9c01853d2f664d7b0b1a380fcf6fa7290da0c7d58fef5317632ba83f946235f8 +DIST crqt-ng-1.0.15.tar.bz2 446115 BLAKE2B 6d0f25c0302716b1a37861014b1db7dd1bed5530095d71565bf5d3cb53b96f28ef7380dba30c033e7c01a5b774345e490c26b32d855052c1d9bb67a82e0c86ad SHA512 a62f92960fa2ce1f79df165a9d733b6e51cba4c93941a1b669a87b7f355a640d2ec2b5f794329f1f96a975ef72b39ae3d33f4559ef16b41b100b5da754334016 diff --git a/app-text/crqt-ng/crqt-ng-1.0.15.ebuild b/app-text/crqt-ng/crqt-ng-1.0.15.ebuild new file mode 100644 index 000000000000..333660833a64 --- /dev/null +++ b/app-text/crqt-ng/crqt-ng-1.0.15.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PLOCALES="bg cs hu nl ru uk" +inherit cmake plocale xdg + +DESCRIPTION="Cross-platform e-book reader" +HOMEPAGE="https://gitlab.com/coolreader-ng/crqt-ng" +SRC_URI="https://gitlab.com/coolreader-ng/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+gif +svg +chm +harfbuzz +libunibreak +fribidi +zstd +libutf8proc" + +CDEPEND=">=app-text/crengine-ng-0.9.12:0=[png,jpeg,fontconfig,gif=,svg=,chm=,harfbuzz=,fribidi=,zstd=,libutf8proc=] + dev-qt/qtbase:6[gui,widgets]" +RDEPEND="${CDEPEND}" +BDEPEND="${CDEPEND} + dev-qt/qttools:6[linguist]" + +src_prepare() { + cmake_src_prepare + xdg_environment_reset + + # locales + plocale_find_changes "${S}"/src/i18n 'crqt_' '.ts' + sed -e "s|set(LANGUAGES .*)|set(LANGUAGES $(plocale_get_locales))|i" \ + -i "${S}"/src/CMakeLists.txt \ + || die "sed CMakeLists.txt failed" +} + +src_configure() { + CMAKE_USE_DIR="${S}" + CMAKE_BUILD_TYPE="Release" + local mycmakeargs=(-DUSE_QT=QT6) + cmake_src_configure +}
