obs-studio-plugins.obs-tuna: add patch for qt 6.6 support
This commit is contained in:
parent
ac20d172c4
commit
4bb402ac96
1 changed files with 11 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch2
|
||||||
, obs-studio
|
, obs-studio
|
||||||
, cmake
|
, cmake
|
||||||
, zlib
|
, zlib
|
||||||
|
@ -27,6 +28,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# fix build with qt 6.6.0
|
||||||
|
# treewide: replace deprecated qAsConst with std::as_const()
|
||||||
|
# https://github.com/univrsal/tuna/pull/176
|
||||||
|
(fetchpatch2 {
|
||||||
|
url = "https://github.com/univrsal/tuna/commit/0d570e771f8d8e6ae7c85bd2b86bbf59c264789e.patch";
|
||||||
|
hash = "sha256-A5idhMiM9funqhTm5XMIBqwy+FO1SaNPtgZjo+Vws6k=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir $out/lib $out/share
|
mkdir $out/lib $out/share
|
||||||
mv $out/obs-plugins/64bit $out/lib/obs-plugins
|
mv $out/obs-plugins/64bit $out/lib/obs-plugins
|
||||||
|
|
Loading…
Reference in a new issue