Subject: [bug#70395] [PATCH kde-team 49/63] gnu: phonon: Enable qt6.

From: Zheng Junjie <[email-masked]>
Date: Mon, 15 Apr 2024 20:47:26 +0800

* gnu/packages/kde-frameworks.scm (phonon)[arguments]: Remove
"-DPHONON_BUILD_QT6=OFF".
[native-inputs]: Replace qttools-5 with qttools.
[inputs]: Add qtbase, qt5compat.

Change-Id: I6da2d8ff0a6f3341b556ad18d9ff49988fee2261
---
 gnu/packages/kde-frameworks.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index ea4845a1c4..7927bf3e47 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -251,12 +251,11 @@ (define-public phonon
     (build-system cmake-build-system)
     (native-inputs
      ;; TODO: Add building the super experimental QML support
-     (list appstream extra-cmake-modules pkg-config qttools-5))
-    (inputs (list glib qtbase-5 pulseaudio))
+     (list appstream extra-cmake-modules pkg-config qttools))
+    (inputs (list qtbase qt5compat glib qtbase-5 pulseaudio))
     (arguments
      (list #:configure-flags
-           #~(list "-DCMAKE_CXX_FLAGS=-fPIC"
-                   "-DPHONON_BUILD_QT6=OFF"))) ;KDE is still using Qt 5
+           #~(list "-DCMAKE_CXX_FLAGS=-fPIC")))
     (home-page "https://community.kde.org/Phonon")
     (synopsis "KDE's multimedia library")
     (description "KDE's multimedia library.")
-- 
2.41.0