mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: keepassxc: Wrap binary with wrap-qt-program.
* gnu/packages/password-utils.scm (keepassxc)[arguments]: Import qt-utils module. Replace custom 'wrap-bin phase with 'wrap-qt phase.
This commit is contained in:
parent
d027637026
commit
562c3a4e12
1 changed files with 10 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2015 Steve Sprang <scs@stevesprang.com>
|
;;; Copyright © 2015 Steve Sprang <scs@stevesprang.com>
|
||||||
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2015 Aljosha Papsch <misc@rpapsch.de>
|
;;; Copyright © 2015 Aljosha Papsch <misc@rpapsch.de>
|
||||||
;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
|
;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
|
||||||
;;; Copyright © 2016 Jessica Tallon <tsyesika@tsyesika.se>
|
;;; Copyright © 2016 Jessica Tallon <tsyesika@tsyesika.se>
|
||||||
|
@ -136,19 +136,18 @@ human.")
|
||||||
(base32 "0azq20rqsx7axrigha4qh81ipvhqnnlb27w3xdjg5z4h3jky4dp5"))))
|
(base32 "0azq20rqsx7axrigha4qh81ipvhqnnlb27w3xdjg5z4h3jky4dp5"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags '("-DWITH_XC_ALL=YES"
|
`(#:modules ((guix build cmake-build-system)
|
||||||
|
(guix build qt-utils)
|
||||||
|
(guix build utils))
|
||||||
|
#:imported-modules (,@%cmake-build-system-modules
|
||||||
|
(guix build qt-utils))
|
||||||
|
#:configure-flags '("-DWITH_XC_ALL=YES"
|
||||||
"-DWITH_XC_UPDATECHECK=NO")
|
"-DWITH_XC_UPDATECHECK=NO")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'install 'wrap-bin
|
(add-after 'install 'wrap-qt
|
||||||
(lambda* (#:key outputs inputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(wrap-qt-program (assoc-ref outputs "out") "keepassxc")
|
||||||
(wrap-program (string-append out "/bin/keepassxc")
|
|
||||||
`("QT_PLUGIN_PATH" ":" prefix
|
|
||||||
,(map (lambda (label)
|
|
||||||
(string-append (assoc-ref inputs label)
|
|
||||||
"/lib/qt5/plugins"))
|
|
||||||
'("qtbase" "qtsvg")))))
|
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("asciidoctor" ,ruby-asciidoctor)
|
`(("asciidoctor" ,ruby-asciidoctor)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue