diff options
Diffstat (limited to 'nongnu/packages/video.scm')
| -rw-r--r-- | nongnu/packages/video.scm | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/nongnu/packages/video.scm b/nongnu/packages/video.scm index 8512a9a..817e547 100644 --- a/nongnu/packages/video.scm +++ b/nongnu/packages/video.scm @@ -141,79 +141,6 @@ video decode capabilities of supported Intel GPUs.")))) "Audio and video player (with hardware acceleration for NVIDIA graphics \ cards)"))) -(define-public nv-codec-headers - (package - (name "nv-codec-headers") - (version "13.0.19.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git") - (commit (string-append "n" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "01p6bjbgm6hfc1snf0hw63b7f7hif40v7bb1xn84ic3cww2m2fcw")))) - (arguments - (list - #:tests? #f ; No tests. - #:make-flags #~(list (string-append "PREFIX=" #$output)) - #:phases #~(modify-phases %standard-phases - (delete 'configure) - (add-after 'unpack 'fix-paths - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "include/ffnvcodec/dynlink_loader.h" - (("lib.*\\.so\\.." lib) - (search-input-file - inputs (string-append "lib/" lib))))))))) - (build-system gnu-build-system) - (inputs (list nvidia-driver)) - (home-page "https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git") - (synopsis - "FFmpeg version of headers required to interface with NVIDIA's codec APIs") - (description - "This package provides the necessary headers for interfacing with NVIDIA's -codec APIs.") - (license license:expat))) - -(define-public nvidia-vaapi-driver - (package - (name "nvidia-vaapi-driver") - (version "0.0.13") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/elFarto/nvidia-vaapi-driver") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1ycrik4sdiy14miqvin5vg79776p7p2pazm0s8la4kngbgss1qr9")))) - (build-system meson-build-system) - (arguments - (list #:phases - #~(modify-phases %standard-phases - (add-before 'configure 'fix-install-path - (lambda _ - (substitute* "meson.build" - (("(nvidia_install_dir = ).*" _ prefix) - (format #f "~a'~a/lib/dri'" prefix #$output)))))))) - (native-inputs (list pkg-config)) - (inputs (list libva mesa nv-codec-headers)) - ;; XXX Because of <https://issues.guix.gnu.org/issue/22138>, we need to add - ;; this to all VA-API back ends instead of once to libva. - (native-search-paths - (list (search-path-specification - (variable "LIBVA_DRIVERS_PATH") - (files '("lib/dri"))))) - (home-page "https://github.com/elFarto/nvidia-vaapi-driver") - (synopsis "VA-API implemention using NVIDIA's NVDEC.") - (description - "This is an VA-API implementation that uses NVDEC as a backend, -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") |
