guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/21: gnu: Add libx264-next.


From: guix-commits
Subject: 02/21: gnu: Add libx264-next.
Date: Sun, 6 Nov 2022 00:11:18 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 03d4c76be30ef280209539f32ba573b4961a7641
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Nov 2 11:54:42 2022 -0400

    gnu: Add libx264-next.
    
    * gnu/packages/video.scm (libx264-next): New variable.
---
 gnu/packages/video.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index cf260d71a3..c95bb02507 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -977,6 +977,27 @@ H.264 (MPEG-4 AVC) video streams.")
                       "file://extras/cl.h"
                       "See extras/cl.h in the distribution."))))))
 
+;;; TODO: Merge into libx264 on staging.
+(define-public libx264-next
+  ;; There are no tags in the repository, so we take the version number from
+  ;; the X264_BUILD variable defined in x264.h.
+  (let ((version "164")
+        (commit "b093bbe7d9bc642c8f24067cbdcc73bb43562eab")
+        (revision "0"))
+    (package
+      (inherit libx264)
+      (name "libx264")
+      (version (git-version version revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://code.videolan.org/videolan/x264.git";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "095pv8y6fqjg8mdvsfk12d0jqgyhip536a6vxhzm7qz8hfp96qhq")))))))
+
 (define-public mkvtoolnix
   (package
     (name "mkvtoolnix")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]