me
/
guix
Archived
1
0
Fork 0

gnu: gpxsee: Update to 13.22.

* gnu/packages/gps.scm (gpxsee): Update to 13.22.
Use qt-build-system.  Use qt6 instead of qt5.

Change-Id: I9101a6f763be198549aca8e5aea95987b14e58e4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Morgan Smith 2024-07-18 19:09:44 -04:00 committed by Ludovic Courtès
parent de0fbfbf0b
commit 2aa3903fdb
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 26 additions and 26 deletions

View File

@ -31,6 +31,7 @@
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system scons) #:use-module (guix build-system scons)
#:use-module (guix build-system qt)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (gnu packages) #:use-module (gnu packages)
@ -51,6 +52,7 @@
#:use-module (gnu packages qt) #:use-module (gnu packages qt)
#:use-module (gnu packages serialization) #:use-module (gnu packages serialization)
#:use-module (gnu packages sqlite) #:use-module (gnu packages sqlite)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml)) #:use-module (gnu packages xml))
(define-public gpsbabel (define-public gpsbabel
@ -179,33 +181,31 @@ coordinates as well as partial support for adjustments in global coordinate syst
(define-public gpxsee (define-public gpxsee
(package (package
(name "gpxsee") (name "gpxsee")
(version "11.1") (version "13.22")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/tumic0/GPXSee") (uri (git-reference
(commit version))) (url "https://github.com/tumic0/GPXSee")
(file-name (git-file-name name version)) (commit version)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"1klpjiqsvpvhlg5hsfjaszsyqr817hig9r7y7w4cp0kyn8z5fzfj")))) (base32 "15m5rqky2fwsq5n6x531350x39wwhpv1hz56m1yfaxj7acxhb2p5"))))
(build-system gnu-build-system) (build-system qt-build-system)
(arguments (arguments
'(#:phases (list
(modify-phases %standard-phases #:qtbase qtbase
(replace 'configure #:tests? #f ; no tests
;; Use lrelease to convert TS translation files into QM files. #:phases #~(modify-phases %standard-phases
(lambda* (#:key inputs outputs #:allow-other-keys) (replace 'configure
(for-each (lambda (file) ;; Use lrelease to convert TS translation files into QM files.
(invoke "lrelease" file)) (lambda _
(find-files "lang" "\\.ts")) (apply invoke "lrelease"
(invoke "qmake" (find-files "lang" "\\.ts"))
(string-append "PREFIX=" (invoke "qmake"
(assoc-ref outputs "out")))))))) (string-append "PREFIX=" #$output)))))))
(inputs (inputs (list libxkbcommon qtbase qtpositioning qtserialport qtsvg))
(list qtbase-5 qtlocation-5 qtsvg-5)) (native-inputs (list qttools))
(native-inputs
(list qttools-5))
(home-page "https://www.gpxsee.org") (home-page "https://www.gpxsee.org")
(synopsis "GPS log file viewer and analyzer") (synopsis "GPS log file viewer and analyzer")
(description (description