3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/setbfree/default.nix

34 lines
926 B
Nix
Raw Normal View History

{ stdenv, fetchurl, alsaLib, freetype, ftgl, libjack2, libX11, lv2
2014-05-11 11:50:54 +01:00
, mesa, pkgconfig, ttf_bitstream_vera
}:
stdenv.mkDerivation rec {
name = "setbfree-${version}";
2018-01-05 22:09:50 +00:00
version = "0.8.5";
src = fetchurl {
url = "https://github.com/pantherb/setBfree/archive/v${version}.tar.gz";
2018-01-05 22:09:50 +00:00
sha256 = "0qfccny0hh9lq54272mzmxvfz2jmzcgigjkjwn6v9h6n00gi5bw4";
};
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
'';
nativeBuildInputs = [ pkgconfig ];
2014-05-11 11:50:54 +01:00
buildInputs = [
alsaLib freetype ftgl libjack2 libX11 lv2 mesa
2014-05-11 11:50:54 +01:00
ttf_bitstream_vera
];
meta = with stdenv.lib; {
description = "A DSP tonewheel organ emulator";
homepage = http://setbfree.org;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.goibhniu ];
};
}