libopus: fix build on aarch64-linux

This commit is contained in:
Mario Rodas
2023-06-11 08:00:00 -05:00
parent b7d4899ad5
commit 2da8e0eafc
@@ -1,5 +1,6 @@
{ lib
, stdenv
, fetchpatch
, fetchurl
, meson
, python3
@@ -17,6 +18,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-ybMrQlO+WuY9H/Fu6ga5S18PKVG3oCrO71jjo85JxR8=";
};
patches = [
# Fix meson build for arm64. Remove with next release
# https://gitlab.xiph.org/xiph/opus/-/merge_requests/59
(fetchpatch {
url = "https://gitlab.xiph.org/xiph/opus/-/commit/20c032d27c59d65b19b8ffbb2608e5282fe817eb.patch";
hash = "sha256-2pX+0ay5PTyHL2plameBX2L1Q4aTx7V7RGiTdhNIuE4=";
})
];
postPatch = ''
patchShebangs meson/
'';