gnu: quassel: Patch reference to inxi.

* gnu/packages/irc.scm (quassel)[arguments]: Patch the reference to
'inxi' in the source.
[inputs]: Add inxi-minimal.
This commit is contained in:
Efraim Flashner 2018-12-08 23:07:47 +02:00
parent 4ad62876cb
commit b52bcb24c6
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -30,6 +30,7 @@ (define-module (gnu packages irc)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
#:use-module (gnu packages aspell)
#:use-module (gnu packages autogen)
#:use-module (gnu packages autotools)
@ -93,13 +94,22 @@ (define-public quassel
"-DWITH_BUNDLED_ICONS=ON" ; so we install bundled icons
"-DWITH_OXYGEN_ICONS=ON" ; also the oxygen ones
"-DWITH_WEBENGINE=OFF") ; we don't depend on qtwebengine
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-inxi-reference
(lambda* (#:key inputs #:allow-other-keys)
(let ((inxi (string-append (assoc-ref inputs "inxi") "/bin/inxi")))
(substitute* "src/common/aliasmanager.cpp"
((" inxi ") (string-append " " inxi " ")))
#t))))
#:tests? #f)) ; no test target
(native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules)
("pkg-config" ,pkg-config)
("qttools" ,qttools)))
(inputs
`(("qca" ,qca)
`(("inxi" ,inxi-minimal)
("qca" ,qca)
("qtbase" ,qtbase)
("qtmultimedia" ,qtmultimedia)
("qtscript" ,qtscript)