-
Notifications
You must be signed in to change notification settings - Fork 0
/
23.1.6.cr
39 lines (31 loc) · 1.39 KB
/
23.1.6.cr
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
class Target < ISM::Software
def prepare
@buildDirectory = true
super
end
def configure
super
runMesonCommand(arguments: "setup \
--reconfigure \
#{@buildDirectoryNames["MainBuild"]} \
--prefix=/usr \
--buildtype=release \
-Dplatforms=x11,wayland \
-Degl-native-platform=wayland \
-Dgallium-drivers=auto \
-Dvulkan-drivers=\"\" \
-Dvalgrind=disabled \
-Dlibunwind=disabled",
path: mainWorkDirectoryPath)
end
def build
super
runNinjaCommand(path: buildDirectoryPath)
end
def prepareInstallation
super
runNinjaCommand(arguments: "install",
path: buildDirectoryPath,
environment: {"DESTDIR" => "#{builtSoftwareDirectoryPath}#{Ism.settings.rootPath}"})
end
end