gnu: monero-gui: Update to 0.17.1.4.

* gnu/packages/finance.scm (monero-gui): Update to 0.17.1.4.
  [inputs]: Remove qtlocation and qtmultimedia.
  [arguments]: Remove custom CMAKE_BUILD_TYPE, and set CMAKE_PREFIX_PATH to
  empty string in 'configure-flags' to fix a "file name too long" error during
  build. Remove patching of "monero/src/version.cpp.in" in 'fix-build' phase.
This commit is contained in:
Guillaume Le Vaillant 2020-11-11 13:57:41 +01:00
parent 0da64c60fb
commit 903ff4254f
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -727,7 +727,7 @@ (define-public monero
(define-public monero-gui
(package
(name "monero-gui")
(version "0.17.1.1")
(version "0.17.1.4")
(source
(origin
(method git-fetch)
@ -736,7 +736,7 @@ (define-public monero-gui
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0aqhp4rmqsgwjb875kgh6qwz0wyyiag1fksyic9cnhgg5j5y95nx"))))
(base32 "1ixjfdlvwr2an2s9jaql240bk7jpq5hhm5c4hww0bicyy3fp12ng"))))
(build-system qt-build-system)
(native-inputs
`(,@(package-native-inputs monero)
@ -748,8 +748,6 @@ (define-public monero-gui
("qtbase" ,qtbase)
("qtdeclarative" ,qtdeclarative)
("qtgraphicaleffects" ,qtgraphicaleffects)
("qtlocation" ,qtlocation)
("qtmultimedia" ,qtmultimedia)
("qtquickcontrols" ,qtquickcontrols)
("qtquickcontrols2",qtquickcontrols2)
("qtsvg" ,qtsvg)
@ -761,7 +759,7 @@ (define-public monero-gui
"-DENABLE_PASS_STRENGTH_METER=ON"
(string-append "-DReadline_ROOT_DIR="
(assoc-ref %build-inputs "readline"))
"-DCMAKE_BUILD_TYPE=Release")
"-DCMAKE_PREFIX_PATH=\"\"")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'extract-monero-sources
@ -774,9 +772,6 @@ (define-public monero-gui
#t))
(add-after 'extract-monero-sources 'fix-build
(lambda _
(substitute* "monero/src/version.cpp.in"
(("@VERSION_IS_RELEASE@")
"false"))
(substitute* "src/version.js.in"
(("@VERSION_TAG_GUI@")
,version))