gnu: obs: Enable tests.
* gnu/packages/video.scm (obs)[arguments]: Enable tests. Add configure-flag to enable unit tests. [native-inputs]: Add cmocka.master
parent
cbbdf047d4
commit
5257618bf8
|
@ -3007,11 +3007,12 @@ be used for realtime video capture via Linux-specific APIs.")
|
||||||
"09y57b3c88szl3wyx3cxq8jrm3pfnyg2n25hxl1ynkq3rgaavdq2"))))
|
"09y57b3c88szl3wyx3cxq8jrm3pfnyg2n25hxl1ynkq3rgaavdq2"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no test suite
|
`(#:configure-flags
|
||||||
#:configure-flags
|
(list (string-append "-DOBS_VERSION_OVERRIDE=" ,version)
|
||||||
(list (string-append "-DOBS_VERSION_OVERRIDE=" ,version))))
|
"-DENABLE_UNIT_TESTS=TRUE")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("cmocka" ,cmocka)
|
||||||
|
("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("alsa-lib" ,alsa-lib)
|
`(("alsa-lib" ,alsa-lib)
|
||||||
("curl" ,curl)
|
("curl" ,curl)
|
||||||
|
|
Reference in New Issue