gdk-pixbuf: disable JPEG2000 support
jasper has unfixed CVE Upstream has no plan to switch to openjpeg AFAICT
This commit is contained in:
parent
0a443f4c72
commit
9aa62321ea
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, nixosTests, fixDarwinDylibNames, meson, ninja, pkgconfig, gettext, python3, libxml2, libxslt, docbook_xsl
|
{ 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
|
, docbook_xml_dtd_43, gtk-doc, glib, libtiff, libjpeg, libpng, libX11, gnome3
|
||||||
, jasper, gobject-introspection, doCheck ? false, makeWrapper }:
|
, gobject-introspection, doCheck ? false, makeWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "gdk-pixbuf";
|
pname = "gdk-pixbuf";
|
||||||
@ -31,11 +31,10 @@ in stdenv.mkDerivation rec {
|
|||||||
]
|
]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||||
|
|
||||||
propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
|
propagatedBuildInputs = [ glib libtiff libjpeg libpng ];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Ddocs=true"
|
"-Ddocs=true"
|
||||||
"-Djasper=true"
|
|
||||||
"-Dx11=true"
|
"-Dx11=true"
|
||||||
"-Dgir=${if gobject-introspection != null then "true" else "false"}"
|
"-Dgir=${if gobject-introspection != null then "true" else "false"}"
|
||||||
"-Dgio_sniffing=false"
|
"-Dgio_sniffing=false"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user