mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 05:00:19 +00:00
Merge pull request #7036 from magnetophon/nova-filters-master
add nova-filters: LADSPA plugins based on filters of nova
This commit is contained in:
commit
d080a94b57
35
pkgs/applications/audio/nova-filters/default.nix
Normal file
35
pkgs/applications/audio/nova-filters/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{stdenv, fetchurl, scons, boost, ladspaH, pkgconfig }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
version = "0.2-2";
|
||||||
|
name = "nova-filters-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://klingt.org/~tim/nova-filters/nova-filters_0.2-2.tar.gz;
|
||||||
|
sha256 = "16064vvl2w5lz4xi3lyjk4xx7fphwsxc14ajykvndiz170q32s6i";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ scons boost ladspaH pkgconfig ];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
# remove TERM:
|
||||||
|
sed -i -e '4d' SConstruct
|
||||||
|
sed -i "s@mfpmath=sse@mfpmath=sse -I ${boost.dev}/include@g" SConstruct
|
||||||
|
sed -i "s@ladspa.h@${ladspaH}/include/ladspa.h@g" filters.cpp
|
||||||
|
sed -i "s/= check/= detail::filter_base<internal_type, checked>::check/" nova/source/dsp/filter.hpp
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
scons
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
scons $sconsFlags "prefix=$out" install
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://klingt.org/~tim/nova-filters/;
|
||||||
|
description = "LADSPA plugins based on filters of nova";
|
||||||
|
license = stdenv.lib.licenses.gpl2Plus;
|
||||||
|
};
|
||||||
|
}
|
@ -11377,6 +11377,8 @@ let
|
|||||||
|
|
||||||
novaclient = callPackage ../applications/virtualization/nova/client.nix { };
|
novaclient = callPackage ../applications/virtualization/nova/client.nix { };
|
||||||
|
|
||||||
|
nova-filters = callPackage ../applications/audio/nova-filters { };
|
||||||
|
|
||||||
nspluginwrapper = callPackage ../applications/networking/browsers/mozilla-plugins/nspluginwrapper {};
|
nspluginwrapper = callPackage ../applications/networking/browsers/mozilla-plugins/nspluginwrapper {};
|
||||||
|
|
||||||
nvi = callPackage ../applications/editors/nvi { };
|
nvi = callPackage ../applications/editors/nvi { };
|
||||||
|
Loading…
Reference in New Issue
Block a user