plasma-workspace: add glib-networking and gstreamer as dependancies (for environment variable) #101477
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
I wanted to use the radio plugin for plasma desktop. It use qtmultimediaplayer, who need gstreamer plugins and glib-networking as runtime dependancies. As I was unable to find how to make glib depend on glib-networking at compile time (cycling dependancies, althought some stuff should be doable by compiling a minimal glib-networking version in the same derivation of glib, I decended it may be a subject for another day). With this, I can play the radio I want, which use https. (I also need to load the vaapi gst plugin at runtime, via a global environment variable).
Some more info about my research to have those depencies: #72579
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
) (haven't done this manually, but I switched my system to my fork, and it have no problem).nix path-info -S
before and after)A question I have is: Should I add the vaapi plugin for gst here ? My audio stream also require it, but it isn't a default installation of wrapGApps, and may add unwanted use of storage.