commit:     604c2f804f2a5cb06854cb0e47cd0b8d9f42039f
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Sat Apr 26 15:48:31 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Wed May 14 14:31:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604c2f80

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 <AT> hennsch.de>
Part-of: https://github.com/gentoo/gentoo/pull/41771
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 sci-geosciences/qmapshack/Manifest                 |  1 +
 .../qmapshack/qmapshack-1.17.1_p20250511.ebuild    | 48 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/sci-geosciences/qmapshack/Manifest 
b/sci-geosciences/qmapshack/Manifest
index 7090b7c9c645..5cc86e732d4c 100644
--- a/sci-geosciences/qmapshack/Manifest
+++ b/sci-geosciences/qmapshack/Manifest
@@ -1,2 +1,3 @@
 DIST qmapshack-1.17.1_p20250403.tar.gz 56718039 BLAKE2B 
d4457412995bcd3f672c782156b22801f3781618dfb6fc7d2a60e840433761031a2dc291ebe665f742ef8baf0e299e542956411f774d5d2fc0e32a3233848af7
 SHA512 
b9ea12a04b4af5e1ee548130504b2eab51fa16c365fdc2dc02f50d0e1f13d6eaf86938c555d379e24bbd833fb656d89da9932041d04c55398016c2519183759d
 DIST qmapshack-1.17.1_p20250426.tar.gz 56717427 BLAKE2B 
d7634a7f4d73a8ec234c89de6cff652e040f2bbc23bd9837c3dfb688d68b2eb82781ef9ea29fcc52892b949f73c832a25fccd3023df714e7486bcb509e9192c3
 SHA512 
992a98271052c5347664d499e485bf05f0512724aa45163d272fc6bf5a77dd94fdcccda1b2bea4011965dd011f72a19c1f7860c11488aa5e79be345a8fe29115
+DIST qmapshack-1.17.1_p20250511.tar.gz 56734258 BLAKE2B 
e2cf4101eeb28a2526c327d9265e8d21a38a349eba92cb4fe1ca7413f7263909be280e6e34c90b6cec4fb29f135e457847f10180568b49c3e8e8abeb56ae4484
 SHA512 
9f37579f755b347ea326be930f8d4d6bf852fb43b27be07a45d27a4dc46515d1f646643b4908bb78ccb1c5ec9b5c7e4d05fa505bb85c09dd19b62aea70bf6590

diff --git a/sci-geosciences/qmapshack/qmapshack-1.17.1_p20250511.ebuild 
b/sci-geosciences/qmapshack/qmapshack-1.17.1_p20250511.ebuild
new file mode 100644
index 000000000000..3b9b5aa9c2fb
--- /dev/null
+++ b/sci-geosciences/qmapshack/qmapshack-1.17.1_p20250511.ebuild
@@ -0,0 +1,48 @@
+# 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"
+}

Reply via email to