gnu: opencpn: Update to 5.2.4.
* gnu/packages/geo.scm (opencpn): Update to 5.2.4. [arguments]: Update 'configure-flag' and 'fix-build' phase.
This commit is contained in:
parent
b182e13638
commit
4d02165992
1 changed files with 14 additions and 11 deletions
|
@ -2014,7 +2014,7 @@ exchanged form one Spatial DBMS and the other.")
|
||||||
(define-public opencpn
|
(define-public opencpn
|
||||||
(package
|
(package
|
||||||
(name "opencpn")
|
(name "opencpn")
|
||||||
(version "5.0.0")
|
(version "5.2.4")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -2023,7 +2023,7 @@ exchanged form one Spatial DBMS and the other.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1xv3h6svw9aay5ixpql231md3pf00qxvhg62z88daraf18hlkfja"))))
|
(base32 "0ffx0lmz1mp5433zqyxigy4qqav32xprpagd66krvihkyvqp2y6y"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gettext" ,gettext-minimal)
|
`(("gettext" ,gettext-minimal)
|
||||||
|
@ -2049,20 +2049,23 @@ exchanged form one Spatial DBMS and the other.")
|
||||||
("xz" ,xz)
|
("xz" ,xz)
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("-DENABLE_PORTAUDIO=ON"
|
`(#:configure-flags '("-DOCPN_USE_BUNDLED_LIBS=OFF"
|
||||||
"-DENABLE_SNDFILE=ON"
|
"-DOCPN_ENABLE_PORTAUDIO=ON"
|
||||||
"-DBUNDLE_TCDATA=ON"
|
"-DOCPN_ENABLE_SNDFILE=ON"
|
||||||
"-DBUNDLE_GSHHS=CRUDE"
|
"-DOCPN_BUNDLE_TCDATA=ON"
|
||||||
"-DCMAKE_C_FLAGS=-fcommon")
|
"-DOCPN_BUNDLE_GSHHS=ON")
|
||||||
#:tests? #f ; No tests defined
|
#:tests? #f ; No tests defined
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-build
|
(add-after 'unpack 'fix-build
|
||||||
(lambda _
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "CMakeLists.txt"
|
(substitute* "CMakeLists.txt"
|
||||||
(("set\\(wxWidgets_CONFIG_OPTIONS.*--toolkit=gtk3" all)
|
(("wx-32.c; cc")
|
||||||
(string-append all " --libs all")))
|
"wx-32.c; gcc")
|
||||||
#t)))))
|
(("\"/bin/sh\" \"-c\"")
|
||||||
|
(string-append "\"" (which "bash") "\" \"-c\""))
|
||||||
|
(("include\\(TargetSetup\\)")
|
||||||
|
"set(PKG_TARGET \"guix\")\nset(PKG_TARGET_VERSION 1)")))))))
|
||||||
(synopsis "Chart plotter and marine GPS navigation software")
|
(synopsis "Chart plotter and marine GPS navigation software")
|
||||||
(description
|
(description
|
||||||
"OpenCPN is a chart plotter and marine navigation software designed to be
|
"OpenCPN is a chart plotter and marine navigation software designed to be
|
||||||
|
|
Reference in a new issue