mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
obs-studio-plugins.obs-tuna: add patch for qt 6.6 support
This commit is contained in:
parent
ac20d172c4
commit
4bb402ac96
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch2
|
||||
, obs-studio
|
||||
, cmake
|
||||
, zlib
|
||||
@ -27,6 +28,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
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 = ''
|
||||
mkdir $out/lib $out/share
|
||||
mv $out/obs-plugins/64bit $out/lib/obs-plugins
|
||||
|
Loading…
Reference in New Issue
Block a user