diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-04 23:32:10 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-04 23:32:10 +0100 |
commit | 0dd9658970889e691c040608d9f4e2473b17b0e2 (patch) | |
tree | 2d75771c4ef285d0c62c81a1bc25bb3dc322f0c9 | |
parent | cf9955dbc35e8e3bb9ac8febbec76cfecd7e739b (diff) |
Make emoji download and install option, for distro build systems
-rw-r--r-- | meson.build | 4 | ||||
-rw-r--r-- | meson_options.txt | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index dd192bb..c3f8d7a 100644 --- a/meson.build +++ b/meson.build @@ -125,4 +125,6 @@ install_data(files('README.md'), install_dir : qm_resources_path) install_symlink('qm', install_dir : join_paths(prefix, 'bin'), pointing_to: join_paths(prefix, 'bin', meson.project_name())) -meson.add_install_script('meson_post_install.sh')
\ No newline at end of file +if get_option('install_emoji') == true + meson.add_install_script('meson_post_install.sh') +endif diff --git a/meson_options.txt b/meson_options.txt new file mode 100644 index 0000000..7a644f4 --- /dev/null +++ b/meson_options.txt @@ -0,0 +1 @@ +option('install_emoji', type : 'boolean', value : true, description : 'Download and install emoji') |