nixpkgs/pkgs/development/libraries/gdk-pixbuf/no-mime-sniffing.patch
Jan Tojnar ae8b7a189a
Revert "Revert commit 4b2f3971981272b79da7f87b639ca8854a6ea89c"
This reverts commit 85ae7137ac6a1623be90c8f0897566367d300c12.
2018-06-01 00:13:15 +02:00

19 lines
559 B
Diff

--- a/meson.build
+++ b/meson.build
@@ -186,13 +186,8 @@
gmodule_dep = dependency('gmodule-no-export-2.0')
gio_dep = dependency('gio-2.0')
-# On non-Windows/macOS systems we always required shared-mime-info and GIO
-if host_system != 'windows' and host_system != 'darwin'
- shared_mime_dep = dependency('shared-mime-info')
- gdk_pixbuf_conf.set('GDK_PIXBUF_USE_GIO_MIME', 1)
-else
- shared_mime_dep = []
-endif
+# No MIME sniffing for now
+shared_mime_dep = []
gdk_pixbuf_deps = [ mathlib_dep, gobject_dep, gmodule_dep, gio_dep, shared_mime_dep ]