diff options
author | Andrey Grozin <grozin@gentoo.org> | 2020-01-30 23:04:08 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2020-01-30 23:04:08 +0700 |
commit | bca5497a304ebc4105c19a19acebbcb4d28767d6 (patch) | |
tree | 3e938ab559d5917ec6bf7d120b47b913f7f96c8a /sci-geosciences/gpxsee | |
parent | dev-db/mariadb: Version bump for 10.3.22 (diff) | |
download | gentoo-bca5497a304ebc4105c19a19acebbcb4d28767d6.tar.gz gentoo-bca5497a304ebc4105c19a19acebbcb4d28767d6.tar.bz2 gentoo-bca5497a304ebc4105c19a19acebbcb4d28767d6.zip |
sci-geosciences/gpxsee: bump to 7.20
Package-Manager: Portage-2.3.85, Repoman-2.3.20
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.20.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 413899159c45..39e1fc5e7fab 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1 +1,2 @@ DIST gpxsee-7.18.tar.gz 5006604 BLAKE2B b7568a677e3cff08903d862921ace01374a594e216b1bd9eda457a92f700ef232b5804dff24696ee0574bcbe1d4e8a103dac6b5db33482cb0139f73b21852883 SHA512 562944a14ac2af4ec6837e77a6610b8ad7d254ffada4202e589c05a4306c0410e815212d7a7847708c50de72fa21a02d41bf5152f5d5f313c96da5b2516138fd +DIST gpxsee-7.20.tar.gz 5348758 BLAKE2B d7e8f0f29dfe666572a58a1a5072545cda345f51d305d6c0351ee5639ba09c185b9b3e7e883d2d02198e70a58ef69508cfd5ab561183c68a625fa4101dc17285 SHA512 37c975d9e64cf6fe5455a0e6cfb896275db6a0469ba772c97615c8b2f79af591bf4eb7f6dd414c6a3f0344fe1b9f443f402e0b8c173beee0a301ede783fa26db diff --git a/sci-geosciences/gpxsee/gpxsee-7.20.ebuild b/sci-geosciences/gpxsee/gpxsee-7.20.ebuild new file mode 100644 index 000000000000..36fc6a2dbbb6 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-7.20.ebuild @@ -0,0 +1,66 @@ +# 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 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}" + +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 + + domenu pkg/${PN}.desktop + insinto /usr/share/mime/packages + doins pkg/${PN}.xml + doicon icons/${PN}.png +} |