Since 7f2a6f17fc ("xdg-desktop-portal-gtk: Enable all default
portals unconditionally"), building gnome-settings-daemon is necessary
to build xdg-desktop-portal-gtk, but it wasn't possible for systems
that can't use systemd.
I've called the option "withSystemd" as it's the most common name for
this kind of option in Nixpkgs.
A couple of backports are required for it to build. They can be
removed when we update to GNOME 47.
Since 7f2a6f17fc ("xdg-desktop-portal-gtk: Enable all default
portals unconditionally"), building upower is necessary to build
xdg-desktop-portal-gtk, but it wasn't possible for systems that can't
use systemd.
I've called the option "withSystemd" as it's the most common name for
this kind of option in Nixpkgs, and it's consistent with the package's
"withIntrospection" argument (though not "useIMobileDevice").
Since 7f2a6f17fc ("xdg-desktop-portal-gtk: Enable all default
portals unconditionally"), building gnome-desktop is necessary to
build xdg-desktop-portal-gtk, but it wasn't possible for systems that
can't use systemd.
I've called the option "withSystemd" as it's the most common name for
this kind of option in Nixpkgs.
Since 7f2a6f17fc ("xdg-desktop-portal-gtk: Enable all default
portals unconditionally"), building gcr_4 is necessary to build
xdg-desktop-portal-gtk, but it wasn't possible for systems that can't
use systemd.
I've called the option "systemdSupport" for consistency with gcr (3)'s
equivalent option.
Since 7f2a6f17fc ("xdg-desktop-portal-gtk: Enable all default
portals unconditionally"), building colord is necessary to build
xdg-desktop-portal-gtk, but it wasn't possible for systems that can't
use systemd.
I've called the option "enableSystemd" for consistency with the
existing "enableDaemon" option.
As usual in Nixpkgs, the user is responsible for also overriding udev
to a non-systemd implementation if necessary.