1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[Meson] Fix pkg-config file generation with meson.

This commit is contained in:
Dave Davenport 2017-10-16 19:18:19 +02:00
parent 12e7b67ddd
commit 65dfa23e2a

View file

@ -239,20 +239,23 @@ install_data(
install_dir: themedir install_dir: themedir
) )
pkgconfig = import('pkgconfig') pkg = import('pkgconfig')
pkgconfig.generate( pkgconfig_conf = configuration_data()
name: 'rofi', pkgconfig_conf.set('prefix', get_option('prefix'))
filebase: 'rofi', pkgconfig_conf.set('exec_prefix', '${prefix}')
description: 'Header files for rofi plugins', pkgconfig_conf.set('VERSION', meson.project_version())
version: meson.project_version(), pkgconfig_conf.set('libdir', join_paths('${prefix}',get_option('libdir')))
requires_private: [ pkgconfig_conf.set('includedir', join_paths('${prefix}',get_option('includedir')))
'glib-2.0 >= 2.40',
'gmodule-2.0', configure_file(
'cairo', input: 'pkgconfig/rofi.pc.in',
], output: 'rofi.pc',
configuration: pkgconfig_conf,
install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
) )
test('history test', executable('history.test', [ test('history test', executable('history.test', [
'test/history-test.c', 'test/history-test.c',
], ],