From 41849c504dcde7cfedaa1a629e3c4d8768b83027 Mon Sep 17 00:00:00 2001
From: Eric Brown <ecbrown@ericcbrown.com>
Date: Mon, 24 May 2021 10:01:29 -0500
Subject: [PATCH 37/37] gnu: qt5compat: New variable.
* gnu/packages/qt.scm (qt5compat): New variable.
---
gnu/packages/qt.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
@@ -799,6 +799,35 @@ HostData=lib/qt5
(description "The QtSvg module provides classes for displaying the
contents of SVG files.")))
+(define-public qt5compat
+ (package (inherit qtsvg)
+ (name "qt5compat")
+ (version "6.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (qt5-urls name version))
+ (sha256
+ (base32
+ "0g6jiw620k02p96mzdkv21frwcgcf4bjggainawbif024z5fdmy7"))
+ (modules '((guix build utils)))
+;; (snippet
+;; '(begin
+;; (delete-file-recursively "tests/3rdparty")
+;; ;; the scion test refers to the bundled 3rd party test code.
+;; (substitute* "tests/auto/auto.pro"
+;; (("scion") "#"))
+;; #t))
+ ))
+ (native-inputs `(("perl" ,perl)))
+ (inputs
+ `(("icu4c" ,icu4c)
+ ("libxkbcommon" ,libxkbcommon)
+ ("qtbase" ,qtbase)
+ ("qtdeclarative" ,qtdeclarative)))
+ (synopsis "Qt 5 Compatibility module")
+ (description "The Qt Compatibility module provides contains
+unsupported Qt 5 APIs.")))
+
(define-public qtimageformats
(package (inherit qtsvg)
(name "qtimageformats")
--
2.31.1