summaryrefslogtreecommitdiff
path: root/sci-geosciences/gpxlab
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
commit8d5dbd847cbc704a6a06405856e94b461011afe3 (patch)
tree4d26462d027b14926335894749d2e01d982234d0 /sci-geosciences/gpxlab
parent5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff)
gentoo resync : 27.03.2021
Diffstat (limited to 'sci-geosciences/gpxlab')
-rw-r--r--sci-geosciences/gpxlab/Manifest4
-rw-r--r--sci-geosciences/gpxlab/files/gpxlab-0.7.0.patch10
-rw-r--r--sci-geosciences/gpxlab/gpxlab-0.7.0.ebuild52
-rw-r--r--sci-geosciences/gpxlab/metadata.xml15
4 files changed, 81 insertions, 0 deletions
diff --git a/sci-geosciences/gpxlab/Manifest b/sci-geosciences/gpxlab/Manifest
new file mode 100644
index 000000000000..a018f7aee82c
--- /dev/null
+++ b/sci-geosciences/gpxlab/Manifest
@@ -0,0 +1,4 @@
+AUX gpxlab-0.7.0.patch 380 BLAKE2B 8d0f0eda988b7fc37cb0b5a9f9b5d06008a9eb8ec6cdeb8b427f405fee11f0b3f3c4d8e18037c5cd0dad70fd1e9ce1d8ddceb243cc2825f3c0c6f224889565bc SHA512 79d3837213b6055cc7b06e1d18cd0297b7604df1f1f1d40c9eb287b125e4c62af206c790f8d749bca9549223d6c50d17505c30f969267e56cd92dcc3f1b408e6
+DIST gpxlab-0.7.0.tar.gz 1082049 BLAKE2B e84b04ef711b9d6d24639f338a5dd1d61185aeb6917699228fdd68309f15736f52b0ead7cba234bd4538bb7012bba5b6889fcf020cbfad96d90e46d26628e086 SHA512 493eaab8d14bb7402eafe8273d6ced2bc2e0632448cfc7b510a4d8dbe180abcaa6e321f435b7a5209a322851f04af493786b88123962cac525a315ecf375f817
+EBUILD gpxlab-0.7.0.ebuild 1057 BLAKE2B 27d7b6ef656c87b8c4ff2c606c4d4645eb3c7c431a58c981d9301bf7eef8c9628e466f0a8d0eae672fb62fb628c74b2600c4984e7ca1cf4aa122b4e5f575b126 SHA512 9ec3e6962d741d02daa5c560f96519d0abac5774eb56f5ed7af609909e42e43539339bf28831fcd5f615f42bcf75953a0d142f70d8613da6483f7ebcae8f55f2
+MISC metadata.xml 460 BLAKE2B 10eecf9723c57608f0ea35cadf95f53842bfb466149798c23c973b63473ce5fcbdae1f5e716b66c14d5f2a9d2b48e4698c8ab167a96157bd7f559be043b99e58 SHA512 920a1679c62191c5c05b5ef14adbacb30c69845a2559a16b3fd1e296b896974f558336f3cb3241ce565dfe25a1e09bec999d9771c6df3639963ce87f362e5657
diff --git a/sci-geosciences/gpxlab/files/gpxlab-0.7.0.patch b/sci-geosciences/gpxlab/files/gpxlab-0.7.0.patch
new file mode 100644
index 000000000000..40ccab708b05
--- /dev/null
+++ b/sci-geosciences/gpxlab/files/gpxlab-0.7.0.patch
@@ -0,0 +1,10 @@
+diff -r -U2 GPXLab-0.7.0.orig/GPXLab/GPXLab.pro GPXLab-0.7.0/GPXLab/GPXLab.pro
+--- GPXLab-0.7.0.orig/GPXLab/GPXLab.pro 2019-12-11 15:44:11.000000000 +0700
++++ GPXLab-0.7.0/GPXLab/GPXLab.pro 2021-03-25 17:03:19.093288969 +0700
+@@ -140,5 +140,5 @@
+
+ unix:!macx {
+- isEmpty(PREFIX):PREFIX = /usr/local
++ isEmpty(PREFIX):PREFIX = /usr
+ DEFINES += PREFIX=\\\"$$PREFIX\\\"
+
diff --git a/sci-geosciences/gpxlab/gpxlab-0.7.0.ebuild b/sci-geosciences/gpxlab/gpxlab-0.7.0.ebuild
new file mode 100644
index 000000000000..6089b757380c
--- /dev/null
+++ b/sci-geosciences/gpxlab/gpxlab-0.7.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PLOCALES="fi ru"
+inherit desktop qmake-utils l10n xdg
+
+MY_PN="GPXLab"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="An application to display and manage GPS tracks"
+HOMEPAGE="https://github.com/BourgeoisLab/GPXLab"
+SRC_URI="https://github.com/BourgeoisLab/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RDEPEND="dev-qt/qtcore:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtnetwork:5"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.7.0.patch )
+
+src_prepare() {
+ default
+
+ l10n_find_plocales_changes ${MY_PN}/locale "${PN}_" '.ts'
+
+ rm_ts() {
+ sed -e "s|locale/${PN}_${1}.ts||" -i ${MY_PN}/${MY_PN}.pro
+ }
+
+ l10n_for_each_disabled_locale_do rm_ts
+}
+
+src_compile() {
+ lrelease ${MY_PN}.pro
+ eqmake5 ${MY_PN}.pro
+ emake
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ dodoc README.md CHANGELOG.md
+}
diff --git a/sci-geosciences/gpxlab/metadata.xml b/sci-geosciences/gpxlab/metadata.xml
new file mode 100644
index 000000000000..b9ac2eb62539
--- /dev/null
+++ b/sci-geosciences/gpxlab/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>grozin@gentoo.org</email>
+ <name>Andrey Grozin</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">BourgeoisLab/GPXLab</remote-id>
+ </upstream>
+</pkgmetadata>