2016-05-01 17:57:16 +02:00
|
|
|
{
|
2017-09-02 13:02:02 +02:00
|
|
|
alsaLib,
|
2016-05-01 17:57:16 +02:00
|
|
|
boost,
|
|
|
|
cln,
|
|
|
|
cmake,
|
2017-09-02 13:02:02 +02:00
|
|
|
fetchFromGitHub,
|
2016-07-07 11:30:36 +02:00
|
|
|
gcc,
|
2016-05-01 17:57:16 +02:00
|
|
|
ginac,
|
|
|
|
jamomacore,
|
2017-02-25 19:25:44 +01:00
|
|
|
kdnssd,
|
2016-05-01 17:57:16 +02:00
|
|
|
libsndfile,
|
|
|
|
ninja,
|
|
|
|
portaudio,
|
2017-09-02 13:02:02 +02:00
|
|
|
portmidi,
|
2016-05-01 17:57:16 +02:00
|
|
|
qtbase,
|
|
|
|
qtdeclarative,
|
|
|
|
qtimageformats,
|
2017-09-02 13:02:02 +02:00
|
|
|
qtmultimedia,
|
|
|
|
qtquickcontrols2,
|
|
|
|
qtserialport,
|
2016-05-01 17:57:16 +02:00
|
|
|
qtsvg,
|
|
|
|
qttools,
|
|
|
|
qtwebsockets,
|
|
|
|
rtaudio,
|
|
|
|
stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-09-02 13:02:02 +02:00
|
|
|
version = "1.0.0-b31";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "i-score";
|
2016-05-01 17:57:16 +02:00
|
|
|
|
2017-09-02 13:02:02 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OSSIA";
|
|
|
|
repo = "i-score";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0g7s6n11w3wflrv5i2047dxx56lryms7xj0mznnlk5bii7g8dxzb";
|
|
|
|
fetchSubmodules = true;
|
2016-05-01 17:57:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2017-09-02 13:02:02 +02:00
|
|
|
alsaLib
|
2016-05-01 17:57:16 +02:00
|
|
|
boost
|
|
|
|
cln
|
|
|
|
cmake
|
|
|
|
ginac
|
2016-07-07 11:30:36 +02:00
|
|
|
gcc
|
2016-05-01 17:57:16 +02:00
|
|
|
jamomacore
|
2017-02-25 19:25:44 +01:00
|
|
|
kdnssd
|
2016-05-01 17:57:16 +02:00
|
|
|
libsndfile
|
|
|
|
ninja
|
|
|
|
portaudio
|
2017-09-02 13:02:02 +02:00
|
|
|
portmidi
|
2016-05-01 17:57:16 +02:00
|
|
|
qtbase
|
|
|
|
qtdeclarative
|
|
|
|
qtimageformats
|
2017-09-02 13:02:02 +02:00
|
|
|
qtmultimedia
|
|
|
|
qtquickcontrols2
|
|
|
|
qtserialport
|
2016-05-01 17:57:16 +02:00
|
|
|
qtsvg
|
|
|
|
qttools
|
|
|
|
qtwebsockets
|
|
|
|
rtaudio
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-GNinja"
|
|
|
|
"-DISCORE_CONFIGURATION=static-release"
|
|
|
|
"-DISCORE_ENABLE_LTO=OFF"
|
|
|
|
"-DISCORE_BUILD_FOR_PACKAGE_MANAGER=True"
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
2019-11-05 20:21:42 +01:00
|
|
|
export CMAKE_PREFIX_PATH="''${CMAKE_PREFIX_PATH-}:$(echo "${jamomacore}/jamoma/share/cmake/Jamoma")"
|
2016-05-01 17:57:16 +02:00
|
|
|
'';
|
|
|
|
|
2017-09-02 13:02:02 +02:00
|
|
|
postInstall = ''rm $out/bin/i-score.sh'';
|
2016-05-01 17:57:16 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An interactive sequencer for the intermedia arts";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://i-score.org/";
|
2016-05-01 17:57:16 +02:00
|
|
|
license = stdenv.lib.licenses.cecill20;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|