-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.freedesktop.Sdk.Extension.dotnet8.yaml
131 lines (131 loc) · 7.64 KB
/
org.freedesktop.Sdk.Extension.dotnet8.yaml
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
app-id: org.freedesktop.Sdk.Extension.dotnet8
branch: '23.08'
runtime: org.freedesktop.Sdk
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
build-extension: true
separate-locales: false
modules:
- name: dotnet-sdk
buildsystem: simple
build-commands:
- mkdir -p /usr/lib/sdk/dotnet8/{bin,lib}
- cp -r * /usr/lib/sdk/dotnet8/lib
- ln -s /usr/lib/sdk/dotnet8/lib/dotnet /usr/lib/sdk/dotnet8/bin/dotnet
sources:
- type: archive
only-arches: [x86_64]
url: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/8.0.404/dotnet-sdk-8.0.404-linux-x64.tar.gz
sha256: 5bf340ba6acb314c703c2492a3a6e1530d7cdbfd3b5bf86788ee8b4afefd3573
x-checker-data:
type: html
url: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/8.0/latest.version
version-pattern: ^([\d\.a-z-]+)$
url-template: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$version/dotnet-sdk-$version-linux-x64.tar.gz
- type: archive
only-arches: [aarch64]
url: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/8.0.404/dotnet-sdk-8.0.404-linux-arm64.tar.gz
sha256: 695204a6a180ae5b88f6078e1f063a148bdc87fb14e25d22eec78863e6fe1e51
x-checker-data:
type: html
url: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/8.0/latest.version
version-pattern: ^([\d\.a-z-]+)$
url-template: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$version/dotnet-sdk-$version-linux-arm64.tar.gz
- name: nuget-sources
buildsystem: simple
build-commands:
- mkdir -p /usr/lib/sdk/dotnet8/nuget/packages
- cp * /usr/lib/sdk/dotnet8/nuget/packages
sources:
- type: file
only-arches: [x86_64]
url: https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.runtime.linux-x64/8.0.11/microsoft.aspnetcore.app.runtime.linux-x64.8.0.11.nupkg
sha512: 5373c5f77dc775544b72d4994101cac0618ca885518a44b928cd888086f9287f73a17af3642a6b017242beb6500e83ad68a3a7f9ebb217e832ebd0af781fa03b
x-checker-data:
type: html
url: https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/8.0/latest.version
version-pattern: '^([\d\.a-z-]+)$'
url-template: https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.runtime.linux-x64/$version/microsoft.aspnetcore.app.runtime.linux-x64.$version.nupkg
- type: file
only-arches: [x86_64]
url: https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.linux-x64/8.0.11/microsoft.netcore.app.runtime.linux-x64.8.0.11.nupkg
sha512: 810ca3d4ab581a01495939f8b533356c7e31bd3c95ca4e692c26191e591899f5f0a35a0356f2eb5e2382deb29d1f103e73cb5178f26c3432102880252659a002
x-checker-data:
type: html
url: https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/8.0/latest.version
version-pattern: '^([\d\.a-z-]+)$'
url-template: https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.linux-x64/$version/microsoft.netcore.app.runtime.linux-x64.$version.nupkg
- type: file
only-arches: [x86_64]
url: https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.crossgen2.linux-x64/8.0.11/microsoft.netcore.app.crossgen2.linux-x64.8.0.11.nupkg
sha512: 26e6527809a8c385f1f7e5549e6ed361f49453fa7b97f4a3495a1029da0b76938748c9bfa674843a31dce292a602be06e8e4b775481563f219c86c6d4b983d54
x-checker-data:
type: html
url: https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/8.0/latest.version
version-pattern: '^([\d\.a-z-]+)$'
url-template: https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.crossgen2.linux-x64/$version/microsoft.netcore.app.crossgen2.linux-x64.$version.nupkg
- type: file
only-arches: [aarch64]
url: https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.runtime.linux-arm64/8.0.11/microsoft.aspnetcore.app.runtime.linux-arm64.8.0.11.nupkg
sha512: cfa9709633e91184bdd061951bf480e66da86175384e3a35ccc9ebbc768f207785807bc48628fd4101ecf6336a9495fbc9cb02aea3c0b9543c02e73fb96fb4f8
x-checker-data:
type: html
url: https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/8.0/latest.version
version-pattern: '^([\d\.a-z-]+)$'
url-template: https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.runtime.linux-arm64/$version/microsoft.aspnetcore.app.runtime.linux-arm64.$version.nupkg
- type: file
only-arches: [aarch64]
url: https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.linux-arm64/8.0.11/microsoft.netcore.app.runtime.linux-arm64.8.0.11.nupkg
sha512: d40eb91197dc6c08c9e2cc72708fab91edec68d3225a0946e8d4f1859e53103461947cb897c16dfc63e7c287c5043e72f2c0ece476ecdf5f2ae5755ba6a10bd8
x-checker-data:
type: html
url: https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/8.0/latest.version
version-pattern: '^([\d\.a-z-]+)$'
url-template: https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.linux-arm64/$version/microsoft.netcore.app.runtime.linux-arm64.$version.nupkg
- type: file
only-arches: [aarch64]
url: https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.crossgen2.linux-arm64/8.0.11/microsoft.netcore.app.crossgen2.linux-arm64.8.0.11.nupkg
sha512: 1709b82058d19cdb681c3121c0770ae5eb2ef24c739d3f9a65845eed3e7fec71f06873996309f05406fed721bdce6a56b10030542cb60f2f7c4ff2aeadac58d9
x-checker-data:
type: html
url: https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/8.0/latest.version
version-pattern: '^([\d\.a-z-]+)$'
url-template: https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.crossgen2.linux-arm64/$version/microsoft.netcore.app.crossgen2.linux-arm64.$version.nupkg
- type: file
url: https://api.nuget.org/v3-flatcontainer/microsoft.net.illink.tasks/8.0.11/microsoft.net.illink.tasks.8.0.11.nupkg
sha512: 043527c762d2bfc0962b75806cf9cd5adedd79574b067e1567964d512460e1637f5a2d71f8ce16420776cab5beaa7492479965f402a158d52c8865567fe3ac69
x-checker-data:
type: html
url: https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/8.0/latest.version
version-pattern: "^([\\d\\.a-z-]+)$"
url-template: https://api.nuget.org/v3-flatcontainer/microsoft.net.illink.tasks/$version/microsoft.net.illink.tasks.$version.nupkg
- name: scripts
buildsystem: simple
build-commands:
- mkdir -p /usr/lib/sdk/dotnet8/share/appdata
- cp install.sh install-sdk.sh /usr/lib/sdk/dotnet8/bin
- cp enable.sh /usr/lib/sdk/dotnet8
- cp org.freedesktop.Sdk.Extension.dotnet8.appdata.xml ${FLATPAK_DEST}/share/appdata
sources:
- type: script
commands:
- mkdir -p /app/lib/dotnet
- mkdir -p /app/bin
- cp -r /usr/lib/sdk/dotnet8/lib/{dotnet,host,shared} /app/lib/dotnet
- ln -s /app/lib/dotnet/dotnet /app/bin/dotnet
dest-filename: install.sh
- type: script
commands:
- /usr/lib/sdk/dotnet8/bin/install.sh
- cp -r /usr/lib/sdk/dotnet8/lib/sdk /app/lib/dotnet
dest-filename: install-sdk.sh
- type: script
commands:
- export PATH=$PATH:/usr/lib/sdk/dotnet8/bin
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/sdk/dotnet8/lib
- export DOTNET_CLI_TELEMETRY_OPTOUT=true
- export DOTNET_NOLOGO=true
- export DOTNET_ROOT=/usr/lib/sdk/dotnet8/lib
dest-filename: enable.sh
- type: file
path: org.freedesktop.Sdk.Extension.dotnet8.appdata.xml