1 Star 0 Fork 1

blackduck/EasySSH

forked from Gitee 极速下载/EasySSH 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
meson.build 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
Murilo Venturoso 提交于 2020-09-19 18:50 . New Flag
project('com.github.muriloventuroso.easyssh', 'vala', 'c', version: '1.7.0')
gnome = import('gnome')
i18n = import('i18n')
with_gpg = get_option('with-gpg')
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()), language:'c')
if get_option('ubuntu-bionic-patched-vte')
add_project_arguments(['--define', 'UBUNTU_BIONIC_PATCHED_VTE'], language : 'vala')
endif
if get_option('patched-vte')
add_project_arguments(['--define', 'PATCHED_VTE'], language : 'vala')
endif
asresources = gnome.compile_resources(
'as-resources', 'data/' + meson.project_name() + '.gresource.xml',
source_dir: 'data',
c_name: 'as'
)
dependencies = [
dependency('gee-0.8'),
dependency('glib-2.0'),
dependency('gtk+-3.0'),
dependency('granite'),
dependency('json-glib-1.0'),
dependency('vte-2.91', version: '>0.52'),
dependency('gee-0.8'),
meson.get_compiler('c').find_library('m', required : false)
]
if with_gpg
gpg = find_program('gpg', 'gpg2', required: true)
add_project_arguments(['--define', 'WITH_GPG'], language : 'vala')
endif
executable(
meson.project_name(),
asresources,
'src/Application.vala',
'src/Host.vala',
'src/Account.vala',
'src/Bookmark.vala',
'src/MainWindow.vala',
'src/Services/Settings.vala',
'src/Views/SourceListView.vala',
'src/Widgets/TerminalBox.vala',
'src/Widgets/Welcome.vala',
'src/Widgets/WelcomeAccounts.vala',
'src/Widgets/HeaderBar.vala',
'src/Widgets/ConnectionEditor.vala',
'src/Widgets/AccountEditor.vala',
'src/Widgets/Connection.vala',
'src/Widgets/ErrorRevealer.vala',
'src/Widgets/Preferences.vala',
'src/Widgets/TerminalWidget.vala',
'src/Widgets/SearchToolbar.vala',
'src/Widgets/BookmarksPopover.vala',
'src/Widgets/Tab.vala',
dependencies: dependencies,
install: true
)
meson.add_install_script('meson/post_install.py')
subdir('data')
subdir('po')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Vala
1
https://gitee.com/blackduck/EasySSH.git
git@gitee.com:blackduck/EasySSH.git
blackduck
EasySSH
EasySSH
master

搜索帮助