Commit 465759d4 authored by Keenan Weaver's avatar Keenan Weaver Committed by Peter Hoeg
Browse files

fooyin: fix build, add libebur128 for ReplayGain

parent b823d772
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -10,12 +10,14 @@
  kdsingleapplication,
  pipewire,
  taglib,
  libebur128,
  libvgm,
  libsndfile,
  libarchive,
  libopenmpt,
  game-music-emu,
  SDL2,
  fetchpatch,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -42,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
    pipewire
    SDL2
    # input plugins
    libebur128
    libvgm
    libsndfile
    libarchive
@@ -63,6 +66,15 @@ stdenv.mkDerivation (finalAttrs: {
    (lib.cmakeBool "INSTALL_FHS" true)
  ];

  # Remove after next release
  patches = [
    (fetchpatch {
      name = "qbrush.patch";
      url = "https://github.com/fooyin/fooyin/commit/e44e08abb33f01fe85cc896170c55dbf732ffcc9.patch";
      hash = "sha256-soDj/SFctxxsnkePv4dZgyDHYD2eshlEziILOZC4ddM=";
    })
  ];

  env.LANG = "C.UTF-8";

  meta = {