Merge pull request #263663 from nrdxp/ardour-fix-upgrade
ardour: 8.0 -> 8.1
This commit is contained in:
@@ -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
|
||||
@@ -59,14 +64,14 @@
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ardour";
|
||||
version = "8.0";
|
||||
version = "8.1";
|
||||
|
||||
# We can't use `fetchFromGitea` here, as attempting to fetch release archives from git.ardour.org
|
||||
# result in an empty archive. See https://tracker.ardour.org/view.php?id=7328 for more info.
|
||||
src = fetchgit {
|
||||
url = "git://git.ardour.org/ardour/ardour.git";
|
||||
rev = version;
|
||||
hash = "sha256-ZL8aTq2OsCWwLUUx5XYbH4eRN+Xz+oMAj9IS07RfTag=";
|
||||
hash = "sha256-T1o1E5+974dNUwEFW/Pw0RzbGifva2FdJPrCusWMk0E=";
|
||||
};
|
||||
|
||||
bundledContent = fetchzip {
|
||||
@@ -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
|
||||
@@ -198,7 +207,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = "https://ardour.org/";
|
||||
license = licenses.gpl2Plus;
|
||||
mainProgram = "ardour7";
|
||||
mainProgram = "ardour8";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ goibhniu magnetophon mitchmindtree ];
|
||||
};
|
||||
|
||||
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user