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