pass jackaudio to alsaPlugins also adding convinient wrapper script
svn path=/nixpkgs/trunk/; revision=17340
This commit is contained in:
parent
1d7de3605f
commit
8398a33112
|
@ -7,9 +7,8 @@ stdenv.mkDerivation {
|
|||
sha256 = "000iqwlz93ykl0w19hw4qjh3gcw7f45ykmi91cw2m7dg4iy0igk7";
|
||||
};
|
||||
|
||||
# TODO make this customizable
|
||||
buildInputs = [pkgconfig alsaLib pulseaudio];
|
||||
|
||||
# TODO make backends such as jack, pulseaudio optional
|
||||
buildInputs = [pkgconfig alsaLib pulseaudio jackaudio];
|
||||
|
||||
meta = {
|
||||
description = "plugins for alsa eg conneckt jack, pluseaudio applications easily to the daemons using alsa devices";
|
||||
|
|
5
pkgs/os-specific/linux/alsa-plugins/wrapper.nix
Normal file
5
pkgs/os-specific/linux/alsa-plugins/wrapper.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ writeScriptBin, stdenv, alsaPlugins }:
|
||||
writeScriptBin "ap${if stdenv.system == "i686-linux" then "32" else "64"}" ''
|
||||
#/bin/sh
|
||||
ALSA_PLUGIN_DIRS=${alsaPlugins}/lib/alsa-lib "$@"
|
||||
''
|
|
@ -4915,7 +4915,10 @@ let
|
|||
};
|
||||
|
||||
alsaPlugins = import ../os-specific/linux/alsa-plugins {
|
||||
inherit fetchurl stdenv lib pkgconfig alsaLib pulseaudio;
|
||||
inherit fetchurl stdenv lib pkgconfig alsaLib pulseaudio jackaudio;
|
||||
};
|
||||
alsaPluginWrapper = import ../os-specific/linux/alsa-plugins/wrapper.nix {
|
||||
inherit stdenv alsaPlugins writeScriptBin;
|
||||
};
|
||||
|
||||
alsaUtils = import ../os-specific/linux/alsa-utils {
|
||||
|
|
Loading…
Reference in a new issue