grim/purple-spasm

rename all purple_spasm_* function to just spasm_* functions (some other cleanups too)
project(
'purple-spasm',
'c',
version: '0.0.1',
)
SOURCES = [
'spasm.c',
'spasm-account.c',
'spasm-chat.c',
'spasm-protocol.c',
'spasm-rest.c',
'spasm-user.c',
]
# The code below should not need to be modified for simple use cases.
add_project_arguments(
'-DPREFIX="@0@"'.format(get_option('prefix')),
'-DLIBDIR="@0@"'.format(get_option('libdir')),
'-DPLUGIN_VERSION="@0@"'.format(meson.project_version()),
language : 'c'
)
JSON_GLIB = dependency('json-glib-1.0')
SOUP = dependency('libsoup-2.4')
PURPLE3 = dependency('purple-3', version: '>=3.0.0')
shared_library(
meson.project_name() + '3',
SOURCES,
name_prefix: '',
dependencies: [PURPLE3, JSON_GLIB, SOUP],
install: true,
install_dir: join_paths(get_option('libdir'), 'purple3'),
)
subdir('icons')