app-text/crqt-ng - 1.1.2 (gentoo)

Search

Install

Install this version:

emerge -a =app-text/crqt-ng-1.1.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-text/crqt-ng-1.1.2

Or alternatively:

emerge --autounmask-write -a =app-text/crqt-ng-1.1.2

Package Information

Description:
Cross-platform e-book reader
Homepage:
https://gitlab.com/coolreader-ng/crqt-ng
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
1.1.2 8 ~amd64 ~arm64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 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]
	dev-qt/qtsvg:6"
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
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-text/crqt-ng | euse -E <flag> -p app-text/crqt-ng | euse -D <flag> -p app-text/crqt-ng

Global/Standard Flags

gif
❓ Default: Enabled (+)
svg
❓ Default: Enabled (+)
chm
❓ Default: Enabled (+)
harfbuzz
❓ Default: Enabled (+)
libunibreak
❓ Default: Enabled (+)
fribidi
❓ Default: Enabled (+)
zstd
❓ Default: Enabled (+)
libutf8proc
❓ Default: Enabled (+)

Inherited Eclasses

xdg

Dependencies

RDEPEND

>=app-text/crengine-ng-0.9.12:0=[png,jpeg,fontconfig,gif=,svg=,chm=,harfbuzz=,fribidi=,zstd=,libutf8proc=]
	dev-qt/qtbase:6[gui,widgets]
	dev-qt/qtsvg:6

BDEPEND

>=app-text/crengine-ng-0.9.12:0=[png,jpeg,fontconfig,gif=,svg=,chm=,harfbuzz=,fribidi=,zstd=,libutf8proc=]
	dev-qt/qtbase:6[gui,widgets]
	dev-qt/qtsvg:6
	dev-qt/qttools:6[linguist]

Manifest for 1.1.2

Type File Size Source URLs
DIST crqt-ng-1.1.2.tar.bz2 2135336 bytes https://gitlab.com/coolreader-ng/crqt-ng/-/archive/1.1.2/crqt-ng-1.1.2.tar.bz2