grim/guifications2

Initial support for building the installer
draft default tip
2021-05-19, Gary Kramlich
e60a596742b7
Initial support for building the installer
HEADERS = [
'gf_action.h',
'gf_blist.h',
'gf_display.h',
'gf_event.h',
'gf_event_info.h',
'gf_file.h',
'gf_gtk_utils.h',
'gf_internal.h',
'gf_item.h',
'gf_item_icon.h',
'gf_item_image.h',
'gf_item_offset.h',
'gf_item_text.h',
'gf_menu.h',
'gf_notification.h',
'gf_preferences.h',
'gf_stock.h',
'gf_theme.h',
'gf_theme_editor.h',
'gf_theme_info.h',
'gf_theme_ops.h',
'gf_utils.h',
]
SOURCES = [
'gf_action.c',
'gf_blist.c',
'gf_display.c',
'gf_event.c',
'gf_event_info.c',
'gf_file.c',
'gf_gtk_utils.c',
'gf_item.c',
'gf_item_icon.c',
'gf_item_image.c',
'gf_item_offset.c',
'gf_item_text.c',
'gf_menu.c',
'gf_notification.c',
'gf_preferences.c',
'gf_stock.c',
'gf_theme.c',
'gf_theme_editor.c',
'gf_theme_info.c',
'gf_theme_ops.c',
'gf_utils.c',
'guifications.c',
]
if target_machine.system() == 'windows'
SOURCES += 'gf_win32_display.c'
else
SOURCES += 'gf_x11_display.c'
endif
guifications2 = shared_module('guifications',
SOURCES, HEADERS,
dependencies : [FREETYPE2, GLIB, GTK2, PANGOFT2, PURPLE, PIDGIN],
install : true,
# pidgin 2 doesn't use multi-arch lib directories
install_dir : get_option('prefix') / 'lib/pidgin',
name_prefix : '',
)