You are not logged in.

#1 2024-03-06 18:22:03

obap74
Member
Registered: 2021-03-18
Posts: 79

[SOLVED] phonon-qt6 - any way to avoid VLC being installed?

I'm using AwesomeWM but I have a few Plasma apps installed, including Dolphin.

Now that Plasma 6 is available in stable repos, Pacman wants to install phonon-qt6, which is required by dolphin and kio-extras (on my system).

phonon-qt6 depends on phonon-qt6-backend (phonon-qt6-vlc), which of course pulls vlc and its dependencies:

  • extra/aribb24

  • extra/libdvbpsi

  • extra/libtar

  • extra/ffmpeg4.4

  • extra/libmfx

phonon-qt5-backend allows to choose between either phonon-qt5-vlc and phonon-qt5-gstreamer (I currently have the latter installed).

Apparently Phonon Gstreamer is deprecated, I guess this is the reason why we only have VLC as a backend now?

If so, does it mean pretty much all Plasma users (or tiling window managers users with a few Plasma apps installed like me) will have no choice but to install VLC?

Thanks.

Last edited by obap74 (2024-03-06 20:22:07)

Offline

#2 2024-03-06 19:36:37

anthony93
Member
Registered: 2021-07-31
Posts: 11

Re: [SOLVED] phonon-qt6 - any way to avoid VLC being installed?

obap74 wrote:

I'm using AwesomeWM but I have a few Plasma apps installed, including Dolphin.

Now that Plasma 6 is available in stable repos, Pacman wants to install phonon-qt6, which is required by dolphin and kio-extras (on my system).

phonon-qt6 depends on phonon-qt6-backend (phonon-qt6-vlc)

There's an alternative backend called phonon-qt6-mpv-git in the AUR which also provides phonon-qt6-backend. If you have mpv installed, you can consider using that backend instead.

Last edited by anthony93 (2024-03-06 19:41:20)

Offline

#3 2024-03-06 19:44:39

obap74
Member
Registered: 2021-03-18
Posts: 79

Re: [SOLVED] phonon-qt6 - any way to avoid VLC being installed?

anthony93 wrote:

There's an alternative backend called phonon-qt6-mpv-git in the AUR which also provides phonon-qt6-backend. If you have mpv installed, you can consider using that backend instead.

Thanks, I'm using mpv indeed so phonon-qt6-mpv-git sounds interesting. However, it also depends on phonon-qt6 so it also pulls vlc and its dependencies:

% paru -S phonon-qt6-mpv-git
[sudo] password for obap74:
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Repo (15)                  Old Version  New Version          Make Only
extra/aribb24                           1.0.3-3              No
extra/cmake                             3.28.3-1             Yes
extra/cppdap                            1.58.0-1             Yes
extra/extra-cmake-modules               6.0.0-1              Yes
extra/ffmpeg4.4                         4.4.4-4              No
extra/jsoncpp                           1.9.5-2              Yes
extra/libdvbpsi                         1:1.3.3-3            No
extra/libmfx                            23.2.2-2             No
extra/libtar                            1.2.20-7             No
extra/phonon-qt6                        4.12.0-4             No
extra/phonon-qt6-vlc                    0.12.0-2             No
extra/qt6-5compat                       6.6.2-1              No
extra/qt6-tools                         6.6.2-1              Yes
extra/rhash                             1.4.4-1              Yes
extra/vlc                               3.0.20-7             No

Aur (1)                    Old Version  New Version          Make Only
aur/phonon-qt6-mpv-git                  0.0.7.r5.g384ae0a-2  No

Offline

#4 2024-03-06 20:16:19

anthony93
Member
Registered: 2021-07-31
Posts: 11

Re: [SOLVED] phonon-qt6 - any way to avoid VLC being installed?

You can install phonon-qt6 first, which will install phonon-qt6-vlc, vlc, and all of vlc's dependencies. After that, install phonon-qt6-mpv-git explicitly. Since phonon-qt6 is already installed in the previous step, it won't pull anything else. At this point, you can remove phonon-qt6-vlc. Pacman won't complain about breaking phonon-qt6 because phonon-qt6-mpv-git also provides phonon-qt6-backend, which is what phonon-qt6 needs from phonon-qt6-vlc in the first place. After removing phonon-qt6-vlc, you can then remove vlc.

Last edited by anthony93 (2024-03-06 20:20:40)

Offline

#5 2024-03-06 20:21:54

obap74
Member
Registered: 2021-03-18
Posts: 79

Re: [SOLVED] phonon-qt6 - any way to avoid VLC being installed?

anthony93 wrote:

You can install phonon-qt6 first, which will install phonon-qt6-vlc, vlc, and all of vlc's dependencies. After that, install phonon-qt6-mpv-git explicitly. Since phonon-qt6 is already installed in the previous step, it won't pull anything else. At this point, you can remove phonon-qt6-vlc. Pacman won't complain about breaking phonon-qt6 because phonon-qt6-mpv-git also provides phonon-qt6-backend, which is what phonon-qt6 needs from phonon-qt6-vlc in the first place. After removing phonon-qt6-vlc, you can then remove vlc.

Thanks, I didn't think about doing it this way. All good.

Edit: Note that playback in Dolphin information panel (F11) is a bit buggy with phonon-qt6-mpv-git. When trying to play an audio or video file, Dolphin restarts and most of the time the video doesn't play, only audio does. Seeking isn't possible. No issue with phonon-qt6-vlc. I think I'll stick with phonon-qt6-mpv-git, I don't really use that feature anyway.

Last edited by obap74 (2024-03-06 20:55:12)

Offline

#6 2024-03-16 22:06:30

obap74
Member
Registered: 2021-03-18
Posts: 79

Re: [SOLVED] phonon-qt6 - any way to avoid VLC being installed?

FYI: I've just tried phonon-qt6-gstreamer-git (AUR) instead of phonon-qt6-mpv-git (AUR) and it solves the issues I mentioned in my previous post.

Offline

Board footer

Powered by FluxBB