diff options
author | Andrey Grozin <grozin@gentoo.org> | 2018-06-02 21:08:29 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2018-06-02 21:09:28 +0700 |
commit | ce8116ae21cbffc2a6dd03fc6ba1f967594d07c9 (patch) | |
tree | 83c9dbbc03aae00e1378b99a53d7e35826a57196 /sci-geosciences/gpxsee | |
parent | x11-libs/qwt: 6.1.3-r1: Drop ~alpha/~ia64 keywords (diff) | |
download | gentoo-ce8116ae21cbffc2a6dd03fc6ba1f967594d07c9.tar.gz gentoo-ce8116ae21cbffc2a6dd03fc6ba1f967594d07c9.tar.bz2 gentoo-ce8116ae21cbffc2a6dd03fc6ba1f967594d07c9.zip |
sci-geosciences/gpxsee: bump to 5.13
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sci-geosciences/gpxsee')
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-5.13.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 32fd3a251622..69ef51fd97fe 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,2 +1,3 @@ DIST GPXSee-5.1.tar.gz 926296 BLAKE2B 77685685229869bf8bb6c7c71e49c2b2a0a93e7b1d2c16912f2ddc2fa5b779e92a650760c726b4f17b0dcc5154783d3f1c6ab69b44b20257549dc0cd13669d8b SHA512 e963228d168822f9796ec1e5244a5eefcf0ca24f424dd579531fe4749f5d946724b4e76f2c2ab028776d87df6e593e06d04963c2e1e338ec0d12d729be646723 DIST GPXSee-5.10.tar.gz 3009762 BLAKE2B 6152b5268c1715ccd6c2d080a5a720a9369b09834a0d192eb37ca95c10948613c49cd078ff4ffeb4684d7305f557592cee34c1ab2fab1cad49cc01d956844eec SHA512 74f99d18c692e7411ec7350c5a2f3618884b5e84e799b4999b5988a8c5a8af000ebe325b0523dbb7daff1fc0e05687a3d8f53d136934c9ca8cd791b1eee445db +DIST GPXSee-5.13.tar.gz 3058493 BLAKE2B 3c262d1e78380f8cc0a4a989dd721cfb6eef72f2285f9f5d88f8d521c6d0b24b3c5e8a3b3b7a3a87b7a0e11ca350540a78d826e62afe3c82ad614899c5663f79 SHA512 7cffbf5d3e928cfc14074c62c046be9b2e7546c1cc59716c52c5f43b8a1ffabe04585cff5b4eccbfd6a756c6d635443af610bb3e8c82834f21bb768a93f7bbb6 diff --git a/sci-geosciences/gpxsee/gpxsee-5.13.ebuild b/sci-geosciences/gpxsee/gpxsee-5.13.ebuild new file mode 100644 index 000000000000..eac7527636d7 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-5.13.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 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="mirror://sourceforge/${PN}/Source/${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 +} |