2015-06-27 09:17:52 +02:00
|
|
|
{ stdenv, fetchurl, alsaLib, freetype, ftgl, libjack2, libX11, lv2
|
2014-05-11 12:50:54 +02:00
|
|
|
, mesa, pkgconfig, ttf_bitstream_vera
|
|
|
|
}:
|
2014-05-05 22:57:48 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "setbfree-${version}";
|
2015-06-18 14:22:17 +02:00
|
|
|
version = "0.8.0";
|
2014-05-05 22:57:48 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/pantherb/setBfree/archive/v${version}.tar.gz";
|
2015-06-18 14:22:17 +02:00
|
|
|
sha256 = "1lfylai4gyk512dknj16w2aq9ka8hvqca46nmq5b4rfjmi6dkxf6";
|
2014-05-05 22:57:48 +02:00
|
|
|
};
|
|
|
|
|
2014-05-11 12:50:54 +02: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 22:57:48 +02:00
|
|
|
|
2017-09-14 21:24:37 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2014-05-11 12:50:54 +02:00
|
|
|
buildInputs = [
|
2017-09-14 21:24:37 +02:00
|
|
|
alsaLib freetype ftgl libjack2 libX11 lv2 mesa
|
2014-05-11 12:50:54 +02:00
|
|
|
ttf_bitstream_vera
|
|
|
|
];
|
2014-05-05 22:57:48 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A DSP tonewheel organ emulator";
|
|
|
|
homepage = http://setbfree.org;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|