diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-03 08:36:22 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-03 08:36:22 +0000 |
commit | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (patch) | |
tree | 021998302365c5652e37824b6c26d4d969a62055 /sci-geosciences/gpxsee | |
parent | 70b82ae359a5538711e103b0e8dfb92654296644 (diff) |
gentoo resync : 03.11.2018
Diffstat (limited to 'sci-geosciences/gpxsee')
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 2 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-6.3.ebuild | 77 |
2 files changed, 79 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 689d2d6fd781..a5f2f1a2ab9e 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,5 +1,7 @@ DIST gpxsee-5.14.tar.gz 3155455 BLAKE2B 6180efa345532c99a655b80b6052e6646d4b8bcf5b7feda1eec6f0c73ca63a21cf6ab7efd29e297d35e2cd5ab8cd73204864f1db0e9417107b59bc29f8982d3e SHA512 0fa666b999bb6990a3e78087053f9647c023a21b2bbec870fffc4fe1df3982e06beb294231340c4a0a006d06a1c136f94a09724ffa76758c1246d79f3077b075 DIST gpxsee-5.17.tar.gz 3831253 BLAKE2B 297dc940a373a302e93b647b386813d1d0d96ac3d01937f84d8bb79239be492b358351b498743981c046a86349b5036d4448288e7cb113eae42383b1f3ed64ed SHA512 260af8d80df5d4239a4ad6c32154871f663c167f6dc697a4cbc7127d29e8752c401720697ba463647852d4179cd484e871645385baad277f3512e74159a2016e +DIST gpxsee-6.3.tar.gz 3861093 BLAKE2B bd6cd81b1f2c4fdd3b4b6c0bae72be1a48ad0f0d22203f653e325228974eaf0043eca41efd42e085bd5811a8d2a9cd2f51fe04c03d9e9d064e01cfc24d7a12e4 SHA512 7a4f23444517a0481490f8f1a0520634e63e0416dd5fd5bdb01942df138839595dffd4bced21e264552915c38e5653e927244ea5ca185ff3f93df56fad3e9c73 EBUILD gpxsee-5.14.ebuild 1528 BLAKE2B 3a497c29783eddebffec8cf3d9a6220680ba6763462f9b508b26c4cd6750af21982768eeac0086e03befd819fcdd159981457cc75c4d946ac2ab8b43c23e78a2 SHA512 e7eb13dd2c1577283f9e7fd75594436dff2cd35c0f5d9a2d987e2f02638d0fbd3346ab6808e85b50a202e630fa3de2852cdbeb3546ab73a07ce389392de576fe EBUILD gpxsee-5.17.ebuild 1528 BLAKE2B 3a497c29783eddebffec8cf3d9a6220680ba6763462f9b508b26c4cd6750af21982768eeac0086e03befd819fcdd159981457cc75c4d946ac2ab8b43c23e78a2 SHA512 e7eb13dd2c1577283f9e7fd75594436dff2cd35c0f5d9a2d987e2f02638d0fbd3346ab6808e85b50a202e630fa3de2852cdbeb3546ab73a07ce389392de576fe +EBUILD gpxsee-6.3.ebuild 1537 BLAKE2B 5868cebe01d8b5095eb92c5fbf43b87961b2b08a3d9afb1fed7d7f0e7dda58bb68aa1a7953f52f5d569c4722cfeaa7350f30391ba6b6738a92f6284782444660 SHA512 f25ad58786a05cbdf28e99aff7054281d0fcc199cae3e090a4db11ac42f4f5a802e9247a309396e25db884f58ce5e654ec5c590d80fd8d9429c444c6c5bab0b1 MISC metadata.xml 606 BLAKE2B cd468e458982d936273ab8f5935689a09a07277dc98994466e0689c600f53d78773144c84a2bba96aee3945685a0e8c7d56a796c277c80db84002c30a00e9cb4 SHA512 002ff03250b14bb15a7345221a95aa37d75a88f3caff84f0510a13cc07738173ec54a555b532d1bba561cdcfaf2235fc40b5379eacfdb84e5a4e59a3c2026dfd diff --git a/sci-geosciences/gpxsee/gpxsee-6.3.ebuild b/sci-geosciences/gpxsee/gpxsee-6.3.ebuild new file mode 100644 index 000000000000..845d03f7b4f1 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-6.3.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 da de en fi fr nb 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 +} |