From 0e7925f79cf6072a2f78187af1c2169e052a69f7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 30 May 2021 12:49:33 +0300 Subject: gnu: Add julia-qt5base-jll. * gnu/packages/julia-jll.scm (julia-qt5base-jll): New variable. --- gnu/packages/julia-jll.scm | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) (limited to 'gnu/packages/julia-jll.scm') diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm index 5ce96d1a4c..edf53d18ac 100644 --- a/gnu/packages/julia-jll.scm +++ b/gnu/packages/julia-jll.scm @@ -45,6 +45,7 @@ (define-module (gnu packages julia-jll) #:use-module (gnu packages maths) #:use-module (gnu packages mp3) #:use-module (gnu packages pcre) + #:use-module (gnu packages qt) #:use-module (gnu packages tls) #:use-module (gnu packages video) #:use-module (gnu packages web) @@ -1481,6 +1482,57 @@ (define-public julia-pixman-jll (description "This package provides a wrapper for the pixman library.") (license license:expat))) +(define-public julia-qt5base-jll + (package + (name "julia-qt5base-jll") + (version "5.15.2+0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaBinaryWrappers/Qt5Base_jll.jl") + (commit (string-append "Qt5Base-v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1hhs316dl2jy56y2j4809vwpfj6ffbjchl1a27x44mmh9bj7vxzy")))) + (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(\"Qt5Base\", \"" + (assoc-ref inputs "qtbase") "\")\n")))) + ;; There's a Julia file for each platform, override them all + (find-files "src/wrappers/" "\\.jl$"))))))) + (inputs + `(("qtbase" ,qtbase))) + (propagated-inputs + `(("julia-jllwrappers" ,julia-jllwrappers) + ("julia-libglvnd-jll" ,julia-libglvnd-jll) + ("julia-compilersupportlibraries-jll" ,julia-compilersupportlibraries-jll) + ("julia-fontconfig-jll" ,julia-fontconfig-jll) + ("julia-glib-jll" ,julia-glib-jll) + ("julia-openssl-jll" ,julia-openssl-jll) + ("julia-xkbcommon-jll" ,julia-xkbcommon-jll) + ("julia-xorg-libxcb-jll" ,julia-xorg-libxcb-jll) + ("julia-xorg-libxext-jll" ,julia-xorg-libxext-jll) + ("julia-xorg-xcb-util-image-jll" ,julia-xorg-xcb-util-image-jll) + ("julia-xorg-xcb-util-keysyms-jll" ,julia-xorg-xcb-util-keysyms-jll) + ("julia-xorg-xcb-util-renderutil-jll" ,julia-xorg-xcb-util-renderutil-jll) + ("julia-xorg-xcb-util-wm-jll" ,julia-xorg-xcb-util-wm-jll) + ("julia-zlib-jll" ,julia-zlib-jll))) + (home-page "https://github.com/JuliaBinaryWrappers/Qt5Base_jll.jl") + (synopsis "Qtbase library wrappers") + (description "This package provides a wrapper for the qtbase library.") + (license license:expat))) + (define-public julia-wayland-jll (package (name "julia-wayland-jll") -- cgit v1.2.3