pympress: fix gstreamer support
This commit is contained in:
parent
50d28be03a
commit
5a16017bcd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user