plasmatube: Add gst wrapping to fix playback
Videos now start as one would expect...
This commit is contained in:
parent
491064f1e5
commit
4b8a04a32b
1 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
, mkDerivation
|
, mkDerivation
|
||||||
, cmake
|
, cmake
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
|
, wrapGAppsHook
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
, kcoreaddons
|
, kcoreaddons
|
||||||
, kdeclarative
|
, kdeclarative
|
||||||
|
@ -17,6 +18,7 @@ mkDerivation {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -42,6 +44,11 @@ mkDerivation {
|
||||||
--replace "@yt-dlp@" "${yt-dlp}/bin/yt-dlp"
|
--replace "@yt-dlp@" "${yt-dlp}/bin/yt-dlp"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||||
|
'';
|
||||||
|
dontWrapGApps = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Youtube player powered by an invidious server";
|
description = "Youtube player powered by an invidious server";
|
||||||
homepage = "https://invent.kde.org/plasma-mobile/plasmatube";
|
homepage = "https://invent.kde.org/plasma-mobile/plasmatube";
|
||||||
|
|
Loading…
Reference in a new issue