From 3996c2e0da801745f75b8528373b9c6925fbbac8 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Mon, 20 Jan 2025 14:21:20 +0800 Subject: 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. --- nongnu/packages/video.scm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/nongnu/packages/video.scm b/nongnu/packages/video.scm index d39c410..14abb16 100644 --- a/nongnu/packages/video.scm +++ b/nongnu/packages/video.scm @@ -43,10 +43,6 @@ " This build of FFmpeg includes the nonfree NVIDIA encoder for @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 (package (name "gmmlib") @@ -262,13 +258,3 @@ content.") (package-description obs) " This build of OBS includes embeded Chromium-based browser to enable 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."))))) -- cgit v1.2.3