Disable notification sound on Haiku as it doesn't have canberra

Wed, 03 Apr 2024 16:32:56 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Wed, 03 Apr 2024 16:32:56 -0500
changeset 42655
db971edd4b59
parent 42654
8019945e1c21
child 42656
df9aafbae930

Disable notification sound on Haiku as it doesn't have canberra

Testing Done:
Build on linux and haiku without issue.

Reviewed at https://reviews.imfreedom.org/r/3070/

libpurple/plugins/notification-sound/meson.build file | annotate | diff | comparison | revisions
--- a/libpurple/plugins/notification-sound/meson.build	Mon Mar 25 22:56:20 2024 -0500
+++ b/libpurple/plugins/notification-sound/meson.build	Wed Apr 03 16:32:56 2024 -0500
@@ -1,4 +1,4 @@
-if host_machine.system() != 'windows'
+if host_machine.system() not in ['haiku', 'windows']
 	CANBERRA = dependency('libcanberra', version: '>= 0.30')
 
 	library('notification-sound', 'notification-sound.c',

mercurial