anchor.diff:      ${libdir}/tmpfiles.d \
       ${systemd_user_unitdir} \
   "
  -RDEPENDS_${PN} = "udisks2"
   
   FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/*"
   FILES_${PN}-dev += "${libdir}/gio/modules/*.la"
  
positive.code: PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia"
  
  do_install_append() {
      # Fix up permissions on polkit rules.d to work with rpm4 constraints
      chmod 700 ${D}/${datadir}/polkit-1/rules.d
      chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
  
      # After rebuilds (not from scracth) it can happen that the executables in
      # libexec ar missing executable permission flag. Not sure but it came up
  
negative.code: 
  RRECOMMENDS_gvfsd-ftp += "openssh-sftp openssh-ssh"
  
  PACKAGECONFIG ?= "libgphoto2 \
                    ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES','polkit','udisks2','',d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES','polkit','admin','',d)} \
                   "
  
  PACKAGECONFIG[udisks2] = "-Dudisks2=true, -Dudisks2=false, udisks2, udisks2"
  PACKAGECONFIG[admin] = "-Dadmin=true, -Dadmin=false, libcap polkit"
  PACKAGECONFIG[afc] = "-Dafc=true, -Dafc=false, libimobiledevice libplist"
  PACKAGECONFIG[archive] = "-Darchive=true, -Darchive=false, libarchive"
  PACKAGECONFIG[dnssd] = "-Ddnssd=true, -Ddnssd=false, avahi"
  