blob: e1c1be1c79ab9de216b0741bbb5d7fc648c9767e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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"
}
|