virt-manager: Add back gstreamer plugins (#361351)

This commit is contained in:
Franz Pletz 2024-12-03 08:23:51 +01:00 committed by GitHub
commit 267748eb98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,6 +21,7 @@
xorriso,
spiceSupport ? true,
spice-gtk ? null,
gst_all_1 ? null,
}:
let
@ -57,18 +58,23 @@ stdenv.mkDerivation rec {
pkg-config
] ++ lib.optional stdenv.hostPlatform.isDarwin desktopToDarwinBundle;
buildInputs = [
python3
libvirt-glib
vte
dconf
gtk-vnc
adwaita-icon-theme
gsettings-desktop-schemas
libosinfo
gtksourceview4
] ++ lib.optional spiceSupport spice-gtk;
buildInputs =
[
python3
libvirt-glib
vte
dconf
gtk-vnc
adwaita-icon-theme
gsettings-desktop-schemas
libosinfo
gtksourceview4
]
++ lib.optionals spiceSupport [
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
spice-gtk
];
preFixup = ''
glib-compile-schemas $out/share/gsettings-schemas/${pname}-${version}/glib-2.0/schemas