[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/71: gnu: Add julia-x264-jll.
From: |
guix-commits |
Subject: |
12/71: gnu: Add julia-x264-jll. |
Date: |
Sun, 30 May 2021 05:57:32 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 4073aeae4635019f5d792338ef9fd3c8fe37b29b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun May 30 10:44:29 2021 +0300
gnu: Add julia-x264-jll.
* gnu/packages/julia-jll.scm (julia-x264-jll): New variable.
---
gnu/packages/julia-jll.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm
index 7fcc119..319b8fd 100644
--- a/gnu/packages/julia-jll.scm
+++ b/gnu/packages/julia-jll.scm
@@ -32,6 +32,7 @@
#:use-module (gnu packages julia)
#:use-module (gnu packages maths)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages video)
#:use-module (gnu packages web))
;;; TODO: Remove this autogenerated source package
@@ -401,6 +402,47 @@ originating @code{build_tarballs.jl} script can be found
on the community
build tree Yggdrasil.")
(license license:expat))))
+(define-public julia-x264-jll
+ (package
+ (name "julia-x264-jll")
+ (version "2020.7.14+0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaBinaryWrappers/x264_jll.jl")
+ (commit (string-append "x264-v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "131srmmcwhp9f2x4dq3dw4pzv2z0428mdrb923yzzlm7a89nf28p"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:tests? #f ; no runtests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'override-binary-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((libx264 (assoc-ref inputs "libx264")))
+ (map
+ (lambda (wrapper)
+ (substitute* wrapper
+ ;; Make sure we match the current library.
+ (("libx264.so.157")
+ (string-append "libx264.so."
+ ,(version-major (package-version libx264))))
+ (("artifact\"x264\"")
+ (string-append "\"" libx264 "\""))))
+ ;; There's a Julia file for each platform, override them all
+ (find-files "src/wrappers/" "\\.jl$"))))))))
+ (inputs
+ `(("libx264" ,libx264)))
+ (propagated-inputs
+ `(("julia-jllwrappers" ,julia-jllwrappers)))
+ (home-page "https://github.com/JuliaBinaryWrappers/x264_jll.jl")
+ (synopsis "x264 library wrappers")
+ (description "This package provides a wrapper for the x264 video library.")
+ (license license:expat)))
+
(define-public julia-zlib-jll
(package
(name "julia-zlib-jll")
- branch master updated (c00b176 -> 9d6bf9a), guix-commits, 2021/05/30
- 01/71: gnu: julia-jllwrappers: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 02/71: gnu: julia-compilersupportlibraries-jll: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 03/71: gnu: julia-gumbo-jll: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 04/71: gnu: julia-jpegturbo-jll: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 05/71: gnu: julia-mbedtls-jll: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 06/71: gnu: julia-openspecfun-jll: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 07/71: gnu: julia-zlib-jll: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 09/71: gnu: julia-libpng-jll: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 12/71: gnu: Add julia-x264-jll.,
guix-commits <=
- 08/71: gnu: julia-zstd-jll: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 11/71: gnu: julia-imagemagick-jll: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 14/71: gnu: Add julia-fribidi-jll., guix-commits, 2021/05/30
- 17/71: gnu: Add julia-lame-jll., guix-commits, 2021/05/30
- 19/71: gnu: Add julia-libvorbis-jll., guix-commits, 2021/05/30
- 10/71: gnu: julia-libtiff-jll: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 13/71: gnu: Add julia-bzip2-jll., guix-commits, 2021/05/30
- 15/71: gnu: Add julia-freetype2-jll., guix-commits, 2021/05/30
- 16/71: gnu: Add julia-libfdk-aac-jll., guix-commits, 2021/05/30
- 18/71: gnu: Add julia-ogg-jll., guix-commits, 2021/05/30