mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-geosciences/gpxsee: bump to 13.24
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST gpxsee-13.22.tar.gz 5634011 BLAKE2B b708ea4a81679109ce4e67302e336e070a508799ba8bbcf67121b617390e3808e2a054170e57a112c734fa7d22698f71da5f902ec704fda0f0fcf2818495b29f SHA512 0a12304c608ee86ebdd226a3179fde538ac0f64d5300ede4a032be373059ccbe1dcbcb6db76326c9988620b9fd41dd0f36e8e922b305a16fd27e87a56385fcba
|
||||
DIST gpxsee-13.23.tar.gz 5635256 BLAKE2B d6f69b4fd69aaa850994f9f3ee61790ff4e407adab85074b80940c7d9a24da010b4e2e485e79f0bd564b20a1295e34ae454504c59f60f56b161c7a5ac8fbd1ea SHA512 bf917e36deef824289d432d2ebdaffd417a34b843c2b7ef129e5469f3f5a723d54b4b1af756571614329dee7ba01daa38b110d730a7787dfcf617b4faa007ee3
|
||||
DIST gpxsee-13.24.tar.gz 5638074 BLAKE2B 036d5b6c03f137149ea4f4d41ecf46df184e78ca523a2c1a9e48bb2d3ea3352264bd24b30e3169c1f2bba917971eadae87d2dea1ac9c9b9667490ea94499db27 SHA512 8d33c204b184d0ecbe260bf384cf90103efea7ebdaa9c1f647e1f7bdd6376a1db55bf73ca1b153699a5a878aa8815b0e2aeb75f67448c7390ccaf7d8ed8f207a
|
||||
|
||||
74
sci-geosciences/gpxsee/gpxsee-13.24.ebuild
Normal file
74
sci-geosciences/gpxsee/gpxsee-13.24.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user