summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2023-02-16 12:33:30 +0700
committerAndrey Grozin <grozin@gentoo.org>2023-02-16 12:33:59 +0700
commitc3b151c3d731550a5efffb7c9254170accbc3602 (patch)
tree75077735a9867a13d889b9ff9c4aa550366a1dcb /sci-geosciences/gpxsee
parentnet-dns/bind-tools: Stabilize 9.16.37-r1 x86, #894486 (diff)
downloadgentoo-c3b151c3d731550a5efffb7c9254170accbc3602.tar.gz
gentoo-c3b151c3d731550a5efffb7c9254170accbc3602.tar.bz2
gentoo-c3b151c3d731550a5efffb7c9254170accbc3602.zip
sci-geosciences/gpxsee: bump to 12.0
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-geosciences/gpxsee')
-rw-r--r--sci-geosciences/gpxsee/Manifest1
-rw-r--r--sci-geosciences/gpxsee/gpxsee-12.0.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 00b5e8512d22..49bfe4467745 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -2,3 +2,4 @@ DIST gpxsee-11.11.tar.gz 5481954 BLAKE2B a562b963c08cd7ffbd2a5e33c984365aad5c48d
DIST gpxsee-11.5.tar.gz 5336855 BLAKE2B 2886def6bcb812d33361b5cf6d77b5da5adc203552449ded38cd01bfb451b055e7a0d8383f44d1db41b5b797f7b8763368a43825b3d016b972b0adfdca8ce48f SHA512 56ea5218178ea2e8504e775ff83d8335b636a04f2f428072883f36159ae83f1f2b0568f55028d696e8055eac0a398086b87d4f31456c07530c5b41d291a760cc
DIST gpxsee-11.8.tar.gz 5472325 BLAKE2B 67cffe42e3320e6b381b2c5a6a0e1cb4d50a09ea851bf5cd1a3e689e0a5ad8f2378c5b71eeff57694b3ba09d5b16f3a92a760d2a584f326ac88645fa40a9232f SHA512 6ec5574ce5a8d20c8b49d0d2a2d7f92662ef3b80bc08f6341aceea83339385ee0b1007a922418113efb7fff022d3a43e5d420a561ccc2e8ba1298389c67fd123
DIST gpxsee-11.9.tar.gz 5476399 BLAKE2B 95ffd5155b94e54284afaa5fd440532561ef80332c10647e8d214ba355408798580a22edabcaf86ede4038afc2bc62b0a170bf5e6827f67ebb6cbfd7e4cce833 SHA512 36c4fdc972467d181cb7dad73c00b70b21c46d6d7534084bda05911711b4f23346001faf48ba1103e36068f06cc073670a962f6b2a877c4fd1bac556959133ef
+DIST gpxsee-12.0.tar.gz 5486784 BLAKE2B 489a946475757a477b5c0949e310d4f3986793979ed8344c98a86b63492faa863bd3843f4f35d9d2b0de8f24d45838b8477396aa46d313fd8177d2bfef1fc38c SHA512 be2e0453aae924f8712395a2506d425685a82df68f48661e6f95ab154c37bf9226432bcc58b29f1f56142e0a4f6fa55b7774b1be5ea40f02da26bfb40020914f
diff --git a/sci-geosciences/gpxsee/gpxsee-12.0.ebuild b/sci-geosciences/gpxsee/gpxsee-12.0.ebuild
new file mode 100644
index 000000000000..306dab742fb5
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-12.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PLOCALES="ca cs da de en eo es fi fr hu it ko nb pl pt_BR ru sv tr uk zh"
+inherit plocale qmake-utils xdg
+
+MY_PN="GPXSee"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea files"
+HOMEPAGE="https://www.gpxsee.org/"
+SRC_URI="https://github.com/tumic0/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE=""
+RDEPEND="dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsql:5
+ dev-qt/qtpositioning:5
+ dev-qt/qtsvg:5"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}"/${PN}-7.33.patch )
+
+src_prepare() {
+ default
+
+ plocale_find_changes lang "${PN}_" '.ts'
+
+ rm_ts() {
+ sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro
+ }
+
+ plocale_for_each_disabled_locale rm_ts
+}
+
+src_compile() {
+ $(qt5_get_bindir)/lrelease gpxsee.pro || die "lrelease failed"
+ eqmake5 gpxsee.pro
+ emake
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ dodoc README.md
+}