gnu: Add julia-freetype2-jll.
* gnu/packages/julia-jll.scm (julia-freetype2-jll): New variable.
This commit is contained in:
parent
a1b7d59ca6
commit
741aab4c42
1 changed files with 43 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
||||||
#:use-module (guix build-system julia)
|
#:use-module (guix build-system julia)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
|
#:use-module (gnu packages fontutils)
|
||||||
#:use-module (gnu packages fribidi)
|
#:use-module (gnu packages fribidi)
|
||||||
#:use-module (gnu packages gcc)
|
#:use-module (gnu packages gcc)
|
||||||
#:use-module (gnu packages image)
|
#:use-module (gnu packages image)
|
||||||
|
@ -121,6 +122,48 @@ originating @code{build_tarballs.jl} script can be found on the community
|
||||||
build tree Yggdrasil.")
|
build tree Yggdrasil.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public julia-freetype2-jll
|
||||||
|
(package
|
||||||
|
(name "julia-freetype2-jll")
|
||||||
|
(version "2.10.4+0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/JuliaBinaryWrappers/FreeType2_jll.jl")
|
||||||
|
(commit (string-append "FreeType2-v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "03lgmb59lipc3bi7z22j4a53bbjmcwkf0xzpwan889p1ix3ry1lr"))))
|
||||||
|
(build-system julia-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:tests? #f ; No runtests.jl
|
||||||
|
#: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(\"FreeType2\", \""
|
||||||
|
(assoc-ref inputs "freetype") "\")\n"))))
|
||||||
|
;; There's a Julia file for each platform, override them all
|
||||||
|
(find-files "src/wrappers/" "\\.jl$"))
|
||||||
|
#t)))))
|
||||||
|
(inputs
|
||||||
|
`(("freetype" ,freetype)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("julia-jllwrappers" ,julia-jllwrappers)
|
||||||
|
("julia-bzip2-jll" ,julia-bzip2-jll)
|
||||||
|
("julia-zlib-jll" ,julia-zlib-jll)))
|
||||||
|
(home-page "https://github.com/JuliaBinaryWrappers/FreeType2_jll.jl")
|
||||||
|
(synopsis "Freetype2 binary wrappers")
|
||||||
|
(description "This Julia module provides a wrapper for the freetype font
|
||||||
|
rendering library.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public julia-fribidi-jll
|
(define-public julia-fribidi-jll
|
||||||
(package
|
(package
|
||||||
(name "julia-fribidi-jll")
|
(name "julia-fribidi-jll")
|
||||||
|
|
Reference in a new issue