[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/15: gnu: Add qt5ct.
From: |
guix-commits |
Subject: |
11/15: gnu: Add qt5ct. |
Date: |
Sun, 31 Jan 2021 03:35:37 -0500 (EST) |
leoprikler pushed a commit to branch master
in repository guix.
commit 6a3ec5c5495626726bed143e0292807df7cd8d1c
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Tue Jan 5 17:50:16 2021 -0500
gnu: Add qt5ct.
* gnu/packages/qt.scm (qt5ct): New variable.
Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/qt.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index d1822e9..cef9c68 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -105,6 +105,61 @@
#:use-module (gnu packages xml)
#:use-module (srfi srfi-1))
+(define-public qt5ct
+ (package
+ (name "qt5ct")
+ (version "1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://sourceforge/qt5ct/qt5ct-" version ".tar.bz2"))
+ (sha256
+ (base32 "1lnx4wqk87lbr6lqc64w5g5ppjjv75kq2r0q0bz9gfpryzdw8xxg"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; No target
+ #:imported-modules
+ (,@%gnu-build-system-modules
+ (guix build cmake-build-system)
+ (guix build qt-build-system))
+ #:modules
+ ((guix build gnu-build-system)
+ ((guix build qt-build-system)
+ #:prefix qt:)
+ (guix build utils))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "qt5ct.pro"
+ (("\\$\\$\\[QT_INSTALL_BINS\\]/lrelease")
+ (string-append (assoc-ref inputs "qttools")
+ "/bin/lrelease")))
+ #t))
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (invoke "qmake"
+ (string-append "PREFIX=" out)
+ (string-append "BINDIR=" out "/bin")
+ (string-append "DATADIR=" out "/share")
+ (string-append "PLUGINDIR=" out "/lib/qt5/plugins")))
+ #t))
+ (add-after 'install 'qt-wrap
+ (assoc-ref qt:%standard-phases 'qt-wrap)))))
+ (native-inputs
+ `(("qttools" ,qttools)))
+ (inputs
+ `(("qtbase" ,qtbase)
+ ("qtsvg" ,qtsvg)))
+ (synopsis "Qt5 Configuration Tool")
+ (description "Qt5CT is a program that allows users to configure Qt5
+settings (such as icons, themes, and fonts) in desktop environments or
+window managers, that don't provide Qt integration by themselves.")
+ (home-page "https://qt5ct.sourceforge.io/")
+ (license license:bsd-2)))
+
(define-public materialdecoration
(package
(name "materialdecoration")
- branch master updated (a20b4f0 -> edfbb1d), guix-commits, 2021/01/31
- 01/15: gnu: Add c++-gsl., guix-commits, 2021/01/31
- 06/15: gnu: Add nimf., guix-commits, 2021/01/31
- 07/15: gnu: Add cmake-shared., guix-commits, 2021/01/31
- 09/15: gnu: Add range-v3., guix-commits, 2021/01/31
- 03/15: gnu: libappindicator: Propagate some inputs as per .pc file., guix-commits, 2021/01/31
- 02/15: gnu: Add fcitx-qt5., guix-commits, 2021/01/31
- 04/15: gnu: Add libchewing., guix-commits, 2021/01/31
- 05/15: gnu: Add hime., guix-commits, 2021/01/31
- 08/15: gnu: Add materialdecoration., guix-commits, 2021/01/31
- 11/15: gnu: Add qt5ct.,
guix-commits <=
- 13/15: gnu: Add rlottie-for-telegram-desktop., guix-commits, 2021/01/31
- 14/15: gnu: Add libtgvoip-for-telegram-desktop., guix-commits, 2021/01/31
- 10/15: gnu: Add rlottie., guix-commits, 2021/01/31
- 12/15: gnu: Add webrtc-for-telegram-desktop., guix-commits, 2021/01/31
- 15/15: gnu: Add telegram-desktop., guix-commits, 2021/01/31