diff --git a/SparkleShare/Linux/meson.build b/SparkleShare/Linux/meson.build index 91e380ae..54fcd4bd 100644 --- a/SparkleShare/Linux/meson.build +++ b/SparkleShare/Linux/meson.build @@ -40,15 +40,14 @@ gio = dependency('gio-sharp-3.0') glib = dependency('glib-sharp-3.0') webkit = dependency('webkit2-sharp-4.0') notify = dependency('notify-sharp-3.0') +appindicator = dependency('appindicator3-sharp-0.1', required: get_option('ubuntu')) args = '-r:Mono.Posix' -if get_option('ubuntu') +if appindicator.found() args = [args, '-define:HAVE_APP_INDICATOR'] endif -appindicator = dependency('appindicator3-sharp-0.1', required: get_option('ubuntu')) - sparkleshare = executable('SparkleShare', dependencies: [gtk, gdk, gio, glib, webkit, notify, appindicator], link_with: [sparkles, sparkles_git],