From 4b8a04a32bf837f86e7ffdfaed02eadfd77471bc Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Wed, 30 Nov 2022 22:07:32 -0500 Subject: plasmatube: Add gst wrapping to fix playback Videos now start as one would expect... --- pkgs/applications/plasma-mobile/plasmatube/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkgs/applications/plasma-mobile') diff --git a/pkgs/applications/plasma-mobile/plasmatube/default.nix b/pkgs/applications/plasma-mobile/plasmatube/default.nix index 6e3377911f34..81041b22931d 100644 --- a/pkgs/applications/plasma-mobile/plasmatube/default.nix +++ b/pkgs/applications/plasma-mobile/plasmatube/default.nix @@ -2,6 +2,7 @@ , mkDerivation , cmake , extra-cmake-modules +, wrapGAppsHook , gst_all_1 , kcoreaddons , kdeclarative @@ -17,6 +18,7 @@ mkDerivation { nativeBuildInputs = [ extra-cmake-modules + wrapGAppsHook ]; buildInputs = [ @@ -42,6 +44,11 @@ mkDerivation { --replace "@yt-dlp@" "${yt-dlp}/bin/yt-dlp" ''; + preFixup = '' + qtWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + dontWrapGApps = true; + meta = { description = "Youtube player powered by an invidious server"; homepage = "https://invent.kde.org/plasma-mobile/plasmatube"; -- cgit 1.4.1