gnu: lxqt-openssh-askpass: Update to 0.14.1.

* gnu/packages/lxqt.scm (lxqt-openssh-askpass): Update to 0.14.1.
[arguments]: Remove #:configure-flags.
<#:phases>[patch-translations-dir]: New phase.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Meiyo Peng 2019-03-13 23:37:23 +08:00 committed by Danny Milosavljevic
parent 4625cc66bf
commit a728afb63b
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -504,14 +504,14 @@ (define-public lxqt-notificationd
(define-public lxqt-openssh-askpass (define-public lxqt-openssh-askpass
(package (package
(name "lxqt-openssh-askpass") (name "lxqt-openssh-askpass")
(version "0.13.0") (version "0.14.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/lxqt/" name "/releases/download/" (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
version "/" name "-" version ".tar.xz")) version "/" name "-" version ".tar.xz"))
(sha256 (sha256
(base32 "0l2272gya8jgv71bvg2hz37lnhiznv4ng3j0p6j79f99hwb5ygpk")))) (base32 "1fvbgjidpifn420avh8n1gym49vcz6zgayz7xygg1x93s4awy1cs"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
`(("kwindowsystem" ,kwindowsystem) `(("kwindowsystem" ,kwindowsystem)
@ -525,9 +525,15 @@ (define-public lxqt-openssh-askpass
("qttools" ,qttools))) ("qttools" ,qttools)))
(arguments (arguments
'(#:tests? #f ; no tests '(#:tests? #f ; no tests
#:configure-flags #:phases
;; TODO: prefetch translations files from 'lxqt-l10n'. (modify-phases %standard-phases
'("-DPULL_TRANSLATIONS=NO"))) (add-after 'unpack 'patch-translations-dir
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "CMakeLists.txt"
(("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
(string-append (assoc-ref outputs "out")
"/share/lxqt/translations")))
#t)))))
(home-page "https://lxqt.org/") (home-page "https://lxqt.org/")
(synopsis "GUI to query passwords on behalf of SSH agents") (synopsis "GUI to query passwords on behalf of SSH agents")
(description "lxqt-openssh-askpass is a GUI to query credentials on behalf (description "lxqt-openssh-askpass is a GUI to query credentials on behalf