gnu: phonon: Use gexp.

* gnu/packages/kde-frameworks.scm (phonon): Use gexp.

Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
Petr Hodina 2022-09-28 08:40:00 +02:00 committed by Marius Bakke
parent d92e4f59bb
commit f487618b13
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -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.")