2015-06-27 08:17:52 +01:00
|
|
|
{ stdenv, fetchurl, alsaLib, freetype, ftgl, libjack2, libX11, lv2
|
2018-02-24 13:12:44 +00:00
|
|
|
, libGLU_combined, pkgconfig, ttf_bitstream_vera
|
2014-05-11 11:50:54 +01:00
|
|
|
}:
|
2014-05-05 21:57:48 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "setbfree";
|
2018-08-24 04:16:06 +01:00
|
|
|
version = "0.8.8";
|
2014-05-05 21:57:48 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/pantherb/setBfree/archive/v${version}.tar.gz";
|
2018-08-24 04:16:06 +01:00
|
|
|
sha256 = "1ldxwds99azingkjh246kz7x3j7307jhr0fls5rjjbcfchpg7v99";
|
2014-05-05 21:57:48 +01:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2014-05-11 11:50:54 +01:00
|
|
|
buildInputs = [
|
2018-02-24 13:12:44 +00:00
|
|
|
alsaLib freetype ftgl libjack2 libX11 lv2 libGLU_combined
|
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 ];
|
|
|
|
};
|
|
|
|
}
|