nongnu: Add nv-codec-headers.
* nongnu/packages/nvidia.scm (nv-codec-headers): New variable.
This commit is contained in:
parent
29d63cbac7
commit
48b3c549c9
|
@ -209,6 +209,37 @@ nvidia-smi.")
|
||||||
NVIDIA Management Library")
|
NVIDIA Management Library")
|
||||||
(license license-gnu:bsd-3)))
|
(license license-gnu:bsd-3)))
|
||||||
|
|
||||||
|
(define-public nv-codec-headers
|
||||||
|
(package
|
||||||
|
(name "nv-codec-headers")
|
||||||
|
(version "11.1.5.1")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url
|
||||||
|
"https://git.videolan.org/git/ffmpeg/nv-codec-headers.git")
|
||||||
|
(commit (string-append "n" version))))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"05a6dfv6yackcyx7ysxfzf2h768y63ih8icdkkzi8bwq7hp8lcy9"))
|
||||||
|
(file-name (git-file-name name version))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ;no test suite
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(delete 'configure)
|
||||||
|
(add-after 'unpack 'fix-prefix
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(substitute* "Makefile"
|
||||||
|
(("/usr/local") (assoc-ref outputs "out"))))))))
|
||||||
|
(supported-systems '("i686-linux" "x86_64-linux"))
|
||||||
|
(home-page "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git")
|
||||||
|
(synopsis "FFmpeg headers required to interface with Nvidias codec APIs")
|
||||||
|
(description "This package provides FFmpeg headers required to interface
|
||||||
|
with Nvidias codec APIs.")
|
||||||
|
(license license-gnu:expat)))
|
||||||
|
|
||||||
(define-public nvidia-driver
|
(define-public nvidia-driver
|
||||||
(package
|
(package
|
||||||
(name "nvidia-driver")
|
(name "nvidia-driver")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user