summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRaven Hallsby <karl@hallsby.com>2025-10-19 13:57:10 -0500
committerMaxim Cournoyer <maxim@guixotic.coop>2025-11-28 17:43:44 +0900
commitf48ceed435fe87b92f3050f2d6a24724149a9491 (patch)
tree7830d6dd45f6cc2be2bb2a5175ced4876c51c117 /gnu
parentb5f91bd821e2194b319f5ed571b084fbc209eae1 (diff)
gnu: quickshell: Install QML shared objects & definitions.
* gnu/packages/wm.scm (quickshell): Install QML shared objects to output. Update CMake generator configure flag to use Guix's #:generator keyword argument for cmake-build-system. Quickshell does not use these libraries at runtime, since they are statically linked. But external tooling (e.g. qmllint) need to know about these definitions. We place these libraries in the standard QML location so that $QML_IMPORT_PATH can find these libraries. Change-Id: I38afada42b8e6903970e470b0c8948783fcb3d7f Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/wm.scm15
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 1e5fa826e72..637338a22ed 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1099,11 +1099,18 @@ your own layouts, widgets, and built-in commands.")
1099 (arguments 1099 (arguments
1100 (list 1100 (list
1101 #:tests? #f ; tests are development-only for now 1101 #:tests? #f ; tests are development-only for now
1102 ;; NOTE: Ninja used because that is what upstream uses and because
1103 ;; parallel build with Makefile fails.
1104 #:generator "Ninja"
1102 #:configure-flags 1105 #:configure-flags
1103 #~(list "-GNinja" 1106 #~(list
1104 "-DCRASH_REPORTER=OFF" ; Breakpad is not packaged in Guix 1107 "-DCRASH_REPORTER=OFF" ; Breakpad is not packaged in Guix
1105 "-DDISTRIBUTOR=\"GNU Guix\"" 1108 "-DDISTRIBUTOR=\"GNU Guix\""
1106 "-DDISTRIBUTOR_DEBUGINFO_AVAILABLE=NO") 1109 "-DDISTRIBUTOR_DEBUGINFO_AVAILABLE=NO"
1110 ;; Shared object libraries for other Qt/QML tooling to find definitions
1111 ;; of Quickshell values. Quickshell statically links to its own
1112 ;; libraries by default.
1113 "-DINSTALL_QML_PREFIX=lib/qt6/qml")
1107 #:phases 1114 #:phases
1108 #~(modify-phases %standard-phases 1115 #~(modify-phases %standard-phases
1109 (add-after 'install 'wrap-program 1116 (add-after 'install 'wrap-program