[gdk-pixbuf: 1/2] Do not use shared-mime on Android




commit dbd117b9272524d8f0ae42b2555872a160e5d291
Author: BogDan Vatra <bogdan kde org>
Date:   Mon Mar 1 10:30:56 2021 +0200

    Do not use shared-mime on Android
    
    Similarly to what we do on Windows and macOS.

 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index f43d2334e..1acc43595 100644
--- a/meson.build
+++ b/meson.build
@@ -190,10 +190,10 @@ if host_machine.system() == 'darwin'
   gdk_pixbuf_conf.set('OS_DARWIN', 1)
 endif
 
-# On non-Windows/macOS systems we always required shared-mime-info and GIO
+# On non-Windows/macOS/android systems we always required shared-mime-info and GIO
 # shared_mime_dep = []
 shared_mime_dep = []
-if get_option('gio_sniffing') and host_system != 'windows' and host_system != 'darwin'
+if get_option('gio_sniffing') and host_system != 'windows' and host_system != 'darwin' and host_system != 
'android'
   shared_mime_dep += dependency('shared-mime-info')
   gdk_pixbuf_conf.set('GDK_PIXBUF_USE_GIO_MIME', 1)
 endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]