anchor.diff:  # rt2rtng
   , python2
   # Testing
  -, gmock
  +, gtest
   # Fixup
   , wrapGAppsHook
   , makeWrapper
  
positive.code:     libxdg_basedir
      lsb-release
      wxGTK
    ] ++ stdenv.lib.optional doCheck gmock
      ++ gstInputs
      ++ pythonInputs;
  
    prePatch = ''
      for x in debian/CMakeLists.txt include/radiotray-ng/common.hpp data/*.desktop; do
        substituteInPlace $x --replace /usr $out
      done
  
negative.code:       --replace radiotray-ng-notification radiotray-ng-on
    '';
  
    cmakeFlags = [
      "-DBUILD_TESTS=${if doCheck then "ON" else "OFF"}"
    ];
  
    enableParallelBuilding = true;
  
    checkInputs = [ gtest ];
    checkPhase = "ctest";
    # doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
    doCheck = false; # fails to pick up supplied gtest, tries to download it instead
  
    preFixup = ''
      gappsWrapperArgs+=(--suffix PATH : ${stdenv.lib.makeBinPath [ dbus ]})
  