2014-07-31 11:47:17 +01:00
|
|
|
{ stdenv, fetchurl, alsaLib, freetype, ftgl, jack2, libX11, lv2
|
2014-05-11 11:50:54 +01:00
|
|
|
, mesa, pkgconfig, ttf_bitstream_vera
|
|
|
|
}:
|
2014-05-05 21:57:48 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "setbfree-${version}";
|
|
|
|
version = "0.7.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/pantherb/setBfree/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "1chlmgwricc6l4kyg35vc9v8f1n8psr28iihn4a9q2prj1ihqcbc";
|
|
|
|
};
|
|
|
|
|
2014-05-11 11:50:54 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed 's#/usr/local#$(out)#g' -i common.mak
|
|
|
|
sed 's#/usr/share/fonts/truetype/ttf-bitstream-vera#${ttf_bitstream_vera}/share/fonts/truetype#g' \
|
|
|
|
-i b_synth/Makefile
|
|
|
|
'';
|
2014-05-05 21:57:48 +01:00
|
|
|
|
2014-05-11 11:50:54 +01:00
|
|
|
buildInputs = [
|
2014-07-31 11:47:17 +01:00
|
|
|
alsaLib freetype ftgl jack2 libX11 lv2 mesa pkgconfig
|
2014-05-11 11:50:54 +01:00
|
|
|
ttf_bitstream_vera
|
|
|
|
];
|
2014-05-05 21:57:48 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A DSP tonewheel organ emulator";
|
|
|
|
homepage = http://setbfree.org;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|