2017-11-23 23:00:25 +05:30
|
|
|
|
xdgmime_sources = files(
|
2016-03-07 11:13:24 +00:00
|
|
|
|
'xdgmime.c',
|
|
|
|
|
'xdgmimealias.c',
|
|
|
|
|
'xdgmimecache.c',
|
|
|
|
|
'xdgmimeglob.c',
|
|
|
|
|
'xdgmimeicon.c',
|
|
|
|
|
'xdgmimeint.c',
|
|
|
|
|
'xdgmimemagic.c',
|
|
|
|
|
'xdgmimeparent.c',
|
2017-11-23 23:00:25 +05:30
|
|
|
|
)
|
2016-03-07 11:13:24 +00:00
|
|
|
|
|
2025-04-10 20:17:13 +01:00
|
|
|
|
# glib enables various warnings which the xdgmime code wasn’t designed to
|
|
|
|
|
# work with
|
|
|
|
|
extra_xdgmime_args = cc.get_supported_arguments([
|
|
|
|
|
'-Wno-sign-conversion',
|
|
|
|
|
])
|
|
|
|
|
|
2016-03-07 11:13:24 +00:00
|
|
|
|
xdgmime_lib = static_library('xdgmime',
|
|
|
|
|
sources : xdgmime_sources,
|
2016-12-21 04:07:24 +05:30
|
|
|
|
include_directories : [configinc],
|
2016-12-09 14:30:22 -05:00
|
|
|
|
pic : true,
|
2025-04-10 20:17:13 +01:00
|
|
|
|
c_args : [
|
|
|
|
|
'-DHAVE_CONFIG_H',
|
|
|
|
|
'-DXDG_PREFIX=_gio_xdg',
|
|
|
|
|
extra_xdgmime_args,
|
|
|
|
|
],
|
2022-10-03 10:36:04 -04:00
|
|
|
|
gnu_symbol_visibility : 'hidden',
|
|
|
|
|
)
|