reaper: fix desktop integration

This commit is contained in:
ilian 2021-03-31 12:05:14 +02:00
parent 05065605f6
commit bafeb20346

View File

@ -8,6 +8,8 @@
, lame
, ffmpeg
, vlc
, xdg-utils
, which
, jackSupport ? true, libjack2
, pulseaudioSupport ? config.pulseaudio or true, libpulseaudio
@ -22,7 +24,12 @@ stdenv.mkDerivation rec {
hash = "sha256-38HSjR+rQWPzMOjq1abLn/MP3DCz5YzBg0v2kBsQmR4=";
};
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
nativeBuildInputs = [
autoPatchelfHook
makeWrapper
xdg-utils # Required for desktop integration
which
];
buildInputs = [
alsaLib
@ -41,7 +48,7 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
XDG_DATA_HOME="$out/share" ./install-reaper.sh \
HOME="$out/share" XDG_DATA_HOME="$out/share" ./install-reaper.sh \
--install $out/opt \
--integrate-user-desktop
rm $out/opt/REAPER/uninstall-reaper.sh