ecasound: let it use more dependencies
Patch partially contributed by Kai Ruemmler.
This commit is contained in:
parent
90d4109c23
commit
479867700b
|
@ -1,5 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
, alsaLib
|
, alsaLib
|
||||||
, audiofile
|
, audiofile
|
||||||
, libjack2
|
, libjack2
|
||||||
|
@ -9,9 +10,14 @@
|
||||||
, libsndfile
|
, libsndfile
|
||||||
, lilv
|
, lilv
|
||||||
, lv2
|
, lv2
|
||||||
|
, ncurses
|
||||||
|
, readline
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# TODO: fix readline, ncurses, lilv, liblo, liboil and python. See configure log.
|
# TODO: fix python. See configure log.
|
||||||
|
# fix -Dnullptr=0 cludge below.
|
||||||
|
# The error is
|
||||||
|
# /nix/store/*-lilv-0.24.10/include/lilv-0/lilv/lilvmm.hpp:272:53: error: 'nullptr' was not declared in this scope
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ecasound";
|
pname = "ecasound";
|
||||||
|
@ -22,7 +28,34 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1m7njfjdb7sqf0lhgc4swihgdr4snkg8v02wcly08wb5ar2fr2s6";
|
sha256 = "1m7njfjdb7sqf0lhgc4swihgdr4snkg8v02wcly08wb5ar2fr2s6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ alsaLib audiofile libjack2 liblo liboil libsamplerate libsndfile lilv lv2 ];
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
alsaLib
|
||||||
|
audiofile
|
||||||
|
libjack2
|
||||||
|
liblo
|
||||||
|
liboil
|
||||||
|
libsamplerate
|
||||||
|
libsndfile
|
||||||
|
lilv
|
||||||
|
lv2
|
||||||
|
ncurses
|
||||||
|
readline
|
||||||
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
configureFlags = "--enable-liblilv --with-extra-cppflags=-Dnullptr=0";
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i -e '
|
||||||
|
s@^#include <readline.h>@#include <readline/readline.h>@
|
||||||
|
s@^#include <history.h>@#include <readline/history.h>@
|
||||||
|
' ecasound/eca-curses.cpp
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Software package designed for multitrack audio processing";
|
description = "Software package designed for multitrack audio processing";
|
||||||
|
|
Loading…
Reference in New Issue