From f487618b13fcc336ad25fe9a299867ee12b11a3b Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Wed, 28 Sep 2022 08:40:00 +0200 Subject: [PATCH] gnu: phonon: Use gexp. * gnu/packages/kde-frameworks.scm (phonon): Use gexp. Signed-off-by: Marius Bakke --- 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 @@ (define-public phonon (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.")