gentoo-ebuilds/sci-geosciences/qmapshack/qmapshack-1.17.1_p20250511.ebuild
Henning Schild 604c2f804f
sci-geosciences/qmapshack: fix help system
The help system was broken because files got moved around in the ebuild,
to a location where the application would not look for them.

Signed-off-by: Henning Schild <henning@hennsch.de>
Part-of: https://github.com/gentoo/gentoo/pull/41771
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
2025-05-14 16:31:18 +02:00

48 lines
1 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
COMMIT="5fc1cb76091d80094a3c3d1d50948089dd47f402"
DESCRIPTION="GPS mapping utility"
HOMEPAGE="https://github.com/Maproom/qmapshack/wiki"
SRC_URI="https://github.com/Maproom/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="dbus"
RDEPEND="
dev-db/sqlite
>=dev-libs/quazip-1.3-r2:=[qt6(+)]
dev-qt/qt5compat:6
dev-qt/qtbase:6[dbus?,gui,network,sql,widgets,xml]
dev-qt/qtdeclarative:6
dev-qt/qttools:6[assistant,widgets]
dev-qt/qtwebengine:6[widgets]
sci-geosciences/routino
sci-libs/alglib
sci-libs/gdal:=
sci-libs/proj:=
"
DEPEND="${RDEPEND}"
BDEPEND="dev-qt/qttools:6[linguist]"
src_configure() {
local mycmakeargs=(
-DUSE_QT6DBus=$(usex dbus)
-DHTML_INSTALL_DIR="${EPREFIX}/usr/share/doc/${PF}/qch"
)
cmake_src_configure
}
src_install() {
cmake_src_install
docompress -x "/usr/share/doc/${PF}/qch"
}