about summary refs log tree commit diff
path: root/pkgs/development/libraries/gdk-pixbuf/no-mime-sniffing.patch
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-06-01 00:13:15 +0200
committerJan Tojnar <jtojnar@gmail.com>2018-06-01 00:13:15 +0200
commitae8b7a189ac3cd4509d7e21f72e5477aa61a3db4 (patch)
tree7451e7ba879d78087e4948bb0521582d8814c4e3 /pkgs/development/libraries/gdk-pixbuf/no-mime-sniffing.patch
parent001a84f22adb50971c5d3898012eb92a5c90d503 (diff)
Revert "Revert commit 4b2f3971981272b79da7f87b639ca8854a6ea89c"
This reverts commit 85ae7137ac6a1623be90c8f0897566367d300c12.
Diffstat (limited to 'pkgs/development/libraries/gdk-pixbuf/no-mime-sniffing.patch')
-rw-r--r--pkgs/development/libraries/gdk-pixbuf/no-mime-sniffing.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gdk-pixbuf/no-mime-sniffing.patch b/pkgs/development/libraries/gdk-pixbuf/no-mime-sniffing.patch
new file mode 100644
index 0000000000000..9896e25acda1c
--- /dev/null
+++ b/pkgs/development/libraries/gdk-pixbuf/no-mime-sniffing.patch
@@ -0,0 +1,18 @@
+--- 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 ]
+