aeolus: use aeolus-stops
Without them it does not play.
This commit is contained in:
parent
f3fc0f14f9
commit
731aeffaf7
@ -1,5 +1,5 @@
|
|||||||
{ lib, stdenv, fetchurl, libclthreads, zita-alsa-pcmi, alsa-lib, libjack2
|
{ lib, stdenv, fetchurl, libclthreads, zita-alsa-pcmi, alsa-lib, libjack2
|
||||||
, libclxclient, libX11, libXft, readline
|
, libclxclient, libX11, libXft, readline, aeolus-stops
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -16,17 +16,29 @@ stdenv.mkDerivation rec {
|
|||||||
libX11 libXft readline
|
libX11 libXft readline
|
||||||
];
|
];
|
||||||
|
|
||||||
patchPhase = ''sed "s@ldconfig.*@@" -i source/Makefile'';
|
postPatch = ''
|
||||||
|
sed -i source/Makefile -e /ldconfig/d
|
||||||
|
substituteInPlace source/main.cc --replace /etc/ "$out/etc/"
|
||||||
|
'';
|
||||||
|
|
||||||
preBuild = "cd source";
|
preBuild = "cd source";
|
||||||
|
|
||||||
makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
|
makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
|
||||||
|
|
||||||
meta = {
|
postInstall = let cfg = ''
|
||||||
|
# Aeolus system wide default options
|
||||||
|
# Ignored if ~/.aeolusrc with local options exists
|
||||||
|
-u -S ${aeolus-stops}/${aeolus-stops.subdir}
|
||||||
|
''; in ''
|
||||||
|
mkdir -p $out/etc
|
||||||
|
echo -n "${cfg}" > $out/etc/aeolus.conf
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Synthetized (not sampled) pipe organ emulator";
|
description = "Synthetized (not sampled) pipe organ emulator";
|
||||||
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html";
|
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html";
|
||||||
license = lib.licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
platforms = lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ lib.maintainers.nico202 ];
|
maintainers = with maintainers; [ nico202 orivej ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user