anchor.diff:      "-Dv4l2=disabled" # Linux-only
       "-Dximagesrc=disabled" # Linux-only
       "-Dpulse=disabled" # TODO check if we can keep this enabled
  -  ] ++ optionals (!(stdenv.isLinux && stdenv.hostPlatform.isAarch64)) [
  -    "-Drpicamsrc=disabled" # only works on Linux aarch64, see https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/blob/428c9b60532917c0ac49c9d48b15bdcd00a1370b/sys/rpicamsrc/meson.build#L10
  +  ] ++ optionals (!raspiCameraSupport) [
  +    "-Drpicamsrc=disabled"
     ];
   
     postPatch = ''
  
positive.code:     xorg.libXfixes
      xorg.libXdamage
      wavpack
    ] ++ optionals gtkSupport [
      # for gtksink
      gtk3
  
negative.code: , mpg123
  , twolame
  , gtkSupport ? false, gtk3 ? null
  , raspiCameraSupport ? false, libraspberrypi ? null
  , enableJack ? true, libjack2
  , libXdamage
  , libXext
  