mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-11 14:43:47 +00:00
Merge pull request #209248 from wegank/nova-filters
nova-filters: migrate to scons_latest
This commit is contained in:
commit
9d9459a13b
@ -9,20 +9,20 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "16064vvl2w5lz4xi3lyjk4xx7fphwsxc14ajykvndiz170q32s6i";
|
sha256 = "16064vvl2w5lz4xi3lyjk4xx7fphwsxc14ajykvndiz170q32s6i";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config sconsPackages.scons_3_0_1 ];
|
nativeBuildInputs = [ pkg-config sconsPackages.scons_latest ];
|
||||||
buildInputs = [ boost ladspaH ];
|
buildInputs = [ boost ladspaH ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
# remove TERM:
|
# remove TERM:
|
||||||
sed -i -e '4d' SConstruct
|
sed -i -e '4d' SConstruct
|
||||||
sed -i "s@mfpmath=sse@mfpmath=sse -I ${boost.dev}/include@g" SConstruct
|
sed -i 's@Options@Variables@g' SConstruct
|
||||||
|
sed -i "s@-fomit-frame-pointer -ffast-math -mfpmath=sse@-I ${boost.dev}/include@g" SConstruct
|
||||||
sed -i "s@ladspa.h@${ladspaH}/include/ladspa.h@g" filters.cpp
|
sed -i "s@ladspa.h@${ladspaH}/include/ladspa.h@g" filters.cpp
|
||||||
sed -i "s@LADSPA_HINT_SAMPLE_RATE, 0, 0.5@LADSPA_HINT_SAMPLE_RATE, 0.0001, 0.5@g" filters.cpp
|
sed -i "s@LADSPA_HINT_SAMPLE_RATE, 0, 0.5@LADSPA_HINT_SAMPLE_RATE, 0.0001, 0.5@g" filters.cpp
|
||||||
sed -i "s/= check/= detail::filter_base<internal_type, checked>::check/" nova/source/dsp/filter.hpp
|
sed -i "s/= check/= detail::filter_base<internal_type, checked>::check/" nova/source/dsp/filter.hpp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = (stdenv.isLinux && stdenv.isAarch64);
|
|
||||||
description = "LADSPA plugins based on filters of nova";
|
description = "LADSPA plugins based on filters of nova";
|
||||||
homepage = "http://klingt.org/~tim/nova-filters/";
|
homepage = "http://klingt.org/~tim/nova-filters/";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
|
Loading…
Reference in New Issue
Block a user