forked from mirrors/nixpkgs
parent
5f09248ae8
commit
ebba6571fe
85
pkgs/applications/audio/i-score/default.nix
Normal file
85
pkgs/applications/audio/i-score/default.nix
Normal file
|
@ -0,0 +1,85 @@
|
|||
{
|
||||
boost,
|
||||
cln,
|
||||
cmake,
|
||||
fetchgit,
|
||||
gcc5,
|
||||
ginac,
|
||||
jamomacore,
|
||||
kde5,
|
||||
libsndfile,
|
||||
ninja,
|
||||
portaudio,
|
||||
qtbase,
|
||||
qtdeclarative,
|
||||
qtimageformats,
|
||||
qtsvg,
|
||||
qttools,
|
||||
qtwebsockets,
|
||||
rtaudio,
|
||||
stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.0.0-a67";
|
||||
name = "i-score-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/OSSIA/i-score.git";
|
||||
rev = "ede2453b139346ae46702b5e2643c5488f8c89fb";
|
||||
sha256 = "04li771nj0k8gym7vg6rnawjkp2f6d5m5mby26h0k6ksf7hg7h70";
|
||||
leaveDotGit = true;
|
||||
deepClone = true;
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
cln
|
||||
cmake
|
||||
ginac
|
||||
gcc5
|
||||
jamomacore
|
||||
kde5.kdnssd
|
||||
libsndfile
|
||||
ninja
|
||||
portaudio
|
||||
qtbase
|
||||
qtdeclarative
|
||||
qtimageformats
|
||||
qtsvg
|
||||
qttools
|
||||
qtwebsockets
|
||||
rtaudio
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-GNinja"
|
||||
"-DISCORE_CONFIGURATION=static-release"
|
||||
"-DISCORE_ENABLE_LTO=OFF"
|
||||
"-DISCORE_BUILD_FOR_PACKAGE_MANAGER=True"
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
sed -e '77d' -i CMake/modules/GetGitRevisionDescription.cmake
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
export CMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH:$(echo "${jamomacore}/jamoma/share/cmake/Jamoma")"
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
ninja
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
cmake --build . --target install
|
||||
'';
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
23
pkgs/development/libraries/audio/jamomacore/default.nix
Normal file
23
pkgs/development/libraries/audio/jamomacore/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig, alsaLib, portaudio, portmidi, libsndfile, cmake, libxml2, ninja }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.0-beta.1";
|
||||
name = "JamomaCore-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jamoma";
|
||||
repo = "JamomaCore";
|
||||
rev = "v${version}";
|
||||
sha256 = "1hb9b6qc18rsvzvixgllknn756m6zwcn22c79rdibbyz1bhrcnln";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig alsaLib portaudio portmidi libsndfile cmake libxml2 ninja ];
|
||||
|
||||
meta = {
|
||||
description = "A C++ platform for building dynamic and reflexive systems with an emphasis on audio and media";
|
||||
homepage = https://jamoma.org;
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
28
pkgs/development/libraries/audio/rtaudio/default.nix
Normal file
28
pkgs/development/libraries/audio/rtaudio/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, rtmidi }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "4.1.2";
|
||||
name = "rtaudio-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thestk";
|
||||
repo = "rtaudio";
|
||||
rev = "${version}";
|
||||
sha256 = "09j84l9l3q0g238z5k89rm8hgk0i1ir8917an7amq474nwjp80pq";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf automake libtool libjack2 alsaLib rtmidi ];
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh --no-configure
|
||||
./configure
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A set of C++ classes that provide a cross platform API for realtime audio input/output";
|
||||
homepage = http://www.music.mcgill.ca/~gary/rtaudio/;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
28
pkgs/development/libraries/audio/rtmidi/default.nix
Normal file
28
pkgs/development/libraries/audio/rtmidi/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.1.1";
|
||||
name = "rtmidi-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thestk";
|
||||
repo = "rtmidi";
|
||||
rev = "${version}";
|
||||
sha256 = "11pl45lp8sq5xkpipwk622w508nw0qcxr03ibicqn1lsws0hva96";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf automake libtool libjack2 alsaLib pkgconfig ];
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh --no-configure
|
||||
./configure
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A set of C++ classes that provide a cross platform API for realtime MIDI input/output";
|
||||
homepage = http://www.music.mcgill.ca/~gary/rtmidi/;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
|
@ -1951,6 +1951,8 @@ in
|
|||
|
||||
i2pd = callPackage ../tools/networking/i2pd {};
|
||||
|
||||
i-score = qt5.callPackage ../applications/audio/i-score { };
|
||||
|
||||
iasl = callPackage ../development/compilers/iasl { };
|
||||
|
||||
iannix = qt5.callPackage ../applications/audio/iannix { };
|
||||
|
@ -2990,6 +2992,10 @@ in
|
|||
|
||||
remarshal = (callPackage ../development/tools/remarshal { }).bin // { outputs = [ "bin" ]; };
|
||||
|
||||
rtaudio = callPackage ../development/libraries/audio/rtaudio { };
|
||||
|
||||
rtmidi = callPackage ../development/libraries/audio/rtmidi { };
|
||||
|
||||
openmpi = callPackage ../development/libraries/openmpi { };
|
||||
|
||||
openmodelica = callPackage ../applications/science/misc/openmodelica { };
|
||||
|
@ -6110,6 +6116,8 @@ in
|
|||
|
||||
jam = callPackage ../development/tools/build-managers/jam { };
|
||||
|
||||
jamomacore = callPackage ../development/libraries/audio/jamomacore { };
|
||||
|
||||
jikespg = callPackage ../development/tools/parsing/jikespg { };
|
||||
|
||||
jenkins = callPackage ../development/tools/continuous-integration/jenkins { };
|
||||
|
|
Loading…
Reference in a new issue