gdk-pixbuf: do not build deprecated xlib library

It is deprecated and will be removed:

https://mail.gnome.org/archives/desktop-devel-list/2019-November/msg00009.html

Until then, you can use gdk-pixbuf-xlib package.
This commit is contained in:
Jan Tojnar 2020-05-18 21:03:59 +02:00
parent 6323002aac
commit 80a89002f1
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -16,7 +16,6 @@
, libtiff
, libjpeg
, libpng
, libX11
, gnome3
, gobject-introspection
, doCheck ? false
@ -65,11 +64,6 @@ stdenv.mkDerivation rec {
fixDarwinDylibNames
];
# !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
buildInputs = [
libX11
];
propagatedBuildInputs = [
glib
libtiff
@ -79,7 +73,7 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Ddocs=true"
"-Dx11=true"
"-Dx11=false" # use gdk-pixbuf-xlib
"-Dgir=${if gobject-introspection != null then "true" else "false"}"
"-Dgio_sniffing=false"
];