From 1db00cc6e94b90c08090bb5b8c406622946c4ae5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 31 Jan 2019 16:00:27 +0000 Subject: gentoo resync 31.01.2019 --- sci-geosciences/gpxsee/Manifest | 2 +- sci-geosciences/gpxsee/gpxsee-7.1-r1.ebuild | 80 +++++++++++++++++++++++++++++ sci-geosciences/gpxsee/gpxsee-7.1.ebuild | 77 --------------------------- 3 files changed, 81 insertions(+), 78 deletions(-) create mode 100644 sci-geosciences/gpxsee/gpxsee-7.1-r1.ebuild delete mode 100644 sci-geosciences/gpxsee/gpxsee-7.1.ebuild (limited to 'sci-geosciences/gpxsee') diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 680ca17f9442..5873e116df40 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,5 +1,5 @@ DIST gpxsee-6.3.tar.gz 3861093 BLAKE2B bd6cd81b1f2c4fdd3b4b6c0bae72be1a48ad0f0d22203f653e325228974eaf0043eca41efd42e085bd5811a8d2a9cd2f51fe04c03d9e9d064e01cfc24d7a12e4 SHA512 7a4f23444517a0481490f8f1a0520634e63e0416dd5fd5bdb01942df138839595dffd4bced21e264552915c38e5653e927244ea5ca185ff3f93df56fad3e9c73 DIST gpxsee-7.1.tar.gz 3868798 BLAKE2B 08bc30d77508429bec94bbdb255b76b79c21bd2e251b216743f49fa45f59ded5a02e730c4766fd9f15e2357d74a66750e3e7515a9d8bdd21a1f97dee77cbec02 SHA512 bb7dc14a3cf7ca87a4335383d6c4c380fcf1a0009161ec988b1b5cf964cf757bbe05ae2e51d726edcb97966918afe4d872172087988321222a65e3c27c276a5d EBUILD gpxsee-6.3.ebuild 1537 BLAKE2B 5868cebe01d8b5095eb92c5fbf43b87961b2b08a3d9afb1fed7d7f0e7dda58bb68aa1a7953f52f5d569c4722cfeaa7350f30391ba6b6738a92f6284782444660 SHA512 f25ad58786a05cbdf28e99aff7054281d0fcc199cae3e090a4db11ac42f4f5a802e9247a309396e25db884f58ce5e654ec5c590d80fd8d9429c444c6c5bab0b1 -EBUILD gpxsee-7.1.ebuild 1540 BLAKE2B 0ba94919b68048f8ffe4c898eb37053a648cbef4445c3eab1bb5c381b320e9e6d0c9c7ddec2e81f658ec262beecb892a20f46efc460e900b048aaa1dcda2ab47 SHA512 63c95ed59603f3b34c55d80a0ffcca9040d075b8952b388b6ad490c350d33956558dfafd97c66e4fd8735a63c2befddadb5f78266f2e2d022053345ba4c867d1 +EBUILD gpxsee-7.1-r1.ebuild 1595 BLAKE2B 56ee4fc1ae26a1b7df8d20ac9c5a6b05416693ff90b9c25d99c19d1573024e5e84eaad1bf0118d376646152608584311f6afb18925e3899a80e781414ff3bd35 SHA512 b3d634a0888de422e0b912913323142b9c02673d610d17036854102c6213cd599635a61f30937a0d9255d8f8ae669eef64ab02b5a9935af922251ca9a953c0a4 MISC metadata.xml 606 BLAKE2B cd468e458982d936273ab8f5935689a09a07277dc98994466e0689c600f53d78773144c84a2bba96aee3945685a0e8c7d56a796c277c80db84002c30a00e9cb4 SHA512 002ff03250b14bb15a7345221a95aa37d75a88f3caff84f0510a13cc07738173ec54a555b532d1bba561cdcfaf2235fc40b5379eacfdb84e5a4e59a3c2026dfd diff --git a/sci-geosciences/gpxsee/gpxsee-7.1-r1.ebuild b/sci-geosciences/gpxsee/gpxsee-7.1-r1.ebuild new file mode 100644 index 000000000000..f37e65f5536a --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-7.1-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="cs da de en fi fr nb pl ru sv tr" +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/qtopengl:5 + dev-qt/qtprintsupport:5 + dev-qt/qtnetwork:5 + dev-qt/qtsql:5 + dev-qt/qtconcurrent: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 +} diff --git a/sci-geosciences/gpxsee/gpxsee-7.1.ebuild b/sci-geosciences/gpxsee/gpxsee-7.1.ebuild deleted file mode 100644 index f12eaf15a651..000000000000 --- a/sci-geosciences/gpxsee/gpxsee-7.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2019 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 tr" -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 -} -- cgit v1.2.3