desktop/xpra: Add missing patch (derp).

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-15 17:33:37 -05:00 committed by Willy Sudiarto Raharjo
parent 4b8b99b88a
commit babd926c0a
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff -Naur xpra-4.4.3/setup.py xpra-4.4.3.patched/setup.py
--- xpra-4.4.3/setup.py 2022-11-27 09:21:57.000000000 -0500
+++ xpra-4.4.3.patched/setup.py 2023-01-12 13:02:42.255843773 -0500
@@ -2045,8 +2045,8 @@
nvidia_ENABLED = nvenc_ENABLED or nvfbc_ENABLED or nvjpeg_encoder_ENABLED or nvjpeg_decoder_ENABLED
toggle_packages(nvidia_ENABLED, "xpra.codecs.nvidia")
+CUDA_BIN = f"{share_xpra}/cuda"
if nvidia_ENABLED:
- CUDA_BIN = f"{share_xpra}/cuda"
#find nvcc:
from xpra.util import sorted_nicely # pylint: disable=import-outside-toplevel
path_options = os.environ.get("PATH", "").split(os.path.pathsep)