diff options
author | Andrey Grozin <grozin@gentoo.org> | 2019-06-19 11:46:51 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2019-06-19 11:46:51 +0700 |
commit | d884e0d872498a877f934ae056485ccc4afe60b7 (patch) | |
tree | 79dd967c2a450517778d5a6a6511e15afe54ed57 /sci-geosciences | |
parent | app-office/texmacs: bump to 1.99.9 (diff) | |
download | gentoo-d884e0d872498a877f934ae056485ccc4afe60b7.tar.gz gentoo-d884e0d872498a877f934ae056485ccc4afe60b7.tar.bz2 gentoo-d884e0d872498a877f934ae056485ccc4afe60b7.zip |
sci-geosciences/gpxsee: bump to 7.9
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-7.9.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 399b2aaea3d3..6553921ac2fe 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -2,3 +2,4 @@ DIST gpxsee-6.3.tar.gz 3861093 BLAKE2B bd6cd81b1f2c4fdd3b4b6c0bae72be1a48ad0f0d2 DIST gpxsee-7.1.tar.gz 3868798 BLAKE2B 08bc30d77508429bec94bbdb255b76b79c21bd2e251b216743f49fa45f59ded5a02e730c4766fd9f15e2357d74a66750e3e7515a9d8bdd21a1f97dee77cbec02 SHA512 bb7dc14a3cf7ca87a4335383d6c4c380fcf1a0009161ec988b1b5cf964cf757bbe05ae2e51d726edcb97966918afe4d872172087988321222a65e3c27c276a5d DIST gpxsee-7.5.tar.gz 4302319 BLAKE2B f31aba249b87a85b7d5e4b2e3bb6c300b682a0f0e77d82b8151ffbd621664840782a1894277249e5f858a6837cf0580bb32748a04684157999edc64295f4192d SHA512 ff55267abeda8970282bbbadc9fdf0c72120aa25cf6f3ce95de77ea330087e36a0c64332ff9cd1c569bac24bed891dc265ded57587e7fb258b30e382fa31b093 DIST gpxsee-7.8.tar.gz 4330785 BLAKE2B 360e7bb21870256b0480653687e2323e262d84db511acecd3a45228bab87b25b6eac5ae96e670d50bb5e9f8090907c9876685df5a4badba9d12572efbb30afe7 SHA512 07c6a67f574abc1f916a1d25424ab4e277617ac4b698c99307a144a07d2d08634e9c3353bfd2f3fddf0b45c27adbd1ba8499c46a35608aa66a9a851118ce2af5 +DIST gpxsee-7.9.tar.gz 4347609 BLAKE2B 1555576b72ada6d6302fede1ba0d043b4656afeabaa390e5c32289a0b5e57fdf5a5a880516a6960ea2d00844cdf9a88a894a36e3a82bde6f6fb3c30ddb166bc7 SHA512 24522506894e9ea88ab7b79b34082a1c8c563c8e0c73672ba247a5d013f0c802752665a62686259981f2b49494982d3ad0f06de83f37874e87110bee42964659 diff --git a/sci-geosciences/gpxsee/gpxsee-7.9.ebuild b/sci-geosciences/gpxsee/gpxsee-7.9.ebuild new file mode 100644 index 000000000000..6b28d5dd63ab --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-7.9.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="cs da de en es fi fr nb pl pt_BR ru sv tr" +inherit qmake-utils l10n xdg-utils gnome2-utils + +MY_PN="GPXSee" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea files" +HOMEPAGE="http://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} + 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 +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} |