plasmatube: Add gst wrapping to fix playback

Videos now start as one would expect...
This commit is contained in:
Samuel Dionne-Riel 2022-11-30 22:07:32 -05:00
parent 491064f1e5
commit 4b8a04a32b

View file

@ -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";