commit:     573e4ed9f0966e39ffad48c9efc1e7d101212fe1
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  4 16:48:56 2025 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sat Jan  4 16:48:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=573e4ed9

sci-geosciences/qmapshack: Qt6 port bump to current

Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 sci-geosciences/qmapshack/Manifest                 |  1 +
 .../qmapshack/qmapshack-1.17.1_p602.ebuild         | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/sci-geosciences/qmapshack/Manifest 
b/sci-geosciences/qmapshack/Manifest
index 7a04578bb1f6..4dc9aa95ce26 100644
--- a/sci-geosciences/qmapshack/Manifest
+++ b/sci-geosciences/qmapshack/Manifest
@@ -1,2 +1,3 @@
 DIST qmapshack-1.17.1.tar.gz 56704889 BLAKE2B 
1fda3f9874f39eb6b7a0c71ac7b681ebc0f6ea7ae2eefae2b6de4d780556fc5aee45aff230bebcf6ba025959beccffe14a59002fd9552b339892956d2fdd5c50
 SHA512 
79bdeb59e366cefb2d2a6c9bd084760b5935c93f385a6f2d26bdd25bb4af6939003decc4659afd1567a3b6698a0048e5c79baa716139fc20a96cc0e8dc206d9c
 DIST qmapshack-1.17.1_p601.tar.gz 56720740 BLAKE2B 
7fd8232e0c5b693d565897dff90ac6c6012918f2739d9cbfa48e7629e3a905609f47b9665d1a7666a131da64739a499a54f9959d275ab4c7f013db0e83d9760a
 SHA512 
9378e1d42a6217cbf169fc67476765f6700886b59518a1c800c5a639b2822e8116cabaac28c147f3a52014bb2393deb1a8e8b7b9c4112f1990361d0376530c80
+DIST qmapshack-1.17.1_p602.tar.gz 56718904 BLAKE2B 
1ff2176373201b77f232a6158d853dce1916137f524b05cfd3703314425a293c09a776c417f092b7fda60fd417476736ddaea0e756349fe27e8da38e511ab55d
 SHA512 
3620e3a2f9f5bd3e251779116539bbc6d7bdeb5b25c99df68ee5c6922d31eb3de1019ef02297db92690edba78204c48f163f4223a5f1e0b11c8603a3756d8b17

diff --git a/sci-geosciences/qmapshack/qmapshack-1.17.1_p602.ebuild 
b/sci-geosciences/qmapshack/qmapshack-1.17.1_p602.ebuild
new file mode 100644
index 000000000000..e1c1be1c79ab
--- /dev/null
+++ b/sci-geosciences/qmapshack/qmapshack-1.17.1_p602.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="GPS mapping utility"
+HOMEPAGE="https://github.com/Maproom/qmapshack/wiki";
+COMMIT="23d6fe3e11bd251f123fdba1f1cf2ac8170d4f83"
+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:0=[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) )
+       cmake_src_configure
+}
+
+src_install() {
+       docompress -x /usr/share/doc/${PF}/html
+       cmake_src_install
+       mv "${D}"/usr/share/doc/HTML "${D}"/usr/share/doc/${PF}/html || die "mv 
Qt help failed"
+       ewarn "An experimental Qt6 port"
+       ewarn "Translations and the help system are broken"
+       ewarn "Other bugs to https://github.com/Maproom/qmapshack/issues";
+}

Reply via email to