# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit qmake-utils DESCRIPTION="cross-platform viewer/manager for ZIM archives" HOMEPAGE="https://kiwix.org/" SRC_URI="https://github.com/kiwix/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" DEPEND=" dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtimageformats:5 dev-qt/qtsvg:5 dev-qt/qtwebengine:5 =www-misc/libkiwix-12.1.0*:= " BDEPEND="app-arch/unzip" PATCHES=( "${FILESDIR}/kiwix-desktop-2.3.1-shared_ptr.patch" ) src_compile() { eqmake5 PREFIX=/usr . emake } src_install() { emake install INSTALL_ROOT="${ED}" }