mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-12-23 07:14:53 +01:00
nongnu: Add intel-media-driver-nonfree.
* nongnu/packages/video.scm: (intel-media-driver/nonfree): New variable.
This commit is contained in:
parent
6b796ed345
commit
8fdac7d2f4
1 changed files with 20 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
#:use-module (guix gexp)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix utils)
|
||||
#:use-module ((guix licenses) #:prefix license:))
|
||||
|
||||
(define-public gmmlib
|
||||
|
@ -72,3 +73,22 @@ for VAAPI.")
|
|||
accelerated decoding, encoding, and video post processing for the GEN based
|
||||
graphics hardware.")
|
||||
(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."))))
|
||||
|
|
Loading…
Reference in a new issue