try adding mesa patches from osmc
This commit is contained in:
parent
14e5a30a64
commit
0f28b71859
|
@ -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
|
||||
];
|
||||
|
|
|
@ -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
|
12318
hosts/raspberry-pi5/profiles/rbp2-001-add-raspberrypi5-support.patch
Normal file
12318
hosts/raspberry-pi5/profiles/rbp2-001-add-raspberrypi5-support.patch
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue