summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2020-10-15 23:02:17 +0700
committerAndrey Grozin <grozin@gentoo.org>2020-10-15 23:02:17 +0700
commit3b1c6a9ea64313a2ee8093d757448c9643034b65 (patch)
tree670a95208c21610098668a22c04ab483c22ec305 /sci-geosciences
parentsci-libs/dcmtk: ppc64 keyworded (bug #745783) (diff)
downloadgentoo-3b1c6a9ea64313a2ee8093d757448c9643034b65.tar.gz
gentoo-3b1c6a9ea64313a2ee8093d757448c9643034b65.tar.bz2
gentoo-3b1c6a9ea64313a2ee8093d757448c9643034b65.zip
sci-geosciences/gpxsee: bump to 7.33
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gpxsee/Manifest1
-rw-r--r--sci-geosciences/gpxsee/files/gpxsee-7.33.patch10
-rw-r--r--sci-geosciences/gpxsee/gpxsee-7.33.ebuild55
3 files changed, 66 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 12295bff9d8e..0fa54d5c4f31 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,3 +1,4 @@
DIST gpxsee-7.29.tar.gz 5363181 BLAKE2B 4d3a5693a7b5939847c2dc32bff205649264766975c6313220e305770e40602f40e03c74db22e043860f1a2953a43e7ec0a58624f4882de93f3320a32dc6292e SHA512 e4133ad7a9b5e25f3c0bdd2397e02b6219e81f8632385e6423244e7c400ff72a5be85720f1ec123428ae3aeca79cac81e03b7f40de83d309e55ee69ee7cc933f
DIST gpxsee-7.30.tar.gz 5371435 BLAKE2B 49f257dc50201b2fd5a621d51fba67fd8511399c2fb97bd30087e0daedb3db78b678d658bfc6e5c3faedeea84940a8fb1ebe7df16cf3002e40d934c3798ce44a SHA512 b1771cc63df538e6ed5b9c7f47a0aaf4f31969a03a1727870372a249c36f3504adfbb31fdc321cc0da3547f02be7f33639f6e5569a83c98092f2d9a998690c00
DIST gpxsee-7.31.tar.gz 5377234 BLAKE2B 5f968ad4846a458809b135bd37a978b742a17866a1041d73d6aa14eb5c36f516ae5fade7d8988ef82a0bdb9208e3122f70e5fc982469288fd58f68aa19f6623e SHA512 616dff64295fb83ce10ede3ec79a308682659bef9f0ca25aaafd50c231d84bb7bf8fc4b658fb8c1210db8e14d1941d07f8dfaef50e0c033a988d1f838a483203
+DIST gpxsee-7.33.tar.gz 5400194 BLAKE2B 172bd05ab0ae961abdcde9023727e855781ea6548cfc634d0504a43adce1c11873bfdf5901021bb6c0160da23885e1a7d8dac54d1fd8c4a53b630f4d3c0e2319 SHA512 fdc3dc24b65dcc828073c58003a820b927ca9f8e3d46d4a5236c1339efeb04f81dc97a2f3125be40eac533dc2f008235a059124240ab881cbff70a478c7c3d5b
diff --git a/sci-geosciences/gpxsee/files/gpxsee-7.33.patch b/sci-geosciences/gpxsee/files/gpxsee-7.33.patch
new file mode 100644
index 000000000000..00b5ec1286b0
--- /dev/null
+++ b/sci-geosciences/gpxsee/files/gpxsee-7.33.patch
@@ -0,0 +1,10 @@
+diff -U2 -r GPXSee-7.33.orig/gpxsee.pro GPXSee-7.33/gpxsee.pro
+--- GPXSee-7.33.orig/gpxsee.pro 2020-10-08 03:57:53.000000000 +0700
++++ GPXSee-7.33/gpxsee.pro 2020-10-15 22:26:51.786533119 +0700
+@@ -446,5 +446,5 @@
+
+ unix:!macx {
+- isEmpty(PREFIX):PREFIX = /usr/local
++ PREFIX = /usr
+ DEFINES += PREFIX=\\\"$$PREFIX\\\"
+
diff --git a/sci-geosciences/gpxsee/gpxsee-7.33.ebuild b/sci-geosciences/gpxsee/gpxsee-7.33.ebuild
new file mode 100644
index 000000000000..d9d146091a25
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-7.33.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PLOCALES="cs da de en es fi fr hu it nb pl pt_BR ru sv tr uk"
+inherit desktop qmake-utils l10n 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 ~x86"
+IUSE=""
+RDEPEND="dev-qt/qtwidgets:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsql:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}"/${PN}-7.33.patch )
+
+src_prepare() {
+ default
+
+ l10n_find_plocales_changes lang "${PN}_" '.ts'
+
+ rm_ts() {
+ sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro
+ }
+
+ l10n_for_each_disabled_locale_do rm_ts
+}
+
+src_compile() {
+ lrelease gpxsee.pro
+ eqmake5 gpxsee.pro
+ emake
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ dodoc README.md
+}