depends gnupg &&
depends smgl-fhs &&
depends gperf &&
depends usbutils &&
depends PCIIDS &&

if list_find "$UDEV_OPTS" "--enable-extras"; then
  depends pkgconfig &&
  depends glib2     &&
  depends libusb    &&
  optional_depends consolekit '' '' 'seesion/seat support'
fi &&

if [[ "$(get_spell_provider ${SPELL} PCIIDS)" = 'pciutils' ]]; then
  depends -sub NO_ZLIB pciutils
fi &&

optional_depends acl \
                 "--enable-udev_acl" \
                 "--disable-udev_acl" \
                 "for local user acl permissions support" &&

optional_depends gobject-introspection \
                 "--enable-introspection" \
                 "--disable-introspection" \
                 "for GObject introspection support" &&

optional_depends gtk-doc \
                 "--enable-gtk-doc" \
                 "--disable-gtk-doc" \
                 "build and install documentation?" &&

optional_depends libselinux \
                 "--with-selinux" \
                 "--without-selinux" \
                 "for SELinux support" &&

optional_depends SYSTEM-LOGGER \
                 "--enable-logging" \
                 "--disable-logging" \
                 "for logging to syslog"
