Thu, 31 Mar 2022 22:53:18 -0500
Use correct check for host system
Testing Done:
Configured.
Reviewed at https://reviews.imfreedom.org/r/1376/
|
41317
fa45763d9c71
Use correct check for host system
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41107
diff
changeset
|
1 | if host_machine.system() != 'windows' |
|
40556
3fb07a4b34dd
Disable notification-sound on windows
Gary Kramlich <grim@reaperworld.com>
parents:
40464
diff
changeset
|
2 | CANBERRA = dependency('libcanberra', version: '>= 0.30') |
|
40464
190b65759b4c
Add a new plugin outside of the current sound api that uses libcanbbera for new im and chat messages.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | |
|
40556
3fb07a4b34dd
Disable notification-sound on windows
Gary Kramlich <grim@reaperworld.com>
parents:
40464
diff
changeset
|
4 | library('notification-sound', 'notification-sound.c', |
|
41107
1570d8844e9a
Enable structured logging in libpurple
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41066
diff
changeset
|
5 | c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PurplePlugin-NotificationSound"'], |
|
40556
3fb07a4b34dd
Disable notification-sound on windows
Gary Kramlich <grim@reaperworld.com>
parents:
40464
diff
changeset
|
6 | dependencies : [libpurple_dep, glib, CANBERRA], |
|
3fb07a4b34dd
Disable notification-sound on windows
Gary Kramlich <grim@reaperworld.com>
parents:
40464
diff
changeset
|
7 | name_prefix : '', |
|
3fb07a4b34dd
Disable notification-sound on windows
Gary Kramlich <grim@reaperworld.com>
parents:
40464
diff
changeset
|
8 | install : true, install_dir : PURPLE_PLUGINDIR) |
|
41066
00e6bda3ef95
Add a Meson devenv configuration.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41011
diff
changeset
|
9 | |
|
00e6bda3ef95
Add a Meson devenv configuration.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41011
diff
changeset
|
10 | devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir()) |
|
40556
3fb07a4b34dd
Disable notification-sound on windows
Gary Kramlich <grim@reaperworld.com>
parents:
40464
diff
changeset
|
11 | endif |