gnu: monero-gui: Update to 0.17.2.2.

* gnu/packages/finance.scm (monero-gui): Update to 0.17.2.2.
  [arguments]: Update 'fix-build' phase.
This commit is contained in:
Guillaume Le Vaillant 2021-05-15 11:08:56 +02:00
parent bb6ae50d82
commit b149c16371
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -747,7 +747,7 @@ (define-public monero
(define-public monero-gui (define-public monero-gui
(package (package
(name "monero-gui") (name "monero-gui")
(version "0.17.2.1") (version "0.17.2.2")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -764,7 +764,7 @@ (define-public monero-gui
(delete-file-recursively "monero") (delete-file-recursively "monero")
#t)) #t))
(sha256 (sha256
(base32 "17z4l7xj3zzbkb3fivsam38y5psknc2qbsg6yc72vb6n675khnsa")))) (base32 "0n7gfhm13y18ffqsqdajl4knd4h8m772fz6lh1lpkh198pwmw8f9"))))
(build-system qt-build-system) (build-system qt-build-system)
(native-inputs (native-inputs
`(,@(package-native-inputs monero) `(,@(package-native-inputs monero)
@ -803,7 +803,12 @@ (define-public monero-gui
(("@VERSION_TAG_GUI@") (("@VERSION_TAG_GUI@")
,version)) ,version))
(substitute* "src/zxcvbn-c/makefile" (substitute* "src/zxcvbn-c/makefile"
(("\\?=") "=")))) (("\\?=") "="))
(substitute* "external/CMakeLists.txt"
(("add_library\\(quirc" all)
(string-append
"set(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} -fPIC\")\n"
all)))))
(add-before 'configure 'generate-zxcvbn-c-header (add-before 'configure 'generate-zxcvbn-c-header
(lambda _ (lambda _
(invoke "make" "-C" "src/zxcvbn-c" "dict-src.h"))) (invoke "make" "-C" "src/zxcvbn-c" "dict-src.h")))