Unverified Commit 2105c2be authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #228027 from Waelwindows/tauon-darwin

tauon: Add Darwin support
parents 08e857d9 b9ba5d3e
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -57,6 +57,8 @@ stdenv.mkDerivation rec {

    patchShebangs compile-phazor.sh

    substituteInPlace compile-phazor.sh --replace 'gcc' '${stdenv.cc.targetPrefix}cc'

    substituteInPlace extra/tauonmb.desktop --replace 'Exec=/opt/tauon-music-box/tauonmb.sh' 'Exec=${placeholder "out"}/bin/tauon'
  '';

@@ -95,7 +97,6 @@ stdenv.mkDerivation rec {
    natsort
    pillow
    plexapi
    pulsectl
    pycairo
    pychromecast
    pylast
@@ -105,7 +106,8 @@ stdenv.mkDerivation rec {
    requests
    send2trash
    setproctitle
  ] ++ lib.optional withDiscordRPC pypresence;
  ] ++ lib.optional withDiscordRPC pypresence
    ++ lib.optional stdenv.isLinux pulsectl;

  makeWrapperArgs = [
    "--prefix PATH : ${lib.makeBinPath [ffmpeg]}"
@@ -134,6 +136,6 @@ stdenv.mkDerivation rec {
    changelog = "https://github.com/Taiko2k/TauonMusicBox/releases/tag/v${version}";
    license = licenses.gpl3;
    maintainers = with maintainers; [ jansol ];
    platforms = platforms.linux;
    platforms = platforms.linux ++ platforms.darwin;
  };
}