build: Squeekboard build in meson

This commit is contained in:
Dorota Czaplejewicz
2019-03-14 17:17:06 +00:00
parent c8059ebf50
commit a243fce1ae
3 changed files with 49 additions and 2 deletions

19
meson.build Normal file
View File

@ -0,0 +1,19 @@
project(
'squeekboard',
'c',
version: '1.0.9',
license: 'GPLv3',
meson_version: '>=0.40.1',
default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 'c_std=gnu11' ],
)
prefix = get_option('prefix')
datadir = join_paths(prefix, get_option('datadir'))
pkgdatadir = join_paths(datadir, meson.project_name())
install_data(
'data/themes/default.css',
install_dir: pkgdatadir + '/themes',
)
subdir('src')