diff options
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-7.35.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 0fa54d5c4f31..f5667de43ce0 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -2,3 +2,4 @@ DIST gpxsee-7.29.tar.gz 5363181 BLAKE2B 4d3a5693a7b5939847c2dc32bff2056492647669 DIST gpxsee-7.30.tar.gz 5371435 BLAKE2B 49f257dc50201b2fd5a621d51fba67fd8511399c2fb97bd30087e0daedb3db78b678d658bfc6e5c3faedeea84940a8fb1ebe7df16cf3002e40d934c3798ce44a SHA512 b1771cc63df538e6ed5b9c7f47a0aaf4f31969a03a1727870372a249c36f3504adfbb31fdc321cc0da3547f02be7f33639f6e5569a83c98092f2d9a998690c00 DIST gpxsee-7.31.tar.gz 5377234 BLAKE2B 5f968ad4846a458809b135bd37a978b742a17866a1041d73d6aa14eb5c36f516ae5fade7d8988ef82a0bdb9208e3122f70e5fc982469288fd58f68aa19f6623e SHA512 616dff64295fb83ce10ede3ec79a308682659bef9f0ca25aaafd50c231d84bb7bf8fc4b658fb8c1210db8e14d1941d07f8dfaef50e0c033a988d1f838a483203 DIST gpxsee-7.33.tar.gz 5400194 BLAKE2B 172bd05ab0ae961abdcde9023727e855781ea6548cfc634d0504a43adce1c11873bfdf5901021bb6c0160da23885e1a7d8dac54d1fd8c4a53b630f4d3c0e2319 SHA512 fdc3dc24b65dcc828073c58003a820b927ca9f8e3d46d4a5236c1339efeb04f81dc97a2f3125be40eac533dc2f008235a059124240ab881cbff70a478c7c3d5b +DIST gpxsee-7.35.tar.gz 5403169 BLAKE2B 901c77aa0fd0a54976a8d88daa98acc0125dacae7b9e45455ed79f2c633f33a6311dd3c9a388eae1350dac82ac1e02b811680b15f161cb8a523878698d993aae SHA512 d3346e2ed8593d5b57c2484a2153c9900289380a79799dbbe587879c9fc0b3e95d21f14d178e7e2a4b586062cc22c4ba1d90b3e66e73f0c334360f3b04625f8e diff --git a/sci-geosciences/gpxsee/gpxsee-7.35.ebuild b/sci-geosciences/gpxsee/gpxsee-7.35.ebuild new file mode 100644 index 000000000000..d9d146091a25 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-7.35.ebuild @@ -0,0 +1,55 @@ +# 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 hu it 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}" + +PATCHES=( "${FILESDIR}"/${PN}-7.33.patch ) + +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() { + emake INSTALL_ROOT="${D}" install + dodoc README.md +} |