Subject: Re: [bug#73965] [PATCH] gnu: phonon-backend-vlc: Enable QT6.

From: Zheng Junjie <[email-masked]>
Date: Wed, 23 Oct 2024 22:39:04 +0800

Sughosha via Guix-patches via <[email-masked]> writes:

> * gnu/packages/kde-frameworks.scm (phonon-backend-vlc): Switch to Qt6.
> [arguments]<configure-flags>: Add "-DPHONON_BUILD_QT5=0" and replace
> "-DPHONON_BUILD_QT6=OFF" with "-DPHONON_BUILD_QT6=1".
> [native-inputs]: Replace qttools-5 with qttools.
> [inputs]: Replace qtbase-5 with qtbase.
>
> Change-Id: I45380ca844e987bb27ee67106e35cb60fc0565c3
> ---
>  gnu/packages/kde-frameworks.scm | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
> index 13d4e24726..a14ba1ffb0 100644
> --- a/gnu/packages/kde-frameworks.scm
> +++ b/gnu/packages/kde-frameworks.scm
> @@ -311,11 +311,12 @@ (define-public phonon-backend-vlc
>      (build-system cmake-build-system)
>      (arguments
>       (list #:configure-flags
> -           #~(list "-DPHONON_BUILD_QT6=OFF")))
> +           #~(list "-DPHONON_BUILD_QT5=0"
> +                    "-DPHONON_BUILD_QT6=1")))
>      (native-inputs
> -     (list extra-cmake-modules qttools-5))
> +     (list extra-cmake-modules qttools))
>      (inputs
> -     (list phonon qtbase-5 vlc))
> +     (list phonon qtbase vlc))
>      (home-page "https://community.kde.org/Phonon")
>      (synopsis "Phonon backend which uses VLC")
>      (description "Phonon makes use of backend libraries to provide sound.
>
> base-commit: 5794926bed6fad4598bb565fb7f49be4205b11a1

i think maybe also add a qt5 version? some package use phonon with qt5.