lol

libsForQt5.phonon-backend-gstreamer: backport fix for https://bugs.kde.org/show_bug.cgi?id=445196

+12 -4
+12 -4
pkgs/development/libraries/phonon/backends/gstreamer.nix
··· 1 - { stdenv, lib, fetchurl, cmake, gst_all_1, phonon, pkg-config 1 + { stdenv, lib, fetchurl, fetchpatch, cmake, gst_all_1, phonon, pkg-config 2 2 , extra-cmake-modules, qttools, qtbase, qtx11extras 3 3 , debug ? false 4 4 }: ··· 22 22 sha256 = "1wk1ip2w7fkh65zk6rilj314dna0hgsv2xhjmpr5w08xa8sii1y5"; 23 23 }; 24 24 25 - # Hardcode paths to useful plugins so the backend doesn't depend 26 - # on system paths being set. 27 - patches = [ ./gst-plugin-paths.patch ]; 25 + patches = [ 26 + # Hardcode paths to useful plugins so the backend doesn't depend 27 + # on system paths being set. 28 + ./gst-plugin-paths.patch 29 + 30 + # Work around https://bugs.kde.org/show_bug.cgi?id=445196 until a new release. 31 + (fetchpatch { 32 + url = "https://invent.kde.org/libraries/phonon-gstreamer/-/commit/bbbb160f30a394655cff9398d17961142388b0f2.patch"; 33 + sha256 = "sha256-tNBqVt67LNb9SQogS9ol8/xYIZvVSoVUgXQahMfkFh8="; 34 + }) 35 + ]; 28 36 29 37 dontWrapQtApps = true; 30 38