[gnome-characters/wip/jtojnar/post-install] build: Use install_symlink() function
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters/wip/jtojnar/post-install] build: Use install_symlink() function
- Date: Thu, 8 Sep 2022 12:55:45 +0000 (UTC)
commit 43f57792bcbdabb724335d8623564ea9453c5e1b
Author: Jan Tojnar <jtojnar gmail com>
Date: Thu Sep 8 14:54:07 2022 +0200
build: Use install_symlink() function
This removes explicit Python dependency.
Raises required Meson version to 0.61.0.
meson.build | 9 +--------
meson_post_install.py | 17 -----------------
src/meson.build | 5 +++++
3 files changed, 6 insertions(+), 25 deletions(-)
---
diff --git a/meson.build b/meson.build
index 9f8a163..62c1d72 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
version: '43.rc',
license: ['BSD-3-Clause', 'GPL-2.0-or-later'],
default_options: 'buildtype=debugoptimized',
- meson_version: '>= 0.59.0'
+ meson_version: '>= 0.61.0'
)
if get_option('profile') == 'development'
@@ -81,13 +81,6 @@ configure_file(
configuration: configuration_data()
)
-meson.add_install_script(
- 'meson_post_install.py',
- characters_bindir,
- characters_pkgdatadir,
- application_id
-)
-
gnome.post_install(
gtk_update_icon_cache: true,
glib_compile_schemas: true,
diff --git a/src/meson.build b/src/meson.build
index d9cb676..9591b28 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -13,6 +13,11 @@ configure_file(
install_dir: characters_pkgdatadir
)
+install_symlink(
+ 'gnome-characters',
+ install_dir: characters_bindir,
+ pointing_to: characters_pkgdatadir / application_id,
+)
resource_data = files(
'characterDialog.js',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]