diff options
author | Adam Joseph <adam@westernsemico.com> | 2022-03-14 12:45:04 -0700 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2022-03-14 12:45:04 -0700 |
commit | a6fc7b289104015b99eff8f744112a86ae2e5f68 (patch) | |
tree | 7e0bdf0ecffd191b5483eebbb5e5ae20d404fa0a /pkgs/desktops | |
parent | 976a5bc9fffaad437069df4d06edf0315f7a020f (diff) | |
download | nixpkgs-a6fc7b289104015b99eff8f744112a86ae2e5f68.tar nixpkgs-a6fc7b289104015b99eff8f744112a86ae2e5f68.tar.gz nixpkgs-a6fc7b289104015b99eff8f744112a86ae2e5f68.tar.bz2 nixpkgs-a6fc7b289104015b99eff8f744112a86ae2e5f68.tar.lz nixpkgs-a6fc7b289104015b99eff8f744112a86ae2e5f68.tar.xz nixpkgs-a6fc7b289104015b99eff8f744112a86ae2e5f68.tar.zst nixpkgs-a6fc7b289104015b99eff8f744112a86ae2e5f68.zip |
evince: pass -Dmultimedia=disabled if !supportMultimedia
The evince derivation has an option supportMultimedia?true, which if set to false will exclude gstreamer from the nativeBuildInputs. Unfortunately this is not enough; the build will fail with: Run-time dependency gstreamer-base-1.0 found: NO (tried pkgconfig) meson.build:236:0: ERROR: Dependency "gstreamer-base-1.0" not found, tried pkgconfig Let's pass "-Dmultimedia=disabled" to meson in this case so that the build succeeds. Checked with nixpkgs-hammer, which did not report any new warnings introduced by this commit.
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/gnome/core/evince/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome/core/evince/default.nix b/pkgs/desktops/gnome/core/evince/default.nix index 28406e41284..4e6f036f196 100644 --- a/pkgs/desktops/gnome/core/evince/default.nix +++ b/pkgs/desktops/gnome/core/evince/default.nix @@ -130,6 +130,8 @@ stdenv.mkDerivation rec { "-Dps=enabled" ] ++ lib.optionals (!withLibsecret) [ "-Dkeyring=disabled" + ] ++ lib.optionals (!supportMultimedia) [ + "-Dmultimedia=disabled" ]; NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; |