This repository has been archived by the owner on Dec 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
/
org.freedesktop.Platform.GL.mesa-git.json.in
100 lines (100 loc) · 3.2 KB
/
org.freedesktop.Platform.GL.mesa-git.json.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"id": "org.freedesktop.Platform.GL.mesa-git",
"branch": "@@SDK_BRANCH@@",
"runtime": "org.freedesktop.Platform",
"build-extension": true,
"sdk": "org.freedesktop.Sdk",
"runtime-version": "@@SDK_BRANCH@@",
"sdk-extensions": [],
"separate-locales": false,
"cleanup": [ "/include", "/share/man" ],
"build-options" : {
"cflags": "-O2 -g",
"cxxflags": "-O2 -g",
"prefix": "/usr/lib/GL/mesa-git",
"env": {
"V": "1"
}
},
"modules": [
{
"name": "libdrm",
"config-opts": [ "--disable-static", "--disable-udev" ],
"sources": [
{
"type": "git",
"url": "git://anongit.freedesktop.org/mesa/drm"
}
]
},
{
"name": "mesa",
"build-options" : {
"cxxflags": "-O2 -g -fno-rtti -fno-exceptions",
"arch" : {
"i386" : {
"config-opts" : [
"--build=i586-unknown-linux-gnu",
"--with-gallium-drivers=svga,swrast,nouveau,r600,r300,radeonsi",
"--with-dri-drivers=swrast,nouveau,radeon,r200,i915,i965",
"--with-vulkan-drivers=intel"
]
},
"x86_64" : {
"config-opts" : [
"--with-gallium-drivers=svga,swrast,nouveau,r600,r300,radeonsi",
"--with-dri-drivers=swrast,nouveau,radeon,r200,i915,i965",
"--with-vulkan-drivers=intel"
]
},
"arm" : {
"config-opts" : [
"--with-gallium-drivers=svga,swrast,nouveau,freedreno,vc4",
"--with-dri-drivers=swrast,nouveau,radeon,r200"
]
},
"aarch64" : {
"config-opts" : [
"--with-gallium-drivers=svga,swrast,nouveau,freedreno,vc4",
"--with-dri-drivers=swrast,nouveau,radeon,r200"
]
}
}
},
"config-opts": [
"--enable-libglvnd",
"--disable-selinux",
"--disable-osmesa",
"--enable-egl",
"--disable-gles1",
"--enable-gles2",
"--disable-xvmc",
"--with-egl-platforms=x11,drm,surfaceless,wayland",
"--enable-shared-glapi",
"--enable-gbm",
"--disable-opencl",
"--enable-glx-tls",
"--enable-texture-float=yes",
"--enable-gallium-llvm",
"--enable-llvm-shared-libs",
"--enable-dri",
"--enable-sysfs"
],
"make-args": [ "MKDEP=/bin/true"],
"post-install": [
/* Set the default driver to mesa */
"ln -s libEGL_mesa.so /usr/lib/GL/lib/libEGL_indirect.so",
"ln -s libEGL_mesa.so.0 /usr/lib/GL/lib/libEGL_indirect.so.0",
"ln -s libGLX_mesa.so /usr/lib/GL/lib/libGLX_indirect.so",
"ln -s libGLX_mesa.so.0 /usr/lib/GL/lib/libGLX_indirect.so.0",
"mv /usr/lib/GL/share/vulkan /usr/lib/GL/vulkan"
],
"sources": [
{
"type": "git",
"url": "git://anongit.freedesktop.org/mesa/mesa"
}
]
}
]
}