nongnu: Remove obs-nvenc.
To build OBS with NVENC support, apply the following transformation to an OBS package: (package-input-grafting `((,ffmpeg . ,ffmpeg-nvenc) (,mesa . ,nvda))) * nongnu/packages/video.scm (replace-ffmpeg-nvenc): Delete procedure. (obs-nvenc): Remove variable.
This commit is contained in:
parent
896a712ff3
commit
e4520936e1
|
@ -41,10 +41,6 @@
|
||||||
" This build of FFmpeg includes the nonfree NVIDIA encoder for
|
" This build of FFmpeg includes the nonfree NVIDIA encoder for
|
||||||
@code{h264_nvenc} and @code{hevc_nvenc} hardware encoding on NVIDIA GPUs."))))
|
@code{h264_nvenc} and @code{hevc_nvenc} hardware encoding on NVIDIA GPUs."))))
|
||||||
|
|
||||||
(define-public replace-ffmpeg-nvenc
|
|
||||||
(package-input-rewriting
|
|
||||||
`((,ffmpeg . ,ffmpeg-nvenc))))
|
|
||||||
|
|
||||||
(define-public gmmlib
|
(define-public gmmlib
|
||||||
(package
|
(package
|
||||||
(name "gmmlib")
|
(name "gmmlib")
|
||||||
|
@ -222,13 +218,3 @@ codec APIs.")
|
||||||
(package-description obs)
|
(package-description obs)
|
||||||
" This build of OBS includes embeded Chromium-based browser to enable
|
" This build of OBS includes embeded Chromium-based browser to enable
|
||||||
Browser source."))))
|
Browser source."))))
|
||||||
|
|
||||||
(define-public obs-nvenc
|
|
||||||
(let ((obs-ffmpeg-nvenc (replace-ffmpeg-nvenc obs)))
|
|
||||||
(package/inherit obs-ffmpeg-nvenc
|
|
||||||
(name "obs-nvenc")
|
|
||||||
(description
|
|
||||||
(string-append
|
|
||||||
(package-description obs)
|
|
||||||
" This build of OBS includes the nonfree NVIDIA encoder for FFmpeg
|
|
||||||
@code{h264_nvenc} and @code{hevc_nvenc} hardware encoding on NVIDIA GPUs.")))))
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user