me
/
guix
Archived
1
0
Fork 0

gnu: Add julia-ogg-jll.

* gnu/packages/julia-jll.scm (julia-ogg-jll): New variable.
master
Efraim Flashner 2021-05-30 11:00:20 +03:00
parent d3f8731b63
commit 75ea06d8db
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 38 additions and 1 deletions

View File

@ -37,7 +37,8 @@
#:use-module (gnu packages mp3)
#:use-module (gnu packages tls)
#:use-module (gnu packages video)
#:use-module (gnu packages web))
#:use-module (gnu packages web)
#:use-module (gnu packages xiph))
;;; TODO: Remove this autogenerated source package
;;; and build it from realse source using <https://github.com/JuliaPackaging/Yggdrasil/>
@ -552,6 +553,42 @@ used in autogenerated packages via @code{BinaryBuilder.jl}.")
wrappers.")
(license license:expat)))
(define-public julia-ogg-jll
(package
(name "julia-ogg-jll")
(version "1.3.4+0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaBinaryWrappers/Ogg_jll.jl")
(commit (string-append "Ogg-v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0p27wgy48gfw8g0hzlvcxrp0346nqnyxa88pydm87ll3sfx9b4ww"))))
(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\"Ogg\"")
(string-append "\"" (assoc-ref inputs "libogg") "\""))))
;; There's a Julia file for each platform, override them all
(find-files "src/wrappers/" "\\.jl$")))))))
(inputs
`(("libogg" ,libogg)))
(propagated-inputs
`(("julia-jllwrappers" ,julia-jllwrappers)))
(home-page "https://github.com/JuliaBinaryWrappers/Ogg_jll.jl")
(synopsis "Libogg library wrappers")
(description "This package provides a wrapper for the libogg library.")
(license license:expat)))
(define-public julia-openspecfun-jll
(let ((commit "6c505cce3bdcd9cd2b15b4f9362ec3a42c4da71c"))
(package