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