1 Star 0 Fork 0

sietium_ptg/lightsoff

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
meson.build 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
project('lightsoff', ['c','vala'],
version: '3.36.0',
meson_version: '>= 0.43.0',
license: 'GPLv2+'
)
gnome = import('gnome')
i18n = import('i18n')
localedir = join_paths(get_option('prefix'), get_option('localedir'))
datadir = join_paths (get_option ('prefix'), get_option ('datadir'))
pkgdatadir = join_paths (datadir, 'lightsoff')
podir = join_paths(meson.source_root(), 'po')
vapidir = join_paths(meson.source_root(), 'vapi')
# Dependencies
glib_min_version = '2.38'
glib_dep = dependency('glib-2.0', version: '>= ' + glib_min_version)
gmodule_dep = dependency('gmodule-2.0')
gio_dep = dependency('gio-2.0', version: '>= ' + glib_min_version)
gtk_dep = dependency('gtk+-3.0', version: '>= 3.24')
clutter_dep = dependency('clutter-1.0', version: '>= 1.14.0')
clutter_gtk_dep = dependency('clutter-gtk-1.0', version: '>= 1.5.0')
librsvg_dep = dependency('librsvg-2.0', version: '>= 2.32.0')
# Check for compilers
valac = meson.get_compiler('vala')
cc = meson.get_compiler('c')
# Libraries
libmath_dep = cc.find_library('m')
config_dep = valac.find_library('config', dirs: vapidir)
posix_dep = valac.find_library('posix')
# Configuration
conf = configuration_data()
conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
conf.set_quoted('LOCALEDIR', localedir)
conf.set_quoted('DATADIR', pkgdatadir)
conf.set_quoted('VERSION', meson.project_version())
config_h_inc = include_directories('.')
# Subdirs
subdir('data')
subdir('help')
subdir('po')
subdir('src')
config_file = configure_file(output: 'config.h', configuration: conf)
# Extra scripts
meson.add_install_script('build-aux/meson_post_install.py')
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sietium_ptg/lightsoff.git
git@gitee.com:sietium_ptg/lightsoff.git
sietium_ptg
lightsoff
lightsoff
master

搜索帮助