Merge pull request #319525 from leon-erd/pympress-gstreamer

pympress: fix gstreamer support
This commit is contained in:
Pol Dellaiera
2024-06-16 22:42:18 +02:00
committed by GitHub
+11 -1
View File
@@ -8,6 +8,7 @@
, libcanberra-gtk3
, poppler_gi
, withGstreamer ? stdenv.isLinux
, gst_all_1
, withVLC ? stdenv.isLinux
}:
@@ -29,7 +30,16 @@ python3Packages.buildPythonApplication rec {
buildInputs = [
gtk3
poppler_gi
] ++ lib.optional withGstreamer libcanberra-gtk3;
] ++ lib.optionals withGstreamer [
libcanberra-gtk3
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-ugly
(gst_all_1.gst-plugins-good.override {gtkSupport = true;})
gst_all_1.gst-libav
gst_all_1.gst-vaapi
];
propagatedBuildInputs = with python3Packages; [
pycairo