1 Star 0 Fork 0

h3l/cpupower-gui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
meson.build 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
supdrewin 提交于 2021-08-20 20:20 +08:00 . Add translated Chinese manual page
project('cpupower-gui',
version: '1.0.0',
meson_version: '>= 0.58.0',
default_options: ['warning_level=2',
'systemddir=/usr/lib/systemd',
'pkla=false',
'use_libexec=false',
],
)
i18n = import('i18n')
application_id = 'org.rnd2.cpupower_gui'
name = meson.project_name()
conf = configuration_data()
conf.set_quoted('GETTEXT_PACKAGE', 'cpupower-gui')
conf.set_quoted('APPLICATION_ID', application_id)
# Common paths
prefix = get_option('prefix')
libexecdir = get_option('libexecdir')
libdir = get_option('libdir')
pkglibdir = join_paths(prefix, get_option('libdir'), name)
dbus_dir = join_paths(get_option('datadir'), 'dbus-1')
systemd_dir = get_option('systemddir')
pkgdatadir = join_paths(prefix, get_option('datadir'), name)
moduledir = join_paths(pkgdatadir, 'cpupower_gui')
use_libexec = get_option('use_libexec')
if use_libexec
helperdir = prefix / libexecdir / name
else
helperdir = prefix / libdir / name
endif
subdir('cpupower_gui')
subdir('data')
subdir('po')
meson.add_install_script('build-aux/meson/postinstall.py')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/h3l/cpupower-gui.git
git@gitee.com:h3l/cpupower-gui.git
h3l
cpupower-gui
cpupower-gui
master

搜索帮助