Merge pull request #58952 from magnetophon/meters_lv2
meters.lv2: 0.8.1 -> 0.9.10
This commit is contained in:
commit
feab16ad26
|
@ -1,24 +1,24 @@
|
||||||
{ stdenv, fetchurl, pkgconfig
|
{ stdenv, fetchurl, pkgconfig
|
||||||
, lv2, libGLU_combined, gtk2, cairo, pango, fftw }:
|
, lv2, libGLU_combined, gtk2, cairo, pango, fftwFloat, libjack2 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.8.1";
|
version = "0.9.10";
|
||||||
name = "meters.lv2-${version}";
|
name = "meters.lv2-${version}";
|
||||||
|
|
||||||
# robtk submodule is pegged to this version
|
# robtk submodule is pegged to this version
|
||||||
robtkVersion = "0.3.0";
|
robtkVersion = "0.6.2";
|
||||||
robtkName = "robtk-${robtkVersion}";
|
robtkName = "robtk-${robtkVersion}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
name = "${name}.tar.gz";
|
name = "${name}.tar.gz";
|
||||||
url = "https://github.com/x42/meters.lv2/archive/v${version}.tar.gz";
|
url = "https://github.com/x42/meters.lv2/archive/v${version}.tar.gz";
|
||||||
sha256 = "142dg0j34mv5b0agajj2x1n9kgsmkfh08n1cjzk0j8n4xk2wb6ri";
|
sha256 = "0yfyn7j8g50w671b1z7ph4ppjx8ddj5c6nx53syp5y5mfr1b94nx";
|
||||||
};
|
};
|
||||||
|
|
||||||
robtkSrc = fetchurl {
|
robtkSrc = fetchurl {
|
||||||
name = "${robtkName}.tar.gz";
|
name = "${robtkName}.tar.gz";
|
||||||
url = "https://github.com/x42/robtk/archive/v${robtkVersion}.tar.gz";
|
url = "https://github.com/x42/robtk/archive/v${robtkVersion}.tar.gz";
|
||||||
sha256 = "1ny89i2sgga56k7fxskp9y8sb7pfhp6wgw5mni842p19z6q7h8rq";
|
sha256 = "1v79xys1k2923wpivdjd44vand6c4agwvnrqi4c8kdv9r07b559v";
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -26,15 +26,13 @@ stdenv.mkDerivation {
|
||||||
inherit name;
|
inherit name;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ lv2 libGLU_combined gtk2 cairo pango fftw ];
|
buildInputs = [ lv2 libGLU_combined gtk2 cairo pango fftwFloat libjack2 ];
|
||||||
|
|
||||||
srcs = [ src robtkSrc ];
|
srcs = [ src robtkSrc ];
|
||||||
sourceRoot = name;
|
sourceRoot = name;
|
||||||
|
|
||||||
postUnpack = "mv ${robtkName}/* ${name}/robtk"; # */
|
postUnpack = "mv ${robtkName}/* ${name}/robtk"; # */
|
||||||
|
|
||||||
postPatch = "sed -i 's/fftw3f/fftw3/' Makefile";
|
|
||||||
|
|
||||||
preConfigure = "makeFlagsArray=( PREFIX=$out )";
|
preConfigure = "makeFlagsArray=( PREFIX=$out )";
|
||||||
meter_VERSION = version;
|
meter_VERSION = version;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue