2021-06-10 02:57:09 +00:00
|
|
|
{ lib, stdenv, fetchurl, libclthreads, zita-alsa-pcmi, alsa-lib, libjack2
|
2023-03-28 20:57:26 +00:00
|
|
|
, libclxclient, libX11, libXft, readline, aeolus-stops
|
2017-05-23 00:36:59 +00:00
|
|
|
}:
|
2016-01-06 19:36:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "aeolus";
|
2022-07-07 15:03:06 +00:00
|
|
|
version = "0.10.4";
|
2017-05-23 00:36:59 +00:00
|
|
|
|
2016-01-06 19:36:00 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
|
2022-07-07 15:03:06 +00:00
|
|
|
sha256 = "sha256-J9xrd/N4LrvGgi89Yj4ob4ZPUAEchrXJJQ+YVJ29Qhk=";
|
2016-01-06 19:36:00 +00:00
|
|
|
};
|
|
|
|
|
2017-05-23 00:36:59 +00:00
|
|
|
buildInputs = [
|
2021-06-10 02:57:09 +00:00
|
|
|
libclthreads zita-alsa-pcmi alsa-lib libjack2 libclxclient
|
2017-05-23 00:36:59 +00:00
|
|
|
libX11 libXft readline
|
|
|
|
];
|
2016-01-06 19:36:00 +00:00
|
|
|
|
2023-03-28 20:57:26 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -i source/Makefile -e /ldconfig/d
|
|
|
|
substituteInPlace source/main.cc --replace /etc/ "$out/etc/"
|
|
|
|
'';
|
2016-01-06 19:36:00 +00:00
|
|
|
|
|
|
|
preBuild = "cd source";
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
|
2016-01-06 19:36:00 +00:00
|
|
|
|
2023-03-28 20:57:26 +00:00
|
|
|
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; {
|
2016-01-06 19:36:00 +00:00
|
|
|
description = "Synthetized (not sampled) pipe organ emulator";
|
2020-03-29 10:01:55 +00:00
|
|
|
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html";
|
2023-03-28 20:57:26 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ nico202 orivej ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "aeolus";
|
2016-01-06 19:36:00 +00:00
|
|
|
};
|
|
|
|
}
|