-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlappkg.json
More file actions
84 lines (84 loc) · 2.52 KB
/
lappkg.json
File metadata and controls
84 lines (84 loc) · 2.52 KB
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
{
"name": "RunAsGPU",
"pkg-name": "run-as-gpu",
"version": "1.0-2",
"description": "An utility to easily run apps under a specific GPU",
"maintainer": "BC100Dev <contact@bc100dev.net>",
"icon": "Resources/RunAsGPU-Icon.png",
"sections": [
"utils"
],
"priority": "optional",
"architectures": [
"x86_64"
],
"depends": {
"arch_pkg": [
"qt6-base",
"pciutils"
]
},
"pkg-settings": {
"__RequireEnv__": {
"BUILD_DIR": "The path to the build directory, in which the binaries were compiled in"
},
"__EnvironmentMap__": {
"RPATH_FIRST": "$ORIGIN/libs"
},
"RuntimePaths": {
"RPATH": true,
"Locations": [
"{RPATH_FIRST}"
]
},
"DependencyPackaging": {
"SourceBinaries": true,
"RepackageToSelf": true,
"Sources": [
"*.so*"
],
"Destination": "{RPATH_FIRST}/"
},
"Distribution": {
"FilePlacements": {
"{BUILD_DIR}/RunAsGPU": "/usr/share/run-as-gpu/RunAsGPU",
"{BUILD_DIR}/RunAsGPU-CLI": "/usr/share/run-as-gpu/RunAsGPU-CLI"
},
"PostCopy": [
{
"Action": "symlink",
"Source": "/usr/share/run-as-gpu/RunAsGPU",
"Destination": "/usr/bin/RunAsGPU"
},
{
"Action": "symlink",
"Source": "/usr/share/run-as-gpu/RunAsGPU-CLI",
"Destination": "/usr/bin/RunAsGPU-CLI"
},
"lib_repackage",
{
"Action": "create_desktop",
"InfoPassthrough": true,
"Data": {
"Terminal": false,
"Exec": "RunAsGPU"
},
"Output": "{pkgdir}/usr/share/applications/RunAsGPU.desktop"
},
{
"Action": "create_package",
"Formats": [
"deb",
"arch-pkg",
"TGZ",
"AppImage"
],
"TGZ": {
"PackageFrom": "/usr/share/run-as-gpu",
"IncludeParent": false
}
}
]
}
}
}