mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
38 lines
741 B
Bash
38 lines
741 B
Bash
# Copyright 2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit qmake-utils xdg
|
|
|
|
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"
|
|
|
|
RDEPEND="
|
|
app-arch/libzim
|
|
dev-qt/qtbase:6[gui,network,widgets]
|
|
dev-qt/qtimageformats:6
|
|
dev-qt/qtsvg:6
|
|
dev-qt/qtwebchannel:6
|
|
dev-qt/qtwebengine:6[widgets]
|
|
>=www-misc/libkiwix-14.0.0:=
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_prepare() {
|
|
default
|
|
sed -i '/-Werror/d' kiwix-desktop.pro || die
|
|
}
|
|
src_configure() {
|
|
eqmake6 PREFIX="${EPREFIX}/usr"
|
|
}
|
|
|
|
src_install() {
|
|
emake install INSTALL_ROOT="${ED}"
|
|
}
|