nongnu: Add intel-media-driver-nonfree.

* nongnu/packages/video.scm: (intel-media-driver/nonfree): New variable.
This commit is contained in:
Jelle Licht 2023-07-30 16:07:50 +02:00
parent 6b796ed345
commit 8fdac7d2f4
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -9,6 +9,7 @@
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:)) #:use-module ((guix licenses) #:prefix license:))
(define-public gmmlib (define-public gmmlib
@ -72,3 +73,22 @@ for VAAPI.")
accelerated decoding, encoding, and video post processing for the GEN based accelerated decoding, encoding, and video post processing for the GEN based
graphics hardware.") graphics hardware.")
(license (list license:expat license:bsd-3)))) (license (list license:expat license:bsd-3))))
(define-public intel-media-driver/nonfree
(package
(inherit intel-media-driver)
(name "intel-media-driver-nonfree")
(arguments
(substitute-keyword-arguments (package-arguments intel-media-driver)
((#:configure-flags flags #~'())
#~(cons "-DENABLE_NONFREE_KERNELS=ON"
(delete "-DENABLE_NONFREE_KERNELS=OFF" #$flags)))))
(synopsis
(string-append
(package-synopsis intel-media-driver)
" with nonfree kernels"))
(description
(string-append
(package-description intel-media-driver)
" This build of intel-media-driver includes nonfree blobs to fully enable the
video decode capabilities of supported Intel GPUs."))))