Add support for opening Xcursor files

Sadly, they don't have a canonical extension, and they don't show up
in the browser.  We might want to employ some level of sniffing.
The first 16 bytes are enough to identify a lot.
This commit is contained in:
2021-11-17 13:45:42 +01:00
parent e8754f43a6
commit db7a28b187
6 changed files with 151 additions and 3 deletions

View File

@@ -2,5 +2,7 @@ option('libraw', type : 'feature', value : 'auto',
description : 'Build with RAW support, requires LibRaw')
option('librsvg', type : 'feature', value : 'auto',
description : 'Build with SVG support, requires librsvg')
option('xcursor', type : 'feature', value : 'auto',
description : 'Build with Xcursor support, requires libXcursor')
option('gdk-pixbuf', type : 'feature', value : 'auto',
description : 'Build with a fallback to the gdk-pixbuf library')