gdk-pixbuf: disable JPEG2000 support

jasper has unfixed CVE
Upstream has no plan to switch to openjpeg AFAICT
This commit is contained in:
c0bw3b 2019-11-17 19:44:10 +01:00
parent 0a443f4c72
commit 9aa62321ea

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, nixosTests, fixDarwinDylibNames, meson, ninja, pkgconfig, gettext, python3, libxml2, libxslt, docbook_xsl
, docbook_xml_dtd_43, gtk-doc, glib, libtiff, libjpeg, libpng, libX11, gnome3
, jasper, gobject-introspection, doCheck ? false, makeWrapper }:
, gobject-introspection, doCheck ? false, makeWrapper }:
let
pname = "gdk-pixbuf";
@ -31,11 +31,10 @@ in stdenv.mkDerivation rec {
]
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
propagatedBuildInputs = [ glib libtiff libjpeg libpng ];
mesonFlags = [
"-Ddocs=true"
"-Djasper=true"
"-Dx11=true"
"-Dgir=${if gobject-introspection != null then "true" else "false"}"
"-Dgio_sniffing=false"