pdfpc: Remove webkitgtk from Darwin build (#474378)
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
discount,
|
||||
json-glib,
|
||||
nix-update-script,
|
||||
libsoup_3,
|
||||
librsvg,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -42,22 +44,32 @@ stdenv.mkDerivation rec {
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libgee
|
||||
poppler
|
||||
libpthreadstubs
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
(gst-plugins-good.override { gtkSupport = true; })
|
||||
gst-libav
|
||||
qrencode
|
||||
webkitgtk_4_1
|
||||
discount
|
||||
json-glib
|
||||
];
|
||||
|
||||
cmakeFlags = lib.optional stdenv.hostPlatform.isDarwin (lib.cmakeBool "MOVIES" false);
|
||||
cmakeFlags = lib.optional stdenv.hostPlatform.isDarwin (lib.cmakeBool "MDVIEW" false);
|
||||
buildInputs =
|
||||
let
|
||||
platformBuildInputs =
|
||||
if stdenv.hostPlatform.isDarwin then
|
||||
[ librsvg ]
|
||||
else
|
||||
[
|
||||
libpthreadstubs
|
||||
webkitgtk_4_1
|
||||
];
|
||||
in
|
||||
[
|
||||
(gst-plugins-good.override { gtkSupport = true; })
|
||||
discount
|
||||
gst-libav
|
||||
gst-plugins-base
|
||||
gstreamer
|
||||
gtk3
|
||||
json-glib
|
||||
libgee
|
||||
libsoup_3
|
||||
poppler
|
||||
qrencode
|
||||
]
|
||||
++ platformBuildInputs;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user