diff options
author | Andrey Grozin <grozin@gentoo.org> | 2018-09-03 22:53:38 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2018-09-03 22:53:38 +0700 |
commit | 96ddbd15a100fb1fb9c026e6f37c786dd7fa8055 (patch) | |
tree | 65c25b6874eaf46b1ff98b2be2f79721e80711d2 /sci-geosciences/gpxsee | |
parent | sci-geosciences/gpxsee: cleaning old (diff) | |
download | gentoo-96ddbd15a100fb1fb9c026e6f37c786dd7fa8055.tar.gz gentoo-96ddbd15a100fb1fb9c026e6f37c786dd7fa8055.tar.bz2 gentoo-96ddbd15a100fb1fb9c026e6f37c786dd7fa8055.zip |
sci-geosciences/gpxsee: bump to 5.17
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'sci-geosciences/gpxsee')
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-5.17.ebuild | 77 |
2 files changed, 78 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 5cc44ca5e093..1b22752082d1 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1 +1,2 @@ DIST gpxsee-5.14.tar.gz 3155455 BLAKE2B 6180efa345532c99a655b80b6052e6646d4b8bcf5b7feda1eec6f0c73ca63a21cf6ab7efd29e297d35e2cd5ab8cd73204864f1db0e9417107b59bc29f8982d3e SHA512 0fa666b999bb6990a3e78087053f9647c023a21b2bbec870fffc4fe1df3982e06beb294231340c4a0a006d06a1c136f94a09724ffa76758c1246d79f3077b075 +DIST gpxsee-5.17.tar.gz 3831253 BLAKE2B 297dc940a373a302e93b647b386813d1d0d96ac3d01937f84d8bb79239be492b358351b498743981c046a86349b5036d4448288e7cb113eae42383b1f3ed64ed SHA512 260af8d80df5d4239a4ad6c32154871f663c167f6dc697a4cbc7127d29e8752c401720697ba463647852d4179cd484e871645385baad277f3512e74159a2016e diff --git a/sci-geosciences/gpxsee/gpxsee-5.17.ebuild b/sci-geosciences/gpxsee/gpxsee-5.17.ebuild new file mode 100644 index 000000000000..50bccd2c2d46 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-5.17.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="cs de fi fr pl ru sv" +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/qtprintsupport:5 + dev-qt/qtnetwork: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 + newbin ${MY_PN} ${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 +} |