opnsense-ports/comms/scrcpy/files/patch-app_meson.build
Franco Fichtner 2ab4e46641 */*: sync with upstream
Taken from: FreeBSD
2024-09-24 12:11:30 +02:00

26 lines
1.1 KiB
Text

--- app/meson.build.orig 2024-09-15 19:18:15 UTC
+++ app/meson.build
@@ -64,8 +64,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'
@@ -194,10 +194,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'))