guix-commits
[Top][All Lists]
Advanced

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

12/143: gnu: phonon: Use gexp.


From: guix-commits
Subject: 12/143: gnu: phonon: Use gexp.
Date: Mon, 21 Nov 2022 16:10:38 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit f487618b13fcc336ad25fe9a299867ee12b11a3b
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Wed Sep 28 08:40:00 2022 +0200

    gnu: phonon: Use gexp.
    
    * gnu/packages/kde-frameworks.scm (phonon): Use gexp.
    
    Signed-off-by: Marius Bakke <marius@gnu.org>
---
 gnu/packages/kde-frameworks.scm | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index d1356931a1..f9e43583de 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -231,18 +231,18 @@ continuous display of high-volume data.")
     (inputs
      (list qtbase-5))
     (arguments
-     `(#:configure-flags
-       '("-DCMAKE_CXX_FLAGS=-fPIC"
-         "-DPHONON_BUILD_PHONON4QT5=ON")
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'install 'patch-installdir
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (let ((regex (string-append "(INSTALL DESTINATION \")"
-                                         (assoc-ref inputs "qtbase"))))
-               (substitute* "cmake_install.cmake"
-                 ((regex all dest)
-                  (string-append dest (assoc-ref outputs "out"))))))))))
+     (list #:configure-flags
+           #~'("-DCMAKE_CXX_FLAGS=-fPIC"
+               "-DPHONON_BUILD_PHONON4QT5=ON")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'install 'patch-installdir
+                 (lambda* (#:key inputs outputs #:allow-other-keys)
+                   (let ((regex (string-append "(INSTALL DESTINATION \")"
+                                               #$(this-package-input 
"qtbase"))))
+                     (substitute* "cmake_install.cmake"
+                       ((regex all dest)
+                        (string-append dest #$output)))))))))
     (home-page "https://community.kde.org/Phonon";)
     (synopsis "KDE's multimedia library")
     (description "KDE's multimedia library.")



reply via email to

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