~ruther/guix-local

aa9c00a9e0e7b8156ae8f300f7af256d65e0b764 — Sergey Trofimov 11 months ago ef55651
gnu: qtcolorwidgets: Build for qt6.

* gnu/packages/qt.scm (qtcolorwidgets): Update to commit 849107843.
[native-inputs], [inputs], [arguments]<#:configure-flags>: Use qt6.

Change-Id: I32eb6a187964e15d1e931001abd174eeda7f9f9f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 26 insertions(+), 23 deletions(-)

M gnu/packages/qt.scm
M gnu/packages/qt.scm => gnu/packages/qt.scm +26 -23
@@ 5129,31 5129,34 @@ Qt widgets.")
      (license license:lgpl3+))))

(define-public qtcolorwidgets
  (package
    (name "qtcolorwidgets")
    (version "2.2.0")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://gitlab.com/mattia.basaglia/Qt-Color-Widgets")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fp7sr5a56bjp2abc6ng331q0bwvk6mf2nxdga81aj6cd9afs22q"))))
    (build-system cmake-build-system)
    (arguments '(#:tests? #f))          ;there are no tests
    (native-inputs
     (list qttools-5))
    (inputs
     (list qtbase-5))
    (home-page "https://gitlab.com/mattia.basaglia/Qt-Color-Widgets")
    (synopsis "Color management widgets")
    (description "QtColorWidgets provides a Qt color dialog that is more
  (let ((commit "8491078434b24cba295b5e41cc0d2a94c7049a5b")
        (revision "1"))
    (package
      (name "qtcolorwidgets")
      (version (git-version "2.2.0" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
               (url "https://gitlab.com/mattbas/Qt-Color-Widgets")
               (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32
           "1ixb2v5mjdszkxqq51knaj1pcivnihwlj9qlm9pxmvzl9qsvbcgg"))))
      (build-system cmake-build-system)
      (arguments
       (list #:tests? #f ;there are no tests
             #:configure-flags #~(list "-DQT_VERSION_MAJOR=6")))
      (native-inputs (list qttools))
      (inputs (list qtbase))
      (home-page "https://gitlab.com/mattbas/Qt-Color-Widgets")
      (synopsis "Color management widgets")
      (description "QtColorWidgets provides a Qt color dialog that is more
user-friendly than the default @code{QColorDialog} and several other
color-related widgets.")
    ;; Includes a license exception for combining with GPL2 code.
    (license license:lgpl3+)))
      ;; Includes a license exception for combining with GPL2 code.
      (license license:lgpl3+))))

(define-public qcustomplot
  (package