mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
Switched Darwin/macOS dependency resolution to require gtk-mac-integration directly, and removed the legacy gtkosxapplication fallback path in src/fe-gtk/meson.build.
Kept existing mac integration wiring behavior intact (HAVE_GTK_MAC still enabled when this dependency is present, now mandatory on Darwin).
This commit is contained in:
@@ -89,15 +89,9 @@ elif host_machine.system() == 'darwin'
|
||||
zoitechat_gtk_sources += 'notifications/notification-osx.m'
|
||||
add_languages('objc')
|
||||
|
||||
gtk_mac_dep = dependency('gtk-mac-integration', required: false)
|
||||
if not gtk_mac_dep.found()
|
||||
gtk_mac_dep = dependency('gtkosxapplication', required: false)
|
||||
endif
|
||||
|
||||
if gtk_mac_dep.found()
|
||||
zoitechat_gtk_deps += gtk_mac_dep
|
||||
zoitechat_gtk_cflags += '-DHAVE_GTK_MAC'
|
||||
endif
|
||||
gtk_mac_dep = dependency('gtk-mac-integration', required: true)
|
||||
zoitechat_gtk_deps += gtk_mac_dep
|
||||
zoitechat_gtk_cflags += '-DHAVE_GTK_MAC'
|
||||
|
||||
else
|
||||
zoitechat_gtk_sources += 'notifications/notification-freedesktop.c'
|
||||
|
||||
Reference in New Issue
Block a user