commit 07bb08cdd76c3fea9ea28c7e82dabe7b1dfbdebf parent 1be472556f087ce6b54f44d1bd3236dcb97e33e8 Author: parazyd <parazyd@dyne.org> Date: Wed, 27 Sep 2023 23:03:29 +0200 www-misc/kiwix-desktop: Add 2.3.1 Diffstat:
A | www-misc/kiwix-desktop/Manifest | | | 1 | + |
A | www-misc/kiwix-desktop/kiwix-desktop-2.3.1.ebuild | | | 40 | ++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/www-misc/kiwix-desktop/Manifest b/www-misc/kiwix-desktop/Manifest @@ -0,0 +1 @@ +DIST kiwix-desktop-2.3.1.tar.gz 525090 BLAKE2B 3f2bc6d49f383e754438dfee260b3aa1a09040b9b543b1abc8acc0aa4531e84c350e014f98951409b292ed7e9fa2285733d98237b0ff3b4175de8e8f269cac1f SHA512 09d4c2293fc36ac0b03c815474f5f60881093552fd7d1d0940858254c16d7b6021bd05f4f985b32401328705082f07fbd72e92f79bb1365650f5dd75d455f0b8 diff --git a/www-misc/kiwix-desktop/kiwix-desktop-2.3.1.ebuild b/www-misc/kiwix-desktop/kiwix-desktop-2.3.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020-2023 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" +IUSE="" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtimageformats:5 + dev-qt/qtsvg:5 + dev-qt/qtwebengine:5 + >=www-misc/kiwix-lib-12.0.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}" +}