aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-12-08 23:07:47 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-12-08 23:08:04 +0200
commitb52bcb24c68777ad9fd6f9f2c006b691b3ca9089 (patch)
treefb3d40b9376fb8113447cfcf2c4641364dd328f0 /gnu
parent4ad62876cb85ebab8e8607afb5e90844acbcfafd (diff)
downloadpatches-b52bcb24c68777ad9fd6f9f2c006b691b3ca9089.tar
patches-b52bcb24c68777ad9fd6f9f2c006b691b3ca9089.tar.gz
gnu: quassel: Patch reference to inxi.
* gnu/packages/irc.scm (quassel)[arguments]: Patch the reference to 'inxi' in the source. [inputs]: Add inxi-minimal.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/irc.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 9ca26d909c..ba31d36b9e 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -30,6 +30,7 @@
#: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 @@
"-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)