me
/
guix
Archived
1
0
Fork 0

gnu: phonon: Enable qt6.

* gnu/packages/kde-frameworks.scm (phonon): Enable qt6.
[arguments]: Remove "-DPHONON_BUILD_QT6=OFF".
<#:phases>: Remove patch-installdir phase.
[inputs]: Add qtbase and qt5compat.
[native-inputs]: Remove qttools-5; add qttools.

Change-Id: Ie9421f5d1f8191fe1d600bc71fdb8a318fa92ca1
master
Zheng Junjie 2024-07-05 23:36:24 +08:00
parent c77f92a69e
commit 52a037fdcd
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0
1 changed files with 3 additions and 14 deletions

View File

@ -225,22 +225,11 @@ continuous display of high-volume data.")
"16pk8g5rx00x45gnxrqg160b1l02fds1b7iz6shllbfczghgz1rj")))) "16pk8g5rx00x45gnxrqg160b1l02fds1b7iz6shllbfczghgz1rj"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
;; TODO: Add building the super experimental QML support (list appstream extra-cmake-modules pkg-config qttools))
(list appstream extra-cmake-modules pkg-config qttools-5)) (inputs (list qtbase qt5compat glib qtbase-5 pulseaudio))
(inputs (list glib qtbase-5 pulseaudio))
(arguments (arguments
(list #:configure-flags (list #:configure-flags
#~'("-DCMAKE_CXX_FLAGS=-fPIC" #~(list "-DCMAKE_CXX_FLAGS=-fPIC")))
"-DPHONON_BUILD_QT6=OFF") ;KDE is still using Qt 5
#: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") (home-page "https://community.kde.org/Phonon")
(synopsis "KDE's multimedia library") (synopsis "KDE's multimedia library")
(description "KDE's multimedia library.") (description "KDE's multimedia library.")