File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,7 +114,8 @@ dependencies = [
114114if windows_build
115115 dependencies += dependency (' gio-windows-2.0' )
116116 ico_src = import (' windows' ).compile_resources(' windows/icons/ico.rc' )
117-
117+ elif macos_build
118+ dependencies += dependency (' gio-unix-2.0' )
118119else
119120 dependencies += dependency (' gio-unix-2.0' )
120121 dependencies += dependency (' libportal' )
@@ -131,5 +132,5 @@ subdir('src')
131132gnome.post_install(
132133 glib_compile_schemas : true ,
133134 gtk_update_icon_cache : true ,
134- update_desktop_database : true
135+ update_desktop_database : not macos_build
135136 )
Original file line number Diff line number Diff line change 101101 /* ***************************************************/
102102 /* Autostart Request */
103103 /* ***************************************************/
104- #if ! WINDOWS
104+ #if ! WINDOWS && ! MACOS
105105 var both_buttons = new Gtk .Box (Gtk . Orientation . HORIZONTAL , 5 ) {
106106 halign = Gtk . Align . FILL
107107 };
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ sources = files (
3535
3636if windows_build
3737 sources += ico_src
38+ elif macos_build
39+ # noop
3840else
3941 sources += files (' Utils' / ' Libportal.vala' )
4042endif
You can’t perform that action at this time.
0 commit comments