Merge pull request #224153 from orivej/raysession
patchance, raysession: provide libjack2 at runtime
This commit is contained in:
commit
0bdd0e8df2
2 changed files with 12 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, buildPythonApplication, pyqt5, qttools, which }:
|
{ lib, fetchurl, buildPythonApplication, libjack2, pyqt5, qttools, which }:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "patchance";
|
pname = "patchance";
|
||||||
|
@ -16,13 +16,17 @@ buildPythonApplication rec {
|
||||||
qttools # lrelease to build translations.
|
qttools # lrelease to build translations.
|
||||||
which # which to find lrelease.
|
which # which to find lrelease.
|
||||||
];
|
];
|
||||||
|
buildInputs = [ libjack2 ];
|
||||||
propagatedBuildInputs = [ pyqt5 ];
|
propagatedBuildInputs = [ pyqt5 ];
|
||||||
|
|
||||||
dontWrapQtApps = true; # The program is a python script.
|
dontWrapQtApps = true; # The program is a python script.
|
||||||
|
|
||||||
installFlags = [ "PREFIX=$(out)" ];
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
|
makeWrapperArgs = [
|
||||||
|
"--prefix" "LD_LIBRARY_PATH" ":" (lib.makeLibraryPath [ libjack2 ])
|
||||||
|
];
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapPythonProgramsIn "$out/share/patchance/src" "$out $pythonPath"
|
wrapPythonProgramsIn "$out/share/patchance/src" "$out $pythonPath"
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, buildPythonApplication, pydbus, pyliblo, pyqt5, qttools, which }:
|
{ lib, fetchurl, buildPythonApplication, libjack2, pydbus, pyliblo, pyqt5, qttools, which }:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "raysession";
|
pname = "raysession";
|
||||||
|
@ -23,13 +23,17 @@ buildPythonApplication rec {
|
||||||
qttools # lrelease to build translations.
|
qttools # lrelease to build translations.
|
||||||
which # which to find lrelease.
|
which # which to find lrelease.
|
||||||
];
|
];
|
||||||
|
buildInputs = [ libjack2 ];
|
||||||
propagatedBuildInputs = [ pydbus pyliblo pyqt5 ];
|
propagatedBuildInputs = [ pydbus pyliblo pyqt5 ];
|
||||||
|
|
||||||
dontWrapQtApps = true; # The program is a python script.
|
dontWrapQtApps = true; # The program is a python script.
|
||||||
|
|
||||||
installFlags = [ "PREFIX=$(out)" ];
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
|
makeWrapperArgs = [
|
||||||
|
"--prefix" "LD_LIBRARY_PATH" ":" (lib.makeLibraryPath [ libjack2 ])
|
||||||
|
];
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapPythonProgramsIn "$out/share/raysession/src" "$out $pythonPath"
|
wrapPythonProgramsIn "$out/share/raysession/src" "$out $pythonPath"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue