mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 15:22:20 +02:00
Initial release
This commit is contained in:
50
meson.build
Normal file
50
meson.build
Normal file
@@ -0,0 +1,50 @@
|
||||
#
|
||||
# Copyright (C) 2019 Purism SPC
|
||||
# Copyright (C) 2020 Arnaud Ferraris <arnaud.ferraris@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#
|
||||
|
||||
project (
|
||||
'eg25manager',
|
||||
'c',
|
||||
version : '0.0.1',
|
||||
license : 'GPLv3+',
|
||||
meson_version : '>= 0.50.0',
|
||||
default_options :
|
||||
[
|
||||
'warning_level=1',
|
||||
'buildtype=debugoptimized',
|
||||
'c_std=gnu11'
|
||||
],
|
||||
)
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
app_name = meson.project_name()
|
||||
|
||||
prefix = get_option('prefix')
|
||||
datadir = get_option('datadir')
|
||||
sysconfdir = get_option('sysconfdir')
|
||||
bindir = join_paths(prefix, get_option('bindir'))
|
||||
|
||||
if datadir.startswith('/')
|
||||
full_datadir = datadir
|
||||
else
|
||||
full_datadir = join_paths(prefix, datadir)
|
||||
endif
|
||||
|
||||
if sysconfdir.startswith('/')
|
||||
full_sysconfdir = sysconfdir
|
||||
else
|
||||
full_sysconfdir = join_paths(prefix, sysconfdir)
|
||||
endif
|
||||
|
||||
mgr_deps = [
|
||||
dependency('glib-2.0'),
|
||||
dependency('gio-unix-2.0'),
|
||||
dependency('libgpiod'),
|
||||
dependency('mm-glib'),
|
||||
]
|
||||
|
||||
subdir('src')
|
Reference in New Issue
Block a user