dfasma: 1.1.2 -> 1.1.3
This commit is contained in:
parent
10f2a6b321
commit
0b8611e4c2
@ -1,12 +1,28 @@
|
|||||||
{ stdenv, fetchFromGitHub, fftw, libsndfile, qt5 }:
|
{ stdenv, fetchFromGitHub, fftw, libsndfile, qt5 }:
|
||||||
|
|
||||||
let version = "1.1.2"; in
|
let
|
||||||
stdenv.mkDerivation {
|
|
||||||
|
version = "1.1.3";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0rprnyvvd6yziwl94d3khd7rq95mvsmwag3x4ah0a5iar9w17r0c";
|
||||||
|
|
||||||
|
reaperFork = {
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
sha256 = "07m2wf2gqyya95b65gawrnr4pvc9jyzmg6h8sinzgxlpskz93wwc";
|
||||||
|
rev = "39053e8896eedd7b3e8a9e9a9ffd80f1fc6ceb16";
|
||||||
|
repo = "reaper";
|
||||||
|
owner = "gillesdegottex";
|
||||||
|
};
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
in stdenv.mkDerivation {
|
||||||
name = "dfasma-${version}";
|
name = "dfasma-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
sha256 = "0xqam5hm4kvfksdlyz1rviijv386fk3px4lhz6glfsimbcvvzl0r";
|
inherit sha256 rev;
|
||||||
rev = "v${version}";
|
|
||||||
repo = "dfasma";
|
repo = "dfasma";
|
||||||
owner = "gillesdegottex";
|
owner = "gillesdegottex";
|
||||||
};
|
};
|
||||||
@ -23,25 +39,22 @@ stdenv.mkDerivation {
|
|||||||
amplitude, this software does not aim to be an audio editor.
|
amplitude, this software does not aim to be an audio editor.
|
||||||
'';
|
'';
|
||||||
homepage = http://gillesdegottex.github.io/dfasma/;
|
homepage = http://gillesdegottex.github.io/dfasma/;
|
||||||
license = licenses.gpl3Plus;
|
license = [ licenses.gpl3Plus reaperFork.meta.license ];
|
||||||
platforms = with platforms; linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ nckx ];
|
maintainers = with maintainers; [ nckx ];
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ fftw libsndfile qt5.base qt5.multimedia ];
|
buildInputs = [ fftw libsndfile qt5.base qt5.multimedia ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace dfasma.pro --replace '$$DFASMAVERSIONGITPRO' '${version}'
|
substituteInPlace dfasma.pro \
|
||||||
|
--replace '$$DFASMAVERSIONGITPRO' '${version}'
|
||||||
|
cp -Rv "${reaperFork.src}"/* external/REAPER
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
qmake DESTDIR=$out/bin dfasma.pro
|
qmake PREFIX=$out PREFIXSHORTCUT=$out dfasma.pro
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
install -Dm644 distrib/dfasma.desktop $out/share/applications/dfasma.desktop
|
|
||||||
install -Dm644 icons/dfasma.png $out/share/pixmaps/dfasma.png
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user