gnu: obs: Update to 30.1.2.

* gnu/packages/video.scm (obs): Update to 30.1.2.
[arguments]: Add "-DENABLE_QSV11=OFF" to configure-flags.  Add MESA
to LD_LIBRARY_PATH for 'obs'.
[inputs]: Add libdatachannel, qrcodegen-cpp and vulkan-headers.
Replace ffmpeg-4 with ffmpeg, Qt 5 with Qt 6.

Change-Id: Id74c52512eb18727b0c8c8a0a7ed4c892a5e76c2
Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
宋文武 2024-05-24 12:31:46 +08:00 committed by Andrew Tropin
parent 56cc832d07
commit 797138b627
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -111,6 +111,7 @@ (define-module (gnu packages video)
#:use-module (guix build-system waf)
#:use-module (guix build-system trivial)
#:use-module (gnu packages)
#:use-module (gnu packages aidc)
#:use-module (gnu packages algebra)
#:use-module (gnu packages assembly)
#:use-module (gnu packages audio)
@ -3989,7 +3990,7 @@ (define-public v4l-utils
(define-public obs
(package
(name "obs")
(version "29.1.3")
(version "30.1.2")
(source (origin
(method git-fetch)
(uri (git-reference
@ -3999,7 +4000,7 @@ (define-public obs
(file-name (git-file-name name version))
(sha256
(base32
"192p7m3g8ynbkq3s894w6a0w6gix3k237q5jwqrrr8idwfwwyh0g"))
"02pm6397h7l0xhdpscbh1kq8y98zx236z95wvw60kbhq38s0i0ik"))
(patches
(search-patches "obs-modules-location.patch"))))
(build-system cmake-build-system)
@ -4010,6 +4011,7 @@ (define-public obs
"-DENABLE_UNIT_TESTS=ON"
"-DENABLE_NEW_MPEGTS_OUTPUT=OFF"
"-DENABLE_AJA=OFF"
"-DENABLE_QSV11=OFF"
;; Browser plugin requires cef, but it is not packaged yet.
;; <https://bitbucket.org/chromiumembedded/cef/src/master/>
"-DBUILD_BROWSER=OFF")
@ -4022,6 +4024,9 @@ (define-public obs
`("QT_PLUGIN_PATH" ":" prefix (,plugin-path))
`("LD_LIBRARY_PATH" ":" prefix
(,(string-append #$(this-package-input "vlc")
"/lib")
;; TODO: Remove this once our mesa has glvnd support.
,(string-append #$(this-package-input "mesa")
"/lib"))))))))))
(native-search-paths
(list (search-path-specification
@ -4041,12 +4046,13 @@ (define-public obs
bash-minimal
curl
eudev
ffmpeg-4
ffmpeg
fontconfig
freetype
glib
jack-1
jansson
libdatachannel
libglvnd
libva
libx264
@ -4060,12 +4066,13 @@ (define-public obs
pipewire
pulseaudio
python
qtbase-5
qtsvg-5
qtx11extras
qtwayland-5
qrcodegen-cpp
qtbase
qtsvg
qtwayland
speexdsp
v4l-utils
vulkan-headers
vlc
wayland
wayland-protocols