nixpkgs/pkgs/applications/plasma-mobile/plasmatube/0001-Add-placeholders-for-runtime-dependencies.patch
Samuel Dionne-Riel 491064f1e5 plasmatube: Fix runtime use of yt-dlp
This would end-up relying on an ambiant yt-dlp, which is bad.
2022-11-30 22:28:29 -05:00

26 lines
732 B
Diff

From 7a9405ed02b0d86839644a2c237ca7ca8b891b76 Mon Sep 17 00:00:00 2001
From: Samuel Dionne-Riel <samuel@dionne-riel.com>
Date: Wed, 30 Nov 2022 21:07:56 -0500
Subject: [PATCH] Add placeholders for runtime dependencies
---
src/videomodel.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/videomodel.cpp b/src/videomodel.cpp
index 4bb3451..b558f31 100644
--- a/src/videomodel.cpp
+++ b/src/videomodel.cpp
@@ -121,7 +121,7 @@ QString VideoModel::remoteUrl()
return {};
}
- QString youtubeDl = QStringLiteral("yt-dlp");
+ QString youtubeDl = QStringLiteral("@yt-dlp@");
QStringList arguments;
arguments << QLatin1String("--dump-json")
<< m_videoId;
--
2.38.0