[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/35: gnu: Add qtsvg, version 6.3.1.
From: |
guix-commits |
Subject: |
07/35: gnu: Add qtsvg, version 6.3.1. |
Date: |
Mon, 1 Aug 2022 00:12:12 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 49f673415ff8a03e63c66293a5f0ddc0944dc14d
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jul 17 11:21:16 2022 -0400
gnu: Add qtsvg, version 6.3.1.
* gnu/packages/qt.scm (qtsvg): New variable.
---
gnu/packages/qt.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 8dc4e06329..2d4a3cc6ea 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -900,6 +900,37 @@ HostData=lib/qt5
(description "The QtSvg module provides classes for displaying the
contents of SVG files.")))
+(define-public qtsvg
+ (package
+ (name "qtsvg")
+ (version "6.3.1")
+ (source (origin
+ (method url-fetch)
+ (uri (qt5-urls name version))
+ (sha256
+ (base32
+ "1xvxz2jfpr1al85rhwss7ji5vkxa812d0b888hry5f7pwqcg86bv"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-display
+ (lambda _
+ ;; Make Qt render "offscreen", required for tests.
+ (setenv "QT_QPA_PLATFORM" "offscreen")))
+ (add-after 'install 'delete-installed-tests
+ (lambda _
+ (delete-file-recursively (string-append #$output "/tests")))))))
+ (native-inputs (list perl))
+ (inputs (list libxkbcommon mesa qtbase zlib))
+ (synopsis "Qt module for displaying SVGs")
+ (description "The QtSvg module provides classes for displaying the
+ contents of SVG files.")
+ (home-page (package-home-page qtbase))
+ (license (package-license qtbase))))
+
(define-public qtimageformats
(package (inherit qtsvg-5)
(name "qtimageformats")
- 28/35: gnu: Add qtpositioning., (continued)
- 28/35: gnu: Add qtpositioning., guix-commits, 2022/08/01
- 17/35: gnu: qtwebsockets: Rename to qtwebsockets-5., guix-commits, 2022/08/01
- 19/35: gnu: qtwebchannel: Rename to qtwebchannel-5., guix-commits, 2022/08/01
- 21/35: gnu: qtwebengine: Rename to qtwebengine-5., guix-commits, 2022/08/01
- 29/35: build: qt: Add qtbase argument and wrap Qt environment variables exactly., guix-commits, 2022/08/01
- 01/35: gnu: qtbase: Patch /bin/pwd in executable scripts., guix-commits, 2022/08/01
- 08/35: gnu: qpwgraph: Migrate to Qt 6 and add libxkbcommon input., guix-commits, 2022/08/01
- 22/35: gnu: Add qtwebengine, version 6.3.1., guix-commits, 2022/08/01
- 34/35: gnu: jami: Update to 20220726.1515.da8d1da., guix-commits, 2022/08/01
- 06/35: gnu: qtsvg-5: Fix indentation., guix-commits, 2022/08/01
- 07/35: gnu: Add qtsvg, version 6.3.1.,
guix-commits <=
- 10/35: gnu: qtmultimedia: Rename to qtmultimedia-5., guix-commits, 2022/08/01
- 20/35: gnu: Add qtwebchannel, version 6.3.1., guix-commits, 2022/08/01
- 30/35: gnu: libjami: Update to 20220726.1515.da8d1da., guix-commits, 2022/08/01