a working build of qt5ct-kde

This patch comes from the AUR to add the ability for kde apps to work
better under qt5ct. Especially with apps using QML.
This commit is contained in:
Chris Cochrun 2023-07-13 14:47:58 -05:00
parent e4dc8d89a7
commit 20c4af554c
2 changed files with 14 additions and 25 deletions

View file

@ -1,21 +0,0 @@
(define-module (pkgs qt5ct-kde)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system qt)
#:use-module (gnu packages)
#:use-module (gnu packages qt)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (srfi srfi-1))
(define-public qt5ct-kde
(package
(inherit qt5ct)
(source
(origin
(method url-fetch)
(uri
(string-append "mirror://sourceforge/qt5ct/qt5ct-" version ".tar.bz2"))
(patches (search-patches "qt5ct-kde.patch"))
(sha256
(base32 "14742vs32m98nbfb5mad0i8ciff5f45gfcb5v03p4hh2dvhhqgfn"))))))

View file

@ -1,24 +1,34 @@
(define-module (pkgs qt5ct) (define-module (pkgs qt5ct)
#:use-module (guile)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages qt) #:use-module (gnu packages qt)
#:use-module (guix gexp)) #:use-module (gnu packages kde-frameworks)
#:use-module (guix gexp)
#:use-module (srfi srfi-1))
(define-public qt5ct-kde (define-public qt5ct-kde
(package (package
(inherit qt5ct) (inherit qt5ct)
(version "1.7")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append "mirror://sourceforge/qt5ct/qt5ct-" version ".tar.bz2")) (string-append "mirror://sourceforge/qt5ct/qt5ct-" version ".tar.bz2"))
(patches (search-patches "qt5ct-kde.patch")) (patches '("./patches/qt5ct-kde.patch"))
(sha256 (sha256
(base32 "14742vs32m98nbfb5mad0i8ciff5f45gfcb5v03p4hh2dvhhqgfn")))) (base32 "1mxqallxw0b5p4kjfnvv9ndzws54si4a3xlz3gnxyl2cdrm58n7d"))))
)) (inputs (modify-inputs
(package-inputs qt5ct)
(append qtquickcontrols2-5
qtdeclarative-5
plasma-framework
kconfigwidgets
kiconthemes)))))
qt5ct-kde qt5ct-kde