diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /sci-geosciences/gpxsee | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'sci-geosciences/gpxsee')
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 2 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-13.23.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index ff3e4fba9eb7..06d7634d7926 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,4 +1,6 @@ AUX gpxsee-7.33.patch 332 BLAKE2B c0ccd7e75c0d99533fcc3a1ce582b59c739e36c203434ab5c491c5c70953adadec7beae0340aaecb76f0b92c10052f8398ff2597a226426c8b9f7222c2d812f3 SHA512 ff3e78d30793784ffc147f89c7558bc9b470935293416e961db744d6edd42bf096499e3aa199908614d547e48ef893b28c886cc61e4e5ee182abddabffd660fc DIST gpxsee-13.22.tar.gz 5634011 BLAKE2B b708ea4a81679109ce4e67302e336e070a508799ba8bbcf67121b617390e3808e2a054170e57a112c734fa7d22698f71da5f902ec704fda0f0fcf2818495b29f SHA512 0a12304c608ee86ebdd226a3179fde538ac0f64d5300ede4a032be373059ccbe1dcbcb6db76326c9988620b9fd41dd0f36e8e922b305a16fd27e87a56385fcba +DIST gpxsee-13.23.tar.gz 5635256 BLAKE2B d6f69b4fd69aaa850994f9f3ee61790ff4e407adab85074b80940c7d9a24da010b4e2e485e79f0bd564b20a1295e34ae454504c59f60f56b161c7a5ac8fbd1ea SHA512 bf917e36deef824289d432d2ebdaffd417a34b843c2b7ef129e5469f3f5a723d54b4b1af756571614329dee7ba01daa38b110d730a7787dfcf617b4faa007ee3 EBUILD gpxsee-13.22.ebuild 1513 BLAKE2B f5262b4edabfdb6b1e92a4626c2c06d583d7203be056a104f8c98461fc2927f728584daef4bc87c38993a0f011233ad7fab9116409a6df411079e20a63d1e7ff SHA512 586dbcdcb1465ff66a20d88ae235dfe651b5a7ad15ae4454cad1be356aa15219429f319994358f79889da526f342427f160de73ec8bf19773a121832905e81b4 +EBUILD gpxsee-13.23.ebuild 1516 BLAKE2B fee78110a609facead46ce994c1deefd31a386a567113baef9587cdbcbfbdda809b4c12df41e5e696e5cea18989f67af974ab0c295b24ad5ef1d1501ceac4c81 SHA512 ae318269aa26b278ce16bdf6b585f1b35c7e28bdc8d43f6bc13c688e4fa88de338d9f68da1e92991d8b5fc436683852de08ddae24289de1aa177a18789a59f77 MISC metadata.xml 508 BLAKE2B da581bc3330fcebff61893ddcc75762fa4987f959cf6eaddb49a2f67a3071caf5e1aa5e1f9722fc493c13091146a70bbf5f7051d2961e4456c1aaf025182a77a SHA512 e895fdb3e558a75c1506206c5b0cf797f4ee14aa83c4e0853bec71c48298301cd7cc052853df64fc62c253543882cf878e03be864a93643456f5f117816faaa3 diff --git a/sci-geosciences/gpxsee/gpxsee-13.23.ebuild b/sci-geosciences/gpxsee/gpxsee-13.23.ebuild new file mode 100644 index 000000000000..6ed42a42478c --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-13.23.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PLOCALES="ca cs da de en eo es fi fr hu it ko nb pl pt_BR ru sv tr uk zh" +inherit plocale qmake-utils 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/ https://github.com/tumic0/GPXSee" +SRC_URI="https://github.com/tumic0/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="qt6" + +RDEPEND=" + qt6? ( + dev-qt/qtbase:6 + dev-qt/qtpositioning:6 + dev-qt/qtserialport:6 + ) + !qt6? ( + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtpositioning:5 + dev-qt/qtprintsupport:5 + dev-qt/qtserialport:5 + dev-qt/qtsql:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + qt6? ( dev-qt/qttools:6 ) + !qt6? ( dev-qt/linguist-tools:5 ) +" + +PATCHES=( "${FILESDIR}"/${PN}-7.33.patch ) + +src_prepare() { + default + + plocale_find_changes lang "${PN}_" '.ts' + + rm_ts() { + sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro + } + + plocale_for_each_disabled_locale rm_ts +} + +src_compile() { + if use qt6; then + $(qt6_get_bindir)/lrelease gpxsee.pro || die "lrelease failed" + eqmake6 gpxsee.pro + else + $(qt5_get_bindir)/lrelease gpxsee.pro || die "lrelease failed" + eqmake5 gpxsee.pro + fi + emake +} + +src_install() { + emake INSTALL_ROOT="${D}" install + dodoc README.md +} |