diff options
author | Andrey Grozin <grozin@gentoo.org> | 2019-10-20 17:42:07 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2019-10-20 17:42:07 +0700 |
commit | b6979af0f4a8b33857347d21d80f0377df4c21bf (patch) | |
tree | 7f26a699b429ca910467a2818f794896a055e05b /sci-geosciences/gpxsee | |
parent | dev-util/crash: add myself to maintainer list (diff) | |
download | gentoo-b6979af0f4a8b33857347d21d80f0377df4c21bf.tar.gz gentoo-b6979af0f4a8b33857347d21d80f0377df4c21bf.tar.bz2 gentoo-b6979af0f4a8b33857347d21d80f0377df4c21bf.zip |
sci-geosciences/gpxsee: bump to 7.15
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-geosciences/gpxsee')
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-7.15.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 5e2db65c9505..f1c96aa08e92 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,4 +1,5 @@ DIST gpxsee-7.12.tar.gz 4688060 BLAKE2B 5700bfd8ec4d6702df417297b0c5ce7d5df5f099ee435b4e322b78b65441adb0fcb00d4cbcddd825c75879cc35d2e7f67900525bc515a64813ab8148fc025fe8 SHA512 1630e34e5a367e88f55b690434be6f3ba73d9a55c0d351944939cca8a1994b0ac9ccc4a52ec30562d64179326f7be514549a83a0027a4b0189306fc47840d0bc DIST gpxsee-7.13.tar.gz 4687849 BLAKE2B 1963533450c8721b9ef9323080efc885ead692f683f1f3e5458938be3599481f4dc79b569ed01324939b3a67a344983f03d8bff48d7dbb867cf6a96e01b93aef SHA512 679d78169ed272239e1f474a9c25654f3230ed30cddc22e7f19ba8b5726e8a8f6b41aae34b3017beb14ca80ad553572ac0c53f504489fbb70fd32ea9e5969702 DIST gpxsee-7.14.tar.gz 4696636 BLAKE2B 6ce00165cd6e14242d8aab5d809e0758015683be3cc3dcf8b012163e0114605c2f9cf31a49b950790dd09f8ee8c3d8edaca4660df36845379ccc6b74a3981759 SHA512 ecde2a2dc6b001239c9827698b27d08e1909fad3798fe04612378889fb6c9368663a6032bc823f2da82ec72fe0fe2647cf86aba87cd31c1467dbefbde985e613 +DIST gpxsee-7.15.tar.gz 4696645 BLAKE2B 92b88c95f83cc769b54204451fd6b0ed03144e2db3711672062e586ef3b97ca5cec9bdcdf6ed2b764d14e76d4efa387ffd6ad9d8f2c588f972c8cf5ee50e06a6 SHA512 9a9c1f577cdb1d2b4008f2e3ff00da801373bd8bac89d1aef3198e0a640191d4c9dd64f4e2483e3c536ad1a51b6389d10a8b1cb8224ec5baab79a8f92a1c2bf1 DIST gpxsee-7.9.tar.gz 4347609 BLAKE2B 1555576b72ada6d6302fede1ba0d043b4656afeabaa390e5c32289a0b5e57fdf5a5a880516a6960ea2d00844cdf9a88a894a36e3a82bde6f6fb3c30ddb166bc7 SHA512 24522506894e9ea88ab7b79b34082a1c8c563c8e0c73672ba247a5d013f0c802752665a62686259981f2b49494982d3ad0f06de83f37874e87110bee42964659 diff --git a/sci-geosciences/gpxsee/gpxsee-7.15.ebuild b/sci-geosciences/gpxsee/gpxsee-7.15.ebuild new file mode 100644 index 000000000000..3b81f7fe5b94 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-7.15.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PLOCALES="cs da de en es fi fr nb pl pt_BR pt_PT ru sv tr" +inherit 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}" + +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() { + local lang + dobin ${PN} + dodoc README.md + insinto /usr/share/${PN} + doins -r pkg/maps pkg/csv + + insinto /usr/share/${PN}/translations + for lang in lang/*.qm; do + [ -f "${lang}" ] && doins "${lang}" + done + + insinto /usr/share/applications + doins pkg/${PN}.desktop + insinto /usr/share/mime/packages + doins pkg/${PN}.xml + insinto /usr/share/pixmaps + doins icons/${PN}.png +} |