gnu: obs: Mark as supported only on Intel systems.
* gnu/packages/video.scm (obs)[supported-systems]: New field. [arguments]: Remove armhf and mips specific substitutions.
This commit is contained in:
parent
769df80ded
commit
f3bd17281a
1 changed files with 2 additions and 15 deletions
|
@ -36,7 +36,6 @@
|
||||||
(define-module (gnu packages video)
|
(define-module (gnu packages video)
|
||||||
#:use-module (ice-9 match)
|
#:use-module (ice-9 match)
|
||||||
#:use-module (srfi srfi-1)
|
#:use-module (srfi srfi-1)
|
||||||
#:use-module (srfi srfi-26)
|
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
|
@ -1614,20 +1613,7 @@ be used for realtime video capture via Linux-specific APIs.")
|
||||||
"043f8mfdh4ll0hpivpyg3iniirckwsgri0gzamyrba1yhf2c2ibr"))))
|
"043f8mfdh4ll0hpivpyg3iniirckwsgri0gzamyrba1yhf2c2ibr"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f)) ; no tests
|
||||||
,@(if (any (cute string-prefix? <> (or (%current-target-system)
|
|
||||||
(%current-system)))
|
|
||||||
'("arm" "mips"))
|
|
||||||
'(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'remove-architecture-specific-instructions
|
|
||||||
;; non-Intel platforms fail to build with the architecture
|
|
||||||
;; specific compiler flags included by default.
|
|
||||||
(lambda _
|
|
||||||
(substitute* "libobs/CMakeLists.txt"
|
|
||||||
(("if\\(NOT MSVC\\)") "if(MSVC)"))
|
|
||||||
#t))))
|
|
||||||
'())))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
|
@ -1654,6 +1640,7 @@ video recording and live streaming. OBS supports capturing audio and video
|
||||||
from many input sources such as webcams, X11 (for screencasting), PulseAudio,
|
from many input sources such as webcams, X11 (for screencasting), PulseAudio,
|
||||||
and JACK.")
|
and JACK.")
|
||||||
(home-page "https://obsproject.com")
|
(home-page "https://obsproject.com")
|
||||||
|
(supported-systems '("x86_64-linux" "i686-linux"))
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public libvdpau
|
(define-public libvdpau
|
||||||
|
|
Reference in a new issue