gnu: Add phonon-qt5.

* gnu/packages/kde-multimedia.scm (phonon-qt5): New variable.
* gnu/packages/kde-frameworks.scm (knotifications-5, kwallet-5,
plasma-framework)[inputs]: Replace phonon by phonon-qt5.

Change-Id: I69ecf77e09af25dd7750518228528dbe557140a7
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Andreas Enge 2025-10-26 22:25:02 +01:00
parent 1807cc331f
commit 1acdbd0911
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
2 changed files with 21 additions and 3 deletions

View file

@ -2693,7 +2693,7 @@ covers feedback and persistent events.")
kwindowsystem-5
libcanberra
libdbusmenu-qt
phonon
phonon-qt5
qtdeclarative-5
qtbase-5
qtspeech-5
@ -4570,7 +4570,7 @@ the passwords on KDE work spaces.")
kwidgetsaddons-5
kwindowsystem-5
libgcrypt
phonon
phonon-qt5
qgpgme
qca
qtbase-5))))
@ -4727,7 +4727,7 @@ descriptions for integrating actions from plugins.")
kxmlgui-5
;; XXX: "undefined reference to `glGetString'" errors occur without libglvnd,
libglvnd
phonon
phonon-qt5
qtbase-5
qtdeclarative-5
qtquickcontrols2-5

View file

@ -15,6 +15,7 @@
;;; Copyright © 2024 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2024, 2025 Sughosha <sughosha@disroot.org>
;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com>
;;; Copyright © 2025 Andreas Enge <andreas@enge.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@ -103,6 +104,23 @@
(description "KDE's multimedia library.")
(license license:lgpl2.1+)))
(define-public phonon-qt5
(package
(inherit phonon)
(name "phonon-qt5")
(native-inputs
(list appstream extra-cmake-modules pkg-config qttools-5))
(inputs (list qtbase-5 glib pulseaudio))
(arguments
(list #:configure-flags
#~(list "-DPHONON_BUILD_QT5=ON"
"-DPHONON_BUILD_QT6=OFF"
"-DCMAKE_CXX_FLAGS=-fPIC")))
(home-page "https://community.kde.org/Phonon")
(synopsis "KDE's multimedia library")
(description "KDE's multimedia library.")
(license license:lgpl2.1+)))
(define-public audiocd-kio
(package
(name "audiocd-kio")