Skip to content
Snippets Groups Projects
Commit 4e6e558f authored by Antoine Fontaine's avatar Antoine Fontaine :8ball:
Browse files

Create a data folder and move things to it

parent c4afba9d
Branches
Tags
No related merge requests found
File moved
File moved
File moved
File moved
File moved
File moved
File moved
configure_file(
input: 'ch.gnugen.Moody.desktop',
output: 'ch.gnugen.Moody.desktop',
copy: true,
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
)
install_data('ch.gnugen.Moody.gschema.xml', install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas'))
install_data('ch.gnugen.Moody.appdata.xml', install_dir: join_paths(get_option('datadir'), 'metainfo'))
meson.add_install_script('build_aux/meson_post_install.py')
gnome.compile_schemas(depend_files: 'ch.gnugen.Moody.gresources.xml')
moody_resources = gnome.compile_resources(
'moody-resources',
'ch.gnugen.Moody.gresources.xml',
source_dir : ['ui', 'media'],
c_name: 'hdy',
)
File moved
File moved
File moved
File moved
File moved
File moved
......@@ -4,6 +4,8 @@ project('moody', 'c',
meson_version: '>= 0.47.0',
)
gnome = import('gnome')
root_inc = include_directories('.')
src_inc = include_directories('src')
......@@ -12,6 +14,8 @@ config_h.set_quoted('GETTEXT_PACKAGE', 'moody')
#config_h.set_quoted('CACHE_ROOT', meson.source_root())
config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
subdir('data')
configure_file(
input: 'config.h.in',
output: 'config.h',
......@@ -61,6 +65,8 @@ test_c_args = [
'-Wtype-limits',
'-Wundef',
'-Wunused-function',
#'-fsanitize=address',
#'-fsanitize=undefined',
'-DGDK_DISABLE_DEPRECATED', '-DGTK_DISABLE_DEPRECATED',
]
......@@ -87,8 +93,6 @@ add_project_arguments(
language: 'c',
)
gnome = import('gnome')
summary = [
'',
'------',
......@@ -99,25 +103,6 @@ summary = [
message('\n'.join(summary))
configure_file(
input: 'ch.gnugen.Moody.desktop',
output: 'ch.gnugen.Moody.desktop',
copy: true,
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
)
install_data('ch.gnugen.Moody.gschema.xml', install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas'))
install_data('ch.gnugen.Moody.appdata.xml', install_dir: join_paths(get_option('datadir'), 'metainfo'))
meson.add_install_script('meson_post_install.py')
gnome.compile_schemas(depend_files: 'ch.gnugen.Moody.gresources.xml')
moody_resources = gnome.compile_resources(
'moody-resources',
'ch.gnugen.Moody.gresources.xml',
source_dir : ['ui', 'media'],
c_name: 'hdy',
)
moody_sources = [
moody_resources,
'src/moody.c',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment