easyeffects: re-add plugins (#129968)

This commit is contained in:
Mihai Fufezan 2021-07-12 01:41:42 +03:00 committed by GitHub
parent 1657d1a4aa
commit 00ab017fec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,8 @@
{ lib, stdenv { lib
, stdenv
, desktop-file-utils , desktop-file-utils
, fetchFromGitHub , fetchFromGitHub
, calf
, fftwFloat , fftwFloat
, glib , glib
, glibmm , glibmm
@ -12,6 +14,7 @@
, libsamplerate , libsamplerate
, libsndfile , libsndfile
, lilv , lilv
, lsp-plugins
, lv2 , lv2
, meson , meson
, ninja , ninja
@ -23,6 +26,7 @@
, rubberband , rubberband
, speexdsp , speexdsp
, wrapGAppsHook , wrapGAppsHook
, zam-plugins
, zita-convolver , zita-convolver
}: }:
@ -72,6 +76,24 @@ stdenv.mkDerivation rec {
patchShebangs meson_post_install.py patchShebangs meson_post_install.py
''; '';
preFixup =
let
lv2Plugins = [
calf # limiter, compressor exciter, bass enhancer and others
lsp-plugins # delay
];
ladspaPlugins = [
rubberband # pitch shifting
zam-plugins # maximizer
];
in
''
gappsWrapperArgs+=(
--set LV2_PATH "${lib.makeSearchPath "lib/lv2" lv2Plugins}"
--set LADSPA_PATH "${lib.makeSearchPath "lib/ladspa" ladspaPlugins}"
)
'';
separateDebugInfo = true; separateDebugInfo = true;
meta = with lib; { meta = with lib; {