ardour: build with libs from nixpkgs

This commit is contained in:
Timothy DeHerrera 2023-10-26 14:39:37 -06:00
parent 5890b707b2
commit 95f43cba10
No known key found for this signature in database
GPG Key ID: E44213186BC9AFE2
2 changed files with 16 additions and 2 deletions

View File

@ -14,15 +14,19 @@
, fftw
, fftwSinglePrec
, flac
, fluidsynth
, glibc
, glibmm
, graphviz
, gtkmm2
, harvid
, hidapi
, itstool
, kissfft
, libarchive
, libjack2
, liblo
, libltc
, libogg
, libpulseaudio
, librdf_raptor
@ -43,6 +47,7 @@
, perl
, pkg-config
, python3
, qm-dsp
, readline
, rubberband
, serd
@ -116,12 +121,16 @@ stdenv.mkDerivation rec {
fftw
fftwSinglePrec
flac
fluidsynth
glibmm
gtkmm2
hidapi
itstool
kissfft
libarchive
libjack2
liblo
libltc
libogg
libpulseaudio
librdf_raptor
@ -140,6 +149,7 @@ stdenv.mkDerivation rec {
pango
perl
python3
qm-dsp
readline
rubberband
serd
@ -159,9 +169,8 @@ stdenv.mkDerivation rec {
"--ptformat"
"--run-tests"
"--test"
"--use-external-libs"
] ++ lib.optional optimize "--optimize";
# removed because it fixes https://tracker.ardour.org/view.php?id=8161 and https://tracker.ardour.org/view.php?id=8437
# "--use-external-libs"
postInstall = ''
# wscript does not install these for some reason

View File

@ -41,6 +41,11 @@ stdenv.mkDerivation rec {
"LIBDIR=${placeholder "out"}/lib"
];
postInstall = ''
mv $out/include/qm-dsp/* $out/include
rmdir $out/include/qm-dsp
'';
env.NIX_CFLAGS_COMPILE = "-I${kissfft}/include/kissfft";
meta = with lib; {