summary refs log tree commit diff
path: root/pkgs/applications/audio/meterbridge/default.nix
blob: a825eaa4e38cd5622059371bfca3cf7ee5feb26f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, stdenv, fetchurl, pkg-config, SDL, SDL_image, libjack2
}:

stdenv.mkDerivation rec {
  version = "0.9.3";
  pname = "meterbridge";

  src = fetchurl {
    url = "http://plugin.org.uk/meterbridge/${pname}-${version}.tar.gz";
    sha256 = "0s7n3czfpil94vsd7iblv4xrck9c7zvsz4r3yfbkqcv85pjz1viz";
  };

  patches = [ ./buf_rect.patch ./fix_build_with_gcc-5.patch];

  buildInputs =
    [ pkg-config SDL SDL_image libjack2
    ];

  meta = with lib; {
    description = "Various meters (VU, PPM, DPM, JF, SCO) for Jack Audio Connection Kit";
    homepage = "http://plugin.org.uk/meterbridge/";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = [ maintainers.nico202 ];
  };
}