From 1ad7bfcf34bb8886dc6b3bfb04cbbd60ba51c93b Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 30 Aug 2025 15:20:41 +0800 Subject: nongnu: Add obs-nvidia. * nongnu/packages/video.scm (obs-nvidia): New variable. --- nongnu/packages/video.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/nongnu/packages/video.scm b/nongnu/packages/video.scm index e11a480..5d4eaa4 100644 --- a/nongnu/packages/video.scm +++ b/nongnu/packages/video.scm @@ -242,6 +242,20 @@ specifically designed to be used by Firefox for accelerated decoding of web content.") (license license:expat))) +(define-public obs-nvidia + (package/inherit obs + (name "obs-nvidia") + (arguments + (substitute-keyword-arguments (package-arguments obs) + ((#:configure-flags flags #~'()) + #~(append #$flags '("-DENABLE_NVENC=ON"))))) + (inputs + (modify-inputs (package-inputs obs) + (prepend nv-codec-headers))) + (synopsis + "Live streaming software (with hardware acceleration for NVIDIA graphics +cards)"))) + (define-public obs-with-cef (package (inherit obs) -- cgit v1.2.3