forked from mirrors/nixpkgs
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
|
||||
, libclxclient, libX11, libXft, readline
|
||||
, libclxclient, libX11, libXft, readline, aeolus-stops
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -16,17 +16,29 @@ stdenv.mkDerivation rec {
|
|||
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";
|
||||
|
||||
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";
|
||||
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html";
|
||||
license = lib.licenses.lgpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.nico202 ];
|
||||
license = licenses.lgpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ nico202 orivej ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue