diff options
Diffstat (limited to 'pkgs/applications/plasma-mobile/audiotube.nix')
-rw-r--r-- | pkgs/applications/plasma-mobile/audiotube.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/applications/plasma-mobile/audiotube.nix b/pkgs/applications/plasma-mobile/audiotube.nix index 81323148da1c..cb87fe0ed24d 100644 --- a/pkgs/applications/plasma-mobile/audiotube.nix +++ b/pkgs/applications/plasma-mobile/audiotube.nix @@ -3,7 +3,9 @@ , extra-cmake-modules , gcc11 +, wrapGAppsHook +, gst_all_1 , kcoreaddons , kcrash , ki18n @@ -19,6 +21,7 @@ mkDerivation rec { nativeBuildInputs = [ extra-cmake-modules + wrapGAppsHook gcc11 # doesn't build with GCC 9 from stdenv on aarch64 python3Packages.wrapPython python3Packages.pybind11 @@ -32,7 +35,12 @@ mkDerivation rec { qtimageformats qtmultimedia qtquickcontrols2 - ] ++ pythonPath; + ] ++ (with gst_all_1; [ + gst-plugins-bad + gst-plugins-base + gst-plugins-good + gstreamer + ]) ++ pythonPath; pythonPath = with python3Packages; [ yt-dlp @@ -42,7 +50,9 @@ mkDerivation rec { preFixup = '' buildPythonPath "$pythonPath" qtWrapperArgs+=(--prefix PYTHONPATH : "$program_PYTHONPATH") + qtWrapperArgs+=("''${gappsWrapperArgs[@]}") ''; + dontWrapGApps = true; meta = with lib; { description = "Client for YouTube Music"; |