grim/purple-spasm

7112bce8e669
Update the docs and simplify meson.build
project(
'skeleton-libpurple',
'c',
version: '0.1.0',
)
SOURCES = [
'hello-world.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'
)
PURPLE = dependency('purple', version: '>=2.0.0')
shared_library(
meson.project_name(),
SOURCES,
name_prefix: '',
dependencies: [PURPLE],
install: true,
install_dir: PURPLE.get_pkgconfig_variable('plugindir'),
)