try adding mesa patches from osmc

This commit is contained in:
chaos 2024-09-04 21:58:31 +01:00
parent 14e5a30a64
commit 0f28b71859
No known key found for this signature in database
3 changed files with 12344 additions and 0 deletions

View file

@ -38,6 +38,15 @@ in {
})
];
hardware.opengl.package = pkgs.mesa.overrideAttrs (oA: {
patches =
oA.patches
++ [
./rbp2-000-do-not-include-gles3-headers.patch
./rbp2-001-add-raspberrypi5-support.patch
];
});
environment.systemPackages = [
kodiPackage
];

View file

@ -0,0 +1,17 @@
--- a/include/meson.build 2022-02-28 00:20:21.754665910 +0000
+++ b/include/meson.build 2022-02-28 00:20:32.310758480 +0000
@@ -51,14 +51,6 @@
'GLES2/gl2platform.h',
subdir : 'GLES2',
)
- install_headers(
- 'GLES3/gl3.h',
- 'GLES3/gl31.h',
- 'GLES3/gl32.h',
- 'GLES3/gl3ext.h',
- 'GLES3/gl3platform.h',
- subdir : 'GLES3',
- )
endif
if with_opengl

File diff suppressed because it is too large Load diff