commit: 89a63b37facc4f2ca75b10a699f86a29653e6daa Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> AuthorDate: Mon May 14 08:32:26 2018 +0000 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> CommitDate: Mon May 14 08:32:26 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89a63b37
sci-geosciences/gpxsee: bump to 5.10 Closes: https://bugs.gentoo.org/654738 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sci-geosciences/gpxsee/Manifest | 1 + sci-geosciences/gpxsee/gpxsee-5.10.ebuild | 72 +++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index ed9567fd85a..32fd3a25162 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1 +1,2 @@ DIST GPXSee-5.1.tar.gz 926296 BLAKE2B 77685685229869bf8bb6c7c71e49c2b2a0a93e7b1d2c16912f2ddc2fa5b779e92a650760c726b4f17b0dcc5154783d3f1c6ab69b44b20257549dc0cd13669d8b SHA512 e963228d168822f9796ec1e5244a5eefcf0ca24f424dd579531fe4749f5d946724b4e76f2c2ab028776d87df6e593e06d04963c2e1e338ec0d12d729be646723 +DIST GPXSee-5.10.tar.gz 3009762 BLAKE2B 6152b5268c1715ccd6c2d080a5a720a9369b09834a0d192eb37ca95c10948613c49cd078ff4ffeb4684d7305f557592cee34c1ab2fab1cad49cc01d956844eec SHA512 74f99d18c692e7411ec7350c5a2f3618884b5e84e799b4999b5988a8c5a8af000ebe325b0523dbb7daff1fc0e05687a3d8f53d136934c9ca8cd791b1eee445db diff --git a/sci-geosciences/gpxsee/gpxsee-5.10.ebuild b/sci-geosciences/gpxsee/gpxsee-5.10.ebuild new file mode 100644 index 00000000000..adb87d2d773 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-5.10.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="cs de fi fr 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="mirror://sourceforge/${PN}/${MY_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() { + newbin ${MY_PN} ${PN} + dodoc README.md + insinto /usr/share/${PN} + doins -r pkg/maps pkg/csv + insinto /usr/share/${PN}/translations + doins lang/*.qm + 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 +}