diff options
| author | Hilton Chain <hako@ultrarare.space> | 2025-08-30 15:20:41 +0800 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2025-09-01 23:45:47 +0800 |
| commit | 1ad7bfcf34bb8886dc6b3bfb04cbbd60ba51c93b (patch) | |
| tree | 76c020d50742cb0d69e12480316e7ac2f9e19082 | |
| parent | f0132f2520d8c8d8619ca7a398508d233ba40499 (diff) | |
nongnu: Add obs-nvidia.
* nongnu/packages/video.scm (obs-nvidia): New variable.
| -rw-r--r-- | nongnu/packages/video.scm | 14 |
1 files changed, 14 insertions, 0 deletions
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 | |||
| 242 | content.") | 242 | content.") |
| 243 | (license license:expat))) | 243 | (license license:expat))) |
| 244 | 244 | ||
| 245 | (define-public obs-nvidia | ||
| 246 | (package/inherit obs | ||
| 247 | (name "obs-nvidia") | ||
| 248 | (arguments | ||
| 249 | (substitute-keyword-arguments (package-arguments obs) | ||
| 250 | ((#:configure-flags flags #~'()) | ||
| 251 | #~(append #$flags '("-DENABLE_NVENC=ON"))))) | ||
| 252 | (inputs | ||
| 253 | (modify-inputs (package-inputs obs) | ||
| 254 | (prepend nv-codec-headers))) | ||
| 255 | (synopsis | ||
| 256 | "Live streaming software (with hardware acceleration for NVIDIA graphics | ||
| 257 | cards)"))) | ||
| 258 | |||
| 245 | (define-public obs-with-cef | 259 | (define-public obs-with-cef |
| 246 | (package | 260 | (package |
| 247 | (inherit obs) | 261 | (inherit obs) |
