mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 15:22:18 -05:00
gnu: interception-dual-function-keys: Minor fixes.
* gnu/packages/linux.scm (interception-dual-function-keys) [arguments]<#:make-flags>: Make use of cc-for-target, cxx-for-target and %output. <#:phases>{check}: Undelete phase. Disable tests instead with... <#:tests?>: ...this. New field. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
3bbbb24f4c
commit
56de60cc27
1 changed files with 6 additions and 5 deletions
|
@ -3795,8 +3795,9 @@ (define-public interception-dual-function-keys
|
|||
`(("libevdev" ,libevdev)
|
||||
("yaml-cpp" ,yaml-cpp)))
|
||||
(arguments
|
||||
`(#:make-flags (list "CC=gcc" "CXX=g++"
|
||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||
`(#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||
,(string-append "CXX=" (cxx-for-target))
|
||||
(string-append "PREFIX=" %output))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-libevdev-path
|
||||
|
@ -3807,9 +3808,9 @@ (define-public interception-dual-function-keys
|
|||
(string-append libevdev "/include/libevdev-1.0")))
|
||||
#t)))
|
||||
;; No configure script
|
||||
(delete 'configure)
|
||||
;; No target 'check'
|
||||
(delete 'check))))
|
||||
(delete 'configure))
|
||||
;; No tests are included.
|
||||
#:tests? #f))
|
||||
(synopsis "Tap for one key, hold for another")
|
||||
(description
|
||||
"Dual Function Keys is a plugin for @code{interception-tools} that allows
|
||||
|
|
Loading…
Reference in a new issue