mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-14 15:15:01 +01:00
628100c19f
Quick rundown of benefits: - Much faster: - Autotools (with autogen): 22 seconds - Meson: 7 seconds - Meson (with ccache): 2 seconds - Simpler: - ~1000 lines smaller - Single simple language - Potentially better Windows (Visual Studio) support What is not done: - Complete Windows support - OSX support (easy) Closes #2013 Closes #1937 Closes #1803
15 lines
465 B
Meson
15 lines
465 B
Meson
pkg_conf = configuration_data()
|
|
prefix = get_option('prefix')
|
|
pkg_conf.set('prefix', prefix)
|
|
pkg_conf.set('VERSION', meson.project_version())
|
|
pkg_conf.set('hexchatlibdir', join_paths(prefix, plugindir))
|
|
pkg_conf.set('includedir', join_paths(prefix, get_option('includedir')))
|
|
|
|
configure_file(
|
|
input: 'hexchat-plugin.pc.in',
|
|
output: 'hexchat-plugin.pc',
|
|
configuration: pkg_conf,
|
|
install: true,
|
|
install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
|
|
)
|