2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, SDL, SDL_image, libjack2
|
2015-10-10 20:59:15 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-27 14:05:14 +00:00
|
|
|
version = "0.9.3";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "meterbridge";
|
2015-10-10 20:59:15 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "http://plugin.org.uk/meterbridge/${pname}-${version}.tar.gz";
|
2018-02-27 14:05:14 +00:00
|
|
|
sha256 = "0s7n3czfpil94vsd7iblv4xrck9c7zvsz4r3yfbkqcv85pjz1viz";
|
2015-10-10 20:59:15 +00:00
|
|
|
};
|
|
|
|
|
2016-03-28 18:50:47 +00:00
|
|
|
patches = [ ./buf_rect.patch ./fix_build_with_gcc-5.patch];
|
2015-10-10 20:59:15 +00:00
|
|
|
|
2022-09-25 02:49:25 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-10-10 20:59:15 +00:00
|
|
|
buildInputs =
|
2022-09-25 02:49:25 +00:00
|
|
|
[ SDL SDL_image libjack2
|
2015-10-10 20:59:15 +00:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-10-10 20:59:15 +00:00
|
|
|
description = "Various meters (VU, PPM, DPM, JF, SCO) for Jack Audio Connection Kit";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://plugin.org.uk/meterbridge/";
|
2015-10-10 20:59:15 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.nico202 ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "meterbridge";
|
2015-10-10 20:59:15 +00:00
|
|
|
};
|
|
|
|
}
|