gnu: obs: Fix missing icons.
Fixes <https://bugs.gnu.org/43556>. Reported-by: bdju <bdju@tilde.team>. * gnu/packages/video.scm (obs)[arguments]<phases>: Add 'wrap-executable' which fixes missing icons.master
parent
e42765b675
commit
45cad97d9e
|
@ -3011,7 +3011,16 @@ be used for realtime video capture via Linux-specific APIs.")
|
|||
(arguments
|
||||
`(#:configure-flags
|
||||
(list (string-append "-DOBS_VERSION_OVERRIDE=" ,version)
|
||||
"-DENABLE_UNIT_TESTS=TRUE")))
|
||||
"-DENABLE_UNIT_TESTS=TRUE")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'wrap-executable
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(plugin-path (getenv "QT_PLUGIN_PATH")))
|
||||
(wrap-program (string-append out "/bin/obs")
|
||||
`("QT_PLUGIN_PATH" ":" prefix (,plugin-path))))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("cmocka" ,cmocka)
|
||||
("pkg-config" ,pkg-config)))
|
||||
|
|
Reference in New Issue