summary refs log tree commit diff
path: root/pkgs/applications/audio/ebumeter/default.nix
blob: 9ebcbec001d0d3c4dfd261d0dc87183cafc414a5 (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
27
28
29
30
31
32
33
{ lib, stdenv, fetchurl
, libX11, libXft, libclthreads, libclxclient, libjack2, libpng, libsndfile, zita-resampler
}:

stdenv.mkDerivation rec {
  pname = "ebumeter";
  version = "0.4.2";

  src = fetchurl {
    url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
    sha256 = "1wm9j1phmpicrp7jdsvdbc3mghdd92l61yl9qbps0brq2ljjyd5s";
  };

  buildInputs = [
    libX11 libXft libclthreads libclxclient libjack2 libpng libsndfile zita-resampler
  ];

  preConfigure = ''
    cd source
  '';

  makeFlags = [ "PREFIX=$(out)" ];

  enableParallelBuilding = true;

  meta = with lib; {
    description = "Level metering according to the EBU R-128 recommendation";
    homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/index.html";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ orivej ];
    platforms = platforms.linux;
  };
}