[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: Add SVT-VP9.
From: |
guix-commits |
Subject: |
01/03: gnu: Add SVT-VP9. |
Date: |
Tue, 29 Dec 2020 16:04:06 -0500 (EST) |
lfam pushed a commit to branch master
in repository guix.
commit 5ea79e16f0e6e6aafcce245d44aff55408f285c5
Author: Leo Famulari <leo@famulari.name>
AuthorDate: Thu Dec 24 19:14:58 2020 -0500
gnu: Add SVT-VP9.
* gnu/packages/video.scm (svt-vp9): New variable.
---
gnu/packages/video.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 377b3e5..b488f01 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -4676,6 +4676,40 @@ applications. It only supports Intel-compatible CPUs
(x86).")
(home-page "https://github.com/OpenVisualCloud/SVT-AV1")
(license license:bsd-2)))
+(define-public svt-vp9
+ (package
+ (name "svt-vp9")
+ (version "0.3.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/OpenVisualCloud/SVT-VP9")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1ypdiw4cq22llvm8jyszxdq6r1aydkj80dsxjarjn5b7c1f2q3ar"))))
+ ;; SVT-AV1 only supports 64-bit Intel-compatible CPUs.
+ (supported-systems '("x86_64-linux"))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ; No test suite
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-documentation
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref %outputs "out"))
+ (doc (string-append out "/share/doc/" ,name "-" ,version)))
+ (copy-recursively "../source/Docs" doc)
+ #t))))))
+ (native-inputs
+ `(("yasm" ,yasm)))
+ (home-page "https://github.com/OpenVisualCloud/SVT-VP9")
+ (synopsis "VP9 video encoder")
+ (description "SVT-VP9 is a VP9 video encoder implementation. It is focused
+on supporting video-on-demand and live encoding on Intel Xeon processors.")
+ (license license:bsd-2)))
+
(define-public w-scan
(package
(name "w-scan")