diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-05-30 11:18:19 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-05-30 12:55:51 +0300 |
commit | 94963f09bf5a67e88e89cc682c31af7116827776 (patch) | |
tree | 5ea30da62003db5f5d7009a359eae614efa653b8 /gnu | |
parent | f711bb110b1ba1f25d73ecccaa4cfd27e555e2c7 (diff) | |
download | guix-patches-94963f09bf5a67e88e89cc682c31af7116827776.tar guix-patches-94963f09bf5a67e88e89cc682c31af7116827776.tar.gz |
gnu: Add julia-ffmpeg-jll.
* gnu/packages/julia-jll.scm (julia-ffmpeg-jll): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/julia-jll.scm | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm index 5f4d0351cb..6d0549207f 100644 --- a/gnu/packages/julia-jll.scm +++ b/gnu/packages/julia-jll.scm @@ -125,6 +125,55 @@ originating @code{build_tarballs.jl} script can be found on the community build tree Yggdrasil.") (license license:expat))) +(define-public julia-ffmpeg-jll + (package + (name "julia-ffmpeg-jll") + (version "4.3.1+2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaBinaryWrappers/FFMPEG_jll.jl") + (commit (string-append "FFMPEG-v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1f8pq9nxiiqay9qcsly1wkfpyz9nbxakf78ryi2c7g8p5v80k6d3")))) + (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) + (map + (lambda (wrapper) + (substitute* wrapper + (("artifact\"FFMPEG\"") + (string-append "\"" (assoc-ref inputs "ffmpeg") "\"")))) + ;; There's a Julia file for each platform, override them all + (find-files "src/wrappers/" "\\.jl$"))))))) + (inputs + `(("ffmpeg" ,ffmpeg))) + (propagated-inputs + `(("julia-jllwrappers" ,julia-jllwrappers) + ("julia-bzip2-jll" ,julia-bzip2-jll) + ("julia-freetype2-jll" ,julia-freetype2-jll) + ("julia-fribidi-jll" ,julia-fribidi-jll) + ("julia-lame-jll" ,julia-lame-jll) + ("julia-libass-jll" ,julia-libass-jll) + ("julia-libfdk-aac-jll" ,julia-libfdk-aac-jll) + ("julia-libvorbis-jll" ,julia-libvorbis-jll) + ("julia-openssl-jll" ,julia-openssl-jll) + ("julia-opus-jll" ,julia-opus-jll) + ("julia-ogg-jll" ,julia-ogg-jll) + ("julia-x264-jll" ,julia-x264-jll) + ("julia-x265-jll" ,julia-x265-jll) + ("julia-zlib-jll" ,julia-zlib-jll))) + (home-page "https://github.com/JuliaBinaryWrappers/FFMPEG_jll.jl") + (synopsis "ffmpeg library wrappers") + (description "This package provides a wrapper for ffmpeg.") + (license license:expat))) + (define-public julia-freetype2-jll (package (name "julia-freetype2-jll") |