summaryrefslogtreecommitdiff
path: root/sigils/packages/qt.scm
blob: 1e4ee79db49038e1915ba011ba765601ac5d8ade (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
(define-module (sigils packages qt)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix gexp)
  #:use-module ((guix licenses)
                #:prefix license:)
  ;; qt6ct
  #:use-module (gnu packages qt)
  #:use-module (gnu packages vulkan)
  #:use-module (gnu packages xdisorg))

;; Qt6Ct

(define-public qt6ct
  (package
    (inherit qt5ct)
    (name "qt6ct")
    (version "0.9")
    (source
     (origin
       (method url-fetch)
       (uri (string-append
             "https://github.com/trialuser02/qt6ct/archive/refs/tags/" version
             ".tar.gz"))
       (sha256
        (base32 "0vl2x3livyik5mf8qg4zpkxx9zd1nglxxj6rgjadcbd8a7xw8jda"))))
    (native-inputs (list qttools libxkbcommon vulkan-headers))
    (inputs (list qtsvg qtbase))
    (arguments
     (list
      #:tests? #f ;No target
      #:phases #~(modify-phases %standard-phases
                   (add-after 'unpack 'patch
                     (lambda _
                       (substitute* '("src/qt6ct-qtplugin/CMakeLists.txt"
                                      "src/qt6ct-style/CMakeLists.txt")
                         (("\\$\\{PLUGINDIR\\}")
                          (string-append #$output "/lib/qt6/plugins"))))))))
    (synopsis "Qt6 Configuration Tool")
    (description
     "Qt6CT is a program that allows users to configure Qt6 settings (such
as icons, themes, and fonts) in desktop environments or
+ window managers, that don't provide Qt integration by themselves.")))