ahorn/app-editors/chr/files/chr-9999-meson-install.patch

21 lines
738 B
Diff
Raw Normal View History

2023-02-28 14:00:14 +00:00
diff --git a/src/meson.build b/src/meson.build
2023-03-29 17:28:27 +00:00
index 3bb30c1..83e1651 100644
2023-02-28 14:00:14 +00:00
--- a/src/meson.build
+++ b/src/meson.build
2023-03-29 17:28:27 +00:00
@@ -90,11 +90,13 @@ editor_lib = static_library('editor', editor_sources,
2023-02-28 14:00:14 +00:00
include_directories: include_directories('.'),
dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep])
-executable('editor', main,
+executable('chr', main,
2023-03-29 17:28:27 +00:00
vcs_dep,
2023-02-28 14:00:14 +00:00
include_directories: include_directories('.'),
link_with: editor_lib,
- dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep])
+ dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep],
+ install: true,
+ install_dir: '/usr/bin/')
executable('tests', tests,
qt5.preprocess(moc_headers: tests_headers, moc_sources: tests,