setbfree: build GUI
This commit is contained in:
parent
4a6f9a7bd6
commit
f398b52c5b
1 changed files with 12 additions and 3 deletions
|
@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
postPatch = ''
|
||||
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
|
||||
substituteInPlace common.mak \
|
||||
--replace /usr/local "$out" \
|
||||
--replace /usr/share/fonts/truetype/ttf-bitstream-vera "${ttf_bitstream_vera}/share/fonts/truetype"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
@ -25,6 +25,15 @@ stdenv.mkDerivation rec {
|
|||
ttf_bitstream_vera
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
installCheckPhase = ''(
|
||||
set -x
|
||||
test -e $out/bin/setBfreeUI
|
||||
)'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A DSP tonewheel organ emulator";
|
||||
homepage = "https://setbfree.org";
|
||||
|
|
Loading…
Reference in a new issue