gnu: Add julia-fontconfig-jll.

* gnu/packages/julia-jll.scm (julia-fontconfig-jll): New variable.
This commit is contained in:
Efraim Flashner 2021-05-30 12:26:49 +03:00
parent 7cb9173879
commit d604f4fc53
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -222,6 +222,49 @@ (define-public julia-ffmpeg-jll
(description "This package provides a wrapper for ffmpeg.") (description "This package provides a wrapper for ffmpeg.")
(license license:expat))) (license license:expat)))
(define-public julia-fontconfig-jll
(package
(name "julia-fontconfig-jll")
(version "2.13.93+0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaBinaryWrappers/Fontconfig_jll.jl")
(commit (string-append "Fontconfig-v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1p6mfci77bp31w3xzlwhjccln40g6g2rdpfp38v5xf8sz2aybpw2"))))
(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
(("generate_wrapper_header.*")
(string-append
"generate_wrapper_header(\"Fontconfig\", \""
(assoc-ref inputs "fontconfig") "\")\n"))))
;; There's a Julia file for each platform, override them all
(find-files "src/wrappers/" "\\.jl$")))))))
(inputs
`(("fontconfig" ,fontconfig)))
(propagated-inputs
`(("julia-jllwrappers" ,julia-jllwrappers)
("julia-bzip2-jll" ,julia-bzip2-jll)
("julia-expat-jll" ,julia-expat-jll)
("julia-freetype2-jll" ,julia-freetype2-jll)
("julia-libuuid-jll" ,julia-libuuid-jll)
("julia-zlib-jll" ,julia-zlib-jll)))
(home-page "https://github.com/JuliaBinaryWrappers/Fontconfig_jll.jl")
(synopsis "Fontconfig library wrappers")
(description "This package provides a wrapper for the fontconfig library.")
(license license:expat)))
(define-public julia-freetype2-jll (define-public julia-freetype2-jll
(package (package
(name "julia-freetype2-jll") (name "julia-freetype2-jll")