forked from flatpak/freedesktop-sdk-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.freedesktop.Platform.GL.nvidia.json.in
58 lines (58 loc) · 2.1 KB
/
org.freedesktop.Platform.GL.nvidia.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
{
"id": "org.freedesktop.Platform.GL.nvidia-@@NVIDIA_VERSION@@",
"branch": "@@SDK_BRANCH@@",
"runtime": "org.freedesktop.Platform",
"build-extension": true,
"sdk": "org.freedesktop.Sdk",
"runtime-version": "@@SDK_BRANCH@@",
"sdk-extensions": [],
"separate-locales": false,
"cleanup": [ ],
"build-options" : {
"cflags": "-O2 -g -I/usr/lib/GL/nvidia-@@NVIDIA_VERSION@@/include",
"cxxflags": "-O2 -g",
"prefix": "/usr/lib/GL/nvidia-@@NVIDIA_VERSION@@",
"env": {
"V": "1",
"LDFLAGS": "-L/usr/lib/GL/nvidia-@@NVIDIA_VERSION@@/lib"
}
},
"finish-args": [
"--extra-data=:@@NVIDIA_SHA256@@:@@NVIDIA_SIZE@@::@@NVIDIA_URL@@",
"--metadata=Extra Data=NoRuntime"
],
"modules": [
{
"cleanup": ["/include", "/share"],
"name": "libarchive",
"config-opts": [ "--disable-shared", "--enable-static", "--disable-xattr", "--disable-acl",
"--without-bz2lib", "--without-iconv", "--without-lz4", "--without-lzo2", "--without-nettle",
"--without-openssl", "--without-xml2", "--without-expat", "--disable-bsdcat", "--disable-bsdcpio",
"--disable-bsdtar"
],
"sources": [
{
"type": "archive",
"url": "http://www.libarchive.org/downloads/libarchive-3.2.2.tar.gz",
"sha256": "691c194ee132d1f0f7a42541f091db811bc2e56f7107e9121be2bc8c04f1060f"
}
]
},
{
"name": "nvidia",
"make-args": [ "NVIDIA_VERSION=@@NVIDIA_VERSION@@", "NVIDIA_URL=@@NVIDIA_URL@@" ],
"no-autogen": true,
"sources": [
{
"type": "file",
"path": "nvidia-Makefile",
"dest-filename": "makefile"
},
{
"type": "file",
"path": "nvidia-apply-extra.c"
}
]
}
]
}