3
0
Fork 0
forked from mirrors/nixpkgs

fmit: 1.0.14 -> 1.0.15

Fix version number in about box. It turns out that sniffing your
README.txt, at run-time, for a version string, at a specific line
offset, is... fragile?
This commit is contained in:
Tobias Geerinckx-Rice 2016-05-08 17:33:43 +02:00
parent 0adf2b25a1
commit 8d9a25387f
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99

View file

@ -11,20 +11,24 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "fmit-${version}";
version = "1.0.14";
version = "1.0.15";
src = fetchFromGitHub {
sha256 = "1f8raqpqqyr02lnpxxpg69a2if1nbw0za71x62kcp3pms1qc0mbh";
sha256 = "0bakqwgl7xx6khs8993w10a8kvlbr7sbqdaljbsmy8y8mjd6inqb";
rev = "v${version}";
repo = "fmit";
owner = "gillesdegottex";
};
buildInputs = [ fftw freeglut mesa_glu qtbase qtmultimedia qmakeHook ]
buildInputs = [ fftw qtbase qtmultimedia qmakeHook ]
++ optionals alsaSupport [ alsaLib ]
++ optionals jackSupport [ libjack2 ]
++ optionals portaudioSupport [ portaudio ];
postPatch = ''
substituteInPlace fmit.pro --replace '$$FMITVERSIONGITPRO' '${version}'
'';
preConfigure = ''
qmakeFlags="$qmakeFlags \
CONFIG+=${optionalString alsaSupport "acs_alsa"} \