gnu: gpxsee: Upgrade to 7.8
* gnu/packages/gps.scm (gpxsee): Update to 7.8. [arguments]: Leave "config.h" unchanged in 'configure' phase. Remove 'install' phase. [home-page, synopsis, description]: Update. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
b801646727
commit
286ef5d97c
1 changed files with 7 additions and 18 deletions
|
@ -175,7 +175,7 @@ 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 "4.19")
|
(version "7.8")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri
|
(uri
|
||||||
|
@ -184,7 +184,7 @@ coordinates as well as partial support for adjustments in global coordinate syst
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"00j0gjldw1kn3i45dppld1pz8r4s1g7lw89k7gfvvqbjjyjih1wg"))))
|
"1k9nbs3knl6s0s4bf1rgrc9lwczawnzm7629igw0zmxb5yka7d9v"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
|
@ -195,27 +195,16 @@ coordinates as well as partial support for adjustments in global coordinate syst
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(invoke "lrelease" file))
|
(invoke "lrelease" file))
|
||||||
(find-files "lang" "\\.ts"))
|
(find-files "lang" "\\.ts"))
|
||||||
(substitute* "src/config.h"
|
|
||||||
(("/usr/share/gpxsee")
|
|
||||||
(string-append
|
|
||||||
(assoc-ref outputs "out") "/share/gpxsee")))
|
|
||||||
(invoke "qmake"
|
(invoke "qmake"
|
||||||
(string-append "PREFIX="
|
(string-append "PREFIX="
|
||||||
(assoc-ref outputs "out")))))
|
(assoc-ref outputs "out"))))))))
|
||||||
(replace 'install
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(share (string-append out "/share/gpxsee/")))
|
|
||||||
(install-file "GPXSee" (string-append out "/bin/GPXSee"))
|
|
||||||
(install-file "pkg/maps.txt" share))
|
|
||||||
#t)))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("qtbase" ,qtbase)))
|
`(("qtbase" ,qtbase)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("qttools" ,qttools)))
|
`(("qttools" ,qttools)))
|
||||||
(home-page "http://www.gpxsee.org")
|
(home-page "https://www.gpxsee.org")
|
||||||
(synopsis "GPX file viewer and analyzer")
|
(synopsis "GPS log file viewer and analyzer")
|
||||||
(description
|
(description
|
||||||
"GPXSee is a Qt-based GPS log file viewer and analyzer that supports GPX,
|
"GPXSee is a Qt-based GPS log file viewer and analyzer that supports
|
||||||
TCX, KML, FIT, IGC and NMEA files.")
|
all common GPS log file formats.")
|
||||||
(license license:gpl3)))
|
(license license:gpl3)))
|
||||||
|
|
Reference in a new issue