me
/
guix
Archived
1
0
Fork 0

gnu: Add julia-libass-jll.

* gnu/packages/julia-jll.scm (julia-libass-jll): New variable.
master
Efraim Flashner 2021-05-30 11:17:26 +03:00
parent afff06e4ce
commit f711bb110b
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 40 additions and 0 deletions

View File

@ -401,6 +401,46 @@ used in autogenerated packages via @code{BinaryBuilder.jl}.")
(description "This package provides a wrapper for the lame audio encoder.") (description "This package provides a wrapper for the lame audio encoder.")
(license license:expat))) (license license:expat)))
(define-public julia-libass-jll
(package
(name "julia-libass-jll")
(version "0.14.0+2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaBinaryWrappers/libass_jll.jl")
(commit (string-append "libass-v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "05nvis5ifmaq1g0c98hcpnl0ky22qgp64d4lb6g6r4yrrn6kqlsc"))))
(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\"libass\"")
(string-append "\"" (assoc-ref inputs "libass") "\""))))
;; There's a Julia file for each platform, override them all
(find-files "src/wrappers/" "\\.jl$")))))))
(inputs
`(("libass" ,libass)))
(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-zlib-jll" ,julia-zlib-jll)))
(home-page "https://github.com/JuliaBinaryWrappers/libass_jll.jl")
(synopsis "Libass library wrappers")
(description "This package provides a wrapper for libass.")
(license license:expat)))
(define-public julia-libfdk-aac-jll (define-public julia-libfdk-aac-jll
(package (package
(name "julia-libfdk-aac-jll") (name "julia-libfdk-aac-jll")