Друзья, нужно написать скрипт на месон.. Помогите разобраться.
project('icon-theme',
version: '0.5.0',
license: [
'GPL-3.0',
'MIT'
],
meson_version: '>= 0.40.0',
default_options: ['prefix=/usr']
)
# Dependencies
dep_glib = dependency('glib-2.0', version: '>= 2.48.0')
# Sub directories НУЖНО ЭТО КАТАЛОГИ КОПИРОВАТЬ В share/icons/НАЗВАНИЕ
subdir= [
'actions',
'animations',
'apps',
'devices',
'emblems',
'emotes',
'mimetypes',
'panel',
'places',
'status'
]
# Extra-dist files НУЖНО ЭТО ФАЙЛЫ КОПИРОВАТЬ В share/icons/НАЗВАНИЕ
extra_dist = [
'COPYING',
'index.theme',
'LICENSE'
]
# этот скрипт нужно выполнить перед установкой, он лежит рядом с папками
meson.add_install_script('configure')
install_subdir('subdir',
install_dir: join_paths(get_option('prefix'), 'share/icons/НАЗВАНИЕ')
)
meson.add_install_script('meson/post_install.py')
Почему не собирается?