mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
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
|
||||
, 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";
|
||||
|
|
Loading…
Reference in a new issue