www-misc/libkiwix - 14.2.0 (guru)

Search

Install

Install this version:

emerge -a =www-misc/libkiwix-14.2.0

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

autounmask =www-misc/libkiwix-14.2.0

Or alternatively:

emerge --autounmask-write -a =www-misc/libkiwix-14.2.0

Package Information

Description:
Kiwix software suite core: code shared by all Kiwix ports
Homepage:
https://kiwix.org/
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
14.2.0 8 ~amd64 0/14
View Raw Ebuild
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="Kiwix software suite core: code shared by all Kiwix ports"
HOMEPAGE="https://kiwix.org/"
SRC_URI="https://github.com/kiwix/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0/14"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

COMMON_DEPEND="
	>=app-arch/libzim-9.0.0
	dev-libs/icu:=
	dev-libs/pugixml
	dev-libs/xapian:=
	net-libs/libmicrohttpd:=
	net-misc/curl
	virtual/zlib:=
"
RDEPEND="
	${COMMON_DEPEND}
	net-misc/aria2[bittorrent,metalink,xmlrpc]
"
DEPEND="
	${COMMON_DEPEND}
	>=dev-cpp/mustache-4.1
"
BDEPEND="
	test? ( dev-cpp/gtest )
"

PATCHES=( "${FILESDIR}/${PN}-14.2.0_remove-python-dep.patch" )

src_prepare() {
	default

	# requires PROPERTIES="test_network"
	sed -i '/^if build_machine.system/,/endif/d' test/meson.build || die

	if ! use test; then
		sed -i "/subdir('test')/d" meson.build || die
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p www-misc/libkiwix | euse -E <flag> -p www-misc/libkiwix | euse -D <flag> -p www-misc/libkiwix

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	
	>=app-arch/libzim-9.0.0
	dev-libs/icu:=
	dev-libs/pugixml
	dev-libs/xapian:=
	net-libs/libmicrohttpd:=
	net-misc/curl
	virtual/zlib:=

	>=dev-cpp/mustache-4.1

RDEPEND

	
	>=app-arch/libzim-9.0.0
	dev-libs/icu:=
	dev-libs/pugixml
	dev-libs/xapian:=
	net-libs/libmicrohttpd:=
	net-misc/curl
	virtual/zlib:=

	net-misc/aria2[bittorrent,metalink,xmlrpc]

BDEPEND

	test? ( dev-cpp/gtest )

Manifest for 14.2.0

Type File Size Source URLs
DIST libkiwix-14.2.0.tar.gz 1305709 bytes https://github.com/kiwix/libkiwix/archive/14.2.0.tar.gz