-
Notifications
You must be signed in to change notification settings - Fork 727
/
patch-app_meson.build
26 lines (22 loc) · 1.05 KB
/
patch-app_meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- app/meson.build.orig 2023-11-25 20:40:27 UTC
+++ app/meson.build
@@ -56,8 +56,8 @@ conf = configuration_data()
conf = configuration_data()
-conf.set('_POSIX_C_SOURCE', '200809L')
-conf.set('_XOPEN_SOURCE', '700')
+# conf.set('_POSIX_C_SOURCE', '200809L')
+# conf.set('_XOPEN_SOURCE', '700')
conf.set('_GNU_SOURCE', true)
if host_machine.system() == 'windows'
@@ -185,10 +185,10 @@ install_data('data/bash-completion/scrcpy',
install_data('data/zsh-completion/_scrcpy',
install_dir: join_paths(datadir, 'zsh/site-functions'))
install_data('data/bash-completion/scrcpy',
- install_dir: join_paths(datadir, 'bash-completion/completions'))
+ install_dir: 'etc/bash_completion.d')
# Desktop entry file for application launchers
-if host_machine.system() == 'linux'
+if host_machine.system() == 'linux' or host_machine.system() == 'freebsd'
# Install a launcher (ex: /usr/local/share/applications/scrcpy.desktop)
install_data('data/scrcpy.desktop',
install_dir: join_paths(datadir, 'applications'))