raysession: Fix issues with qt not being patched (can’t find platform, qt version mismatch error etc) (#236762)
Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
This commit is contained in:
parent
d213b12223
commit
e580181a13
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, buildPythonApplication, libjack2, pydbus, pyliblo, pyqt5, qttools, which, bash }:
|
{ lib, fetchurl, buildPythonApplication, libjack2, pydbus, pyliblo, pyqt5, which, bash, qt5 }:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "raysession";
|
pname = "raysession";
|
||||||
|
@ -20,8 +20,9 @@ buildPythonApplication rec {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pyqt5 # pyuic5 and pyrcc5 to build resources.
|
pyqt5 # pyuic5 and pyrcc5 to build resources.
|
||||||
qttools # lrelease to build translations.
|
qt5.qttools # lrelease to build translations.
|
||||||
which # which to find lrelease.
|
which # which to find lrelease.
|
||||||
|
qt5.wrapQtAppsHook
|
||||||
];
|
];
|
||||||
buildInputs = [ libjack2 bash ];
|
buildInputs = [ libjack2 bash ];
|
||||||
propagatedBuildInputs = [ pydbus pyliblo pyqt5 ];
|
propagatedBuildInputs = [ pydbus pyliblo pyqt5 ];
|
||||||
|
@ -36,6 +37,9 @@ buildPythonApplication rec {
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapPythonProgramsIn "$out/share/raysession/src" "$out $pythonPath"
|
wrapPythonProgramsIn "$out/share/raysession/src" "$out $pythonPath"
|
||||||
|
for file in $out/bin/*; do
|
||||||
|
wrapQtApp "$file"
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -12306,9 +12306,7 @@ with pkgs;
|
||||||
|
|
||||||
pystring = callPackage ../development/libraries/pystring { };
|
pystring = callPackage ../development/libraries/pystring { };
|
||||||
|
|
||||||
raysession = python3Packages.callPackage ../applications/audio/raysession {
|
raysession = python3Packages.callPackage ../applications/audio/raysession {};
|
||||||
inherit (qt5) qttools;
|
|
||||||
};
|
|
||||||
|
|
||||||
revolt-desktop = callPackage ../applications/networking/instant-messengers/revolt-desktop { };
|
revolt-desktop = callPackage ../applications/networking/instant-messengers/revolt-desktop { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue