guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: kdeconnect: Use qt-build-system.


From: guix-commits
Subject: 04/05: gnu: kdeconnect: Use qt-build-system.
Date: Sun, 1 Dec 2019 14:26:39 -0500 (EST)

htgoebel pushed a commit to branch master
in repository guix.

commit e185e900e59c32dfdf773b4782950700ab7db709
Author: Hartmut Goebel <address@hidden>
Date:   Sat Nov 30 22:43:23 2019 +0100

    gnu: kdeconnect: Use qt-build-system.
    
    * gnu/packages/display-managers.scm (kdeconnect): Use qt-build-sytem.
      [arguments]<modules, imported-modules>: Remove. <phases>: Base
      on phases from qt-build-system. {wrap-executable}: Remove.
---
 gnu/packages/kde.scm | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 483eeeb..014bca0 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -24,6 +24,7 @@
 
 (define-module (gnu packages kde)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system qt)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
@@ -541,28 +542,15 @@ different notification systems.")
         (sha256
          (base32
           "02lr3xx5s2mgddac4n3lkgr7ppf1z5m6ajs90rjix0vs8a271kp5"))))
-    (build-system cmake-build-system)
+    (build-system qt-build-system)
     (arguments
      `(#:configure-flags '("-DBUILD_TESTING=ON")
        #:tests? #f ; tests fail hard in our build environment
-       #:modules ((guix build cmake-build-system)
-                  (guix build qt-utils)
-                  (guix build utils))
-       #:imported-modules (,@%cmake-build-system-modules
-                            (guix build qt-utils))
        #:phases
-       (modify-phases %standard-phases
+       (modify-phases (@ (guix build qt-build-system) %standard-phases)
          (add-before 'check 'check-setup
            (lambda _
              (setenv "QT_QPA_PLATFORM" "offscreen")
-             #t))
-         (add-after 'install 'wrap-executable
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let ((out (assoc-ref outputs "out")))
-               (wrap-qt-program out "../lib/libexec/kdeconnectd")
-               (wrap-qt-program out "kdeconnect-cli")
-               (wrap-qt-program out "kdeconnect-handler")
-               (wrap-qt-program out "kdeconnect-indicator"))
              #t)))))
     (native-inputs
      `(("extra-cmake-modules" ,extra-cmake-modules)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]