diff options
author | Zane van Iperen <zane@zanevaniperen.com> | 2022-06-26 12:49:34 +1000 |
---|---|---|
committer | Zane van Iperen <zane@zanevaniperen.com> | 2022-06-26 12:49:34 +1000 |
commit | 88223bcc015834ed93bf9ca3dcc8e51cd1f684ee (patch) | |
tree | 2266e34f1741954a3cd82700270bfe5bdc741bb3 | |
parent | 2a04d4cb5e053569e3b901178bf2c30c0f36e7ca (diff) | |
download | nixpkgs-88223bcc015834ed93bf9ca3dcc8e51cd1f684ee.tar nixpkgs-88223bcc015834ed93bf9ca3dcc8e51cd1f684ee.tar.gz nixpkgs-88223bcc015834ed93bf9ca3dcc8e51cd1f684ee.tar.bz2 nixpkgs-88223bcc015834ed93bf9ca3dcc8e51cd1f684ee.tar.lz nixpkgs-88223bcc015834ed93bf9ca3dcc8e51cd1f684ee.tar.xz nixpkgs-88223bcc015834ed93bf9ca3dcc8e51cd1f684ee.tar.zst nixpkgs-88223bcc015834ed93bf9ca3dcc8e51cd1f684ee.zip |
libsForQt5.phonon-backend-gstreamer: backport fix for https://bugs.kde.org/show_bug.cgi?id=445196
-rw-r--r-- | pkgs/development/libraries/phonon/backends/gstreamer.nix | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/pkgs/development/libraries/phonon/backends/gstreamer.nix b/pkgs/development/libraries/phonon/backends/gstreamer.nix index 3e21415b4c7..73c27e9d8c1 100644 --- a/pkgs/development/libraries/phonon/backends/gstreamer.nix +++ b/pkgs/development/libraries/phonon/backends/gstreamer.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchurl, cmake, gst_all_1, phonon, pkg-config +{ stdenv, lib, fetchurl, fetchpatch, cmake, gst_all_1, phonon, pkg-config , extra-cmake-modules, qttools, qtbase, qtx11extras , debug ? false }: @@ -22,9 +22,17 @@ stdenv.mkDerivation rec { sha256 = "1wk1ip2w7fkh65zk6rilj314dna0hgsv2xhjmpr5w08xa8sii1y5"; }; - # Hardcode paths to useful plugins so the backend doesn't depend - # on system paths being set. - patches = [ ./gst-plugin-paths.patch ]; + patches = [ + # Hardcode paths to useful plugins so the backend doesn't depend + # on system paths being set. + ./gst-plugin-paths.patch + + # Work around https://bugs.kde.org/show_bug.cgi?id=445196 until a new release. + (fetchpatch { + url = "https://invent.kde.org/libraries/phonon-gstreamer/-/commit/bbbb160f30a394655cff9398d17961142388b0f2.patch"; + sha256 = "sha256-tNBqVt67LNb9SQogS9ol8/xYIZvVSoVUgXQahMfkFh8="; + }) + ]; dontWrapQtApps = true; |