gnu: obs: Update to 27.2.4.

* gnu/packages/video.scm (obs): Update to 27.2.4.
[arguments]: Migrate from TRUE/FALSE to ON/OFF.
[inputs]: Add picuitls and libxkbcommon for successful build of new version,
bash-minimal for satisfying guix lint, and luajit, python for scripting
support.
[native-inputs]: Add swig for scripting support.
This commit is contained in:
Andrew Tropin 2022-08-26 08:22:25 +03:00
parent e106b27c4b
commit 4ff0ceb264
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -163,6 +163,7 @@ (define-module (gnu packages video)
#:use-module (gnu packages networking)
#:use-module (gnu packages ocr)
#:use-module (gnu packages pcre)
#:use-module (gnu packages pciutils)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-check)
#:use-module (gnu packages perl-web)
@ -3320,7 +3321,7 @@ (define-public v4l-utils
(define-public obs
(package
(name "obs")
(version "27.1.3")
(version "27.2.4")
(source (origin
(method git-fetch)
(uri (git-reference
@ -3330,7 +3331,7 @@ (define-public obs
(file-name (git-file-name name version))
(sha256
(base32
"1ndiarr3d6qihymaigf34jjml0lrgbj640fnpnffz2ysj7276q0j"))
"13bfzjqmvabli99yr1h0306w5lx72mbl5sxrnr46hjig1a6rw91s"))
(patches
(search-patches "obs-modules-location.patch"))))
(build-system cmake-build-system)
@ -3338,10 +3339,10 @@ (define-public obs
(list
#:configure-flags
#~(list (string-append "-DOBS_VERSION_OVERRIDE=" #$version)
"-DENABLE_UNIT_TESTS=TRUE"
"-DENABLE_UNIT_TESTS=ON"
;; Browser plugin requires cef, but it is not packaged yet.
;; <https://bitbucket.org/chromiumembedded/cef/src/master/>
"-DBUILD_BROWSER=FALSE")
"-DBUILD_BROWSER=OFF")
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'wrap-executable
@ -3359,10 +3360,11 @@ (define-public obs
(separator #f) ;single entry
(files '("share/obs/obs-plugins")))))
(native-inputs
(list cmocka pkg-config))
(list cmocka pkg-config swig))
(inputs
(list
alsa-lib
bash-minimal
curl
eudev
ffmpeg
@ -3373,10 +3375,14 @@ (define-public obs
jansson
libx264
libxcomposite
libxkbcommon
luajit
mbedtls-apache
mesa
pciutils
pipewire-0.3
pulseaudio
python
qtbase-5
qtsvg-5
qtx11extras