remove ia64 keywords
[gentoo-zh.git] / games-arcade / osu-lazer / osu-lazer-2024.1208.0.ebuild
blob73175fb53fa09661f0e9163d90c11680e741f364
1 # Copyright 2023-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 DOTNET_PKG_COMPAT=8.0
7 NUGETS="
8 automapper@12.0.1
9 automapper@13.0.1
10 diffplex@1.7.2
11 discordrichpresence@1.2.1.24
12 ffmpeg.autogen@4.3.0.1
13 fody@6.8.0
14 hidsharpcore@1.2.1.1
15 htmlagilitypack@1.11.59
16 htmlagilitypack@1.11.70
17 humanizer.core.af@2.14.1
18 humanizer.core.ar@2.14.1
19 humanizer.core.az@2.14.1
20 humanizer.core.bg@2.14.1
21 humanizer.core.bn-bd@2.14.1
22 humanizer.core.cs@2.14.1
23 humanizer.core.da@2.14.1
24 humanizer.core.de@2.14.1
25 humanizer.core.el@2.14.1
26 humanizer.core.es@2.14.1
27 humanizer.core.fa@2.14.1
28 humanizer.core.fi-fi@2.14.1
29 humanizer.core.fr-be@2.14.1
30 humanizer.core.fr@2.14.1
31 humanizer.core.he@2.14.1
32 humanizer.core.hr@2.14.1
33 humanizer.core.hu@2.14.1
34 humanizer.core.hy@2.14.1
35 humanizer.core.id@2.14.1
36 humanizer.core.is@2.14.1
37 humanizer.core.it@2.14.1
38 humanizer.core.ja@2.14.1
39 humanizer.core.ko-kr@2.14.1
40 humanizer.core.ku@2.14.1
41 humanizer.core.lv@2.14.1
42 humanizer.core.ms-my@2.14.1
43 humanizer.core.mt@2.14.1
44 humanizer.core.nb-no@2.14.1
45 humanizer.core.nb@2.14.1
46 humanizer.core.nl@2.14.1
47 humanizer.core.pl@2.14.1
48 humanizer.core.pt@2.14.1
49 humanizer.core.ro@2.14.1
50 humanizer.core.ru@2.14.1
51 humanizer.core.sk@2.14.1
52 humanizer.core.sl@2.14.1
53 humanizer.core.sr-latn@2.14.1
54 humanizer.core.sr@2.14.1
55 humanizer.core.sv@2.14.1
56 humanizer.core.th-th@2.14.1
57 humanizer.core.tr@2.14.1
58 humanizer.core.uk@2.14.1
59 humanizer.core.uz-cyrl-uz@2.14.1
60 humanizer.core.uz-latn-uz@2.14.1
61 humanizer.core.vi@2.14.1
62 humanizer.core.zh-cn@2.14.1
63 humanizer.core.zh-hans@2.14.1
64 humanizer.core.zh-hant@2.14.1
65 humanizer.core@2.14.1
66 humanizer@2.14.1
67 jetbrains.annotations@2023.3.0
68 managed-midi@1.10.1
69 markdig@0.23.0
70 messagepack.annotations@2.5.140
71 messagepack.annotations@2.5.187
72 messagepack@2.5.140
73 messagepack@2.5.187
74 microsoft.aspnetcore.connections.abstractions@7.0.15
75 microsoft.aspnetcore.connections.abstractions@8.0.10
76 microsoft.aspnetcore.http.connections.client@7.0.15
77 microsoft.aspnetcore.http.connections.client@8.0.10
78 microsoft.aspnetcore.http.connections.common@7.0.15
79 microsoft.aspnetcore.http.connections.common@8.0.10
80 microsoft.aspnetcore.signalr.client.core@7.0.15
81 microsoft.aspnetcore.signalr.client.core@8.0.10
82 microsoft.aspnetcore.signalr.client@7.0.15
83 microsoft.aspnetcore.signalr.client@8.0.10
84 microsoft.aspnetcore.signalr.common@7.0.15
85 microsoft.aspnetcore.signalr.common@8.0.10
86 microsoft.aspnetcore.signalr.protocols.json@7.0.15
87 microsoft.aspnetcore.signalr.protocols.json@8.0.10
88 microsoft.aspnetcore.signalr.protocols.messagepack@7.0.15
89 microsoft.aspnetcore.signalr.protocols.messagepack@8.0.10
90 microsoft.aspnetcore.signalr.protocols.newtonsoftjson@7.0.15
91 microsoft.aspnetcore.signalr.protocols.newtonsoftjson@8.0.10
92 microsoft.codeanalysis.bannedapianalyzers@3.3.4
93 microsoft.csharp@4.5.0
94 microsoft.csharp@4.7.0
95 microsoft.data.sqlite.core@7.0.12
96 microsoft.data.sqlite.core@8.0.10
97 microsoft.diagnostics.netcore.client@0.2.61701
98 microsoft.diagnostics.runtime@2.0.161401
99 microsoft.dotnet.platformabstractions@2.0.3
100 microsoft.extensions.configuration.abstractions@7.0.0
101 microsoft.extensions.configuration.abstractions@8.0.0
102 microsoft.extensions.dependencyinjection.abstractions@6.0.0
103 microsoft.extensions.dependencyinjection.abstractions@6.0.0-rc.1.21451.13
104 microsoft.extensions.dependencyinjection.abstractions@7.0.0
105 microsoft.extensions.dependencyinjection.abstractions@8.0.0
106 microsoft.extensions.dependencyinjection.abstractions@8.0.2
107 microsoft.extensions.dependencyinjection@6.0.0-rc.1.21451.13
108 microsoft.extensions.dependencyinjection@7.0.0
109 microsoft.extensions.dependencyinjection@8.0.1
110 microsoft.extensions.dependencymodel@2.0.3
111 microsoft.extensions.features@7.0.15
112 microsoft.extensions.features@8.0.10
113 microsoft.extensions.logging.abstractions@7.0.0
114 microsoft.extensions.logging.abstractions@7.0.1
115 microsoft.extensions.logging.abstractions@8.0.0
116 microsoft.extensions.logging.abstractions@8.0.2
117 microsoft.extensions.logging@7.0.0
118 microsoft.extensions.logging@8.0.1
119 microsoft.extensions.objectpool@5.0.11
120 microsoft.extensions.options@6.0.0
121 microsoft.extensions.options@7.0.0
122 microsoft.extensions.options@7.0.1
123 microsoft.extensions.options@8.0.2
124 microsoft.extensions.primitives@6.0.0
125 microsoft.extensions.primitives@7.0.0
126 microsoft.extensions.primitives@8.0.0
127 microsoft.net.stringtools@17.6.3
128 microsoft.netcore.platforms@1.0.1
129 microsoft.netcore.platforms@1.1.0
130 microsoft.netcore.platforms@2.0.0
131 microsoft.netcore.platforms@5.0.0
132 microsoft.netcore.targets@1.0.1
133 microsoft.netcore.targets@1.1.0
134 microsoft.toolkit.highperformance@7.1.2
135 microsoft.win32.primitives@4.3.0
136 microsoft.win32.registry@4.5.0
137 microsoft.win32.registry@5.0.0
138 mongodb.bson@2.19.1
139 nativelibraryloader@1.0.13
140 netstandard.library@1.6.1
141 netstandard.library@2.0.0
142 newtonsoft.json@13.0.1
143 newtonsoft.json@13.0.3
144 nuget.common@5.11.0
145 nuget.configuration@5.11.0
146 nuget.dependencyresolver.core@5.11.0
147 nuget.frameworks@5.11.0
148 nuget.librarymodel@5.11.0
149 nuget.packaging@5.11.0
150 nuget.projectmodel@5.11.0
151 nuget.protocol@5.11.0
152 nuget.versioning@5.11.0
153 nuget.versioning@6.10.1
154 nuget.versioning@6.12.1
155 nunit@3.14.0
156 opentabletdriver.configurations@0.6.4
157 opentabletdriver.native@0.6.4
158 opentabletdriver.plugin@0.6.4
159 opentabletdriver@0.6.4
160 polysharp@1.10.0
161 ppy.localisationanalyser@2024.802.0
162 ppy.managedbass.fx@2022.1216.0
163 ppy.managedbass.mix@2022.1216.0
164 ppy.managedbass.wasapi@2022.1216.0
165 ppy.managedbass@2022.1216.0
166 ppy.osu.framework.nativelibs@2024.809.1-nativelibs
167 ppy.osu.framework.sourcegeneration@2023.720.0
168 ppy.osu.framework.sourcegeneration@2024.1128.0
169 ppy.osu.framework@2024.1009.0
170 ppy.osu.framework@2024.1115.0
171 ppy.osu.framework@2024.1206.0
172 ppy.osu.game.resources@2024.1003.0
173 ppy.osu.game.resources@2024.1106.0
174 ppy.osu.game.resources@2024.1202.0
175 ppy.osutk.ns20@1.0.211
176 ppy.sdl2-cs@1.0.741-alpha
177 ppy.sdl3-cs@2024.1022.0
178 ppy.sdl3-cs@2024.1128.0
179 ppy.sdl3-cs@2024.916.0
180 ppy.veldrid.metalbindings@4.9.62-gca0239da6b
181 ppy.veldrid.openglbindings@4.9.62-gca0239da6b
182 ppy.veldrid.spirv@1.0.15-gfbb03d21c2
183 ppy.veldrid@4.9.62-gca0239da6b
184 ppy.vk@1.0.26
185 realm.platformhelpers@11.5.0
186 realm@11.5.0
187 remotion.linq@2.2.0
188 runtime.any.system.collections@4.3.0
189 runtime.any.system.diagnostics.tools@4.3.0
190 runtime.any.system.diagnostics.tracing@4.3.0
191 runtime.any.system.globalization.calendars@4.3.0
192 runtime.any.system.globalization@4.3.0
193 runtime.any.system.io@4.3.0
194 runtime.any.system.reflection.extensions@4.3.0
195 runtime.any.system.reflection.primitives@4.3.0
196 runtime.any.system.reflection@4.3.0
197 runtime.any.system.resources.resourcemanager@4.3.0
198 runtime.any.system.runtime.handles@4.3.0
199 runtime.any.system.runtime.interopservices@4.3.0
200 runtime.any.system.runtime@4.3.0
201 runtime.any.system.text.encoding.extensions@4.3.0
202 runtime.any.system.text.encoding@4.3.0
203 runtime.any.system.threading.tasks@4.3.0
204 runtime.any.system.threading.timer@4.3.0
205 runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0
206 runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0
207 runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0
208 runtime.native.system.io.compression@4.3.0
209 runtime.native.system.net.http@4.3.0
210 runtime.native.system.net.security@4.3.0
211 runtime.native.system.security.cryptography.apple@4.3.0
212 runtime.native.system.security.cryptography.openssl@4.3.0
213 runtime.native.system@4.0.0
214 runtime.native.system@4.3.0
215 runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0
216 runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.0
217 runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple@4.3.0
218 runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
219 runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.0
220 runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
221 runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
222 runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
223 runtime.unix.microsoft.win32.primitives@4.3.0
224 runtime.unix.system.console@4.3.0
225 runtime.unix.system.diagnostics.debug@4.3.0
226 runtime.unix.system.io.filesystem@4.3.0
227 runtime.unix.system.net.primitives@4.3.0
228 runtime.unix.system.net.sockets@4.3.0
229 runtime.unix.system.private.uri@4.3.0
230 runtime.unix.system.runtime.extensions@4.3.0
231 sentry@4.13.0
232 sentry@4.3.0
233 sharpcompress@0.36.0
234 sharpcompress@0.38.0
235 sharpfnt@2.0.0
236 sharpgen.runtime.com@2.0.0-beta.13
237 sharpgen.runtime@2.0.0-beta.13
238 sixlabors.imagesharp@3.1.5
239 sqlitepclraw.bundle_e_sqlite3@2.1.10
240 sqlitepclraw.bundle_e_sqlite3@2.1.8
241 sqlitepclraw.core@2.1.10
242 sqlitepclraw.core@2.1.4
243 sqlitepclraw.core@2.1.6
244 sqlitepclraw.core@2.1.8
245 sqlitepclraw.lib.e_sqlite3@2.1.10
246 sqlitepclraw.lib.e_sqlite3@2.1.8
247 sqlitepclraw.provider.e_sqlite3@2.1.10
248 sqlitepclraw.provider.e_sqlite3@2.1.8
249 stbisharp@1.1.0
250 system.appcontext@4.1.0
251 system.appcontext@4.3.0
252 system.buffers@4.3.0
253 system.buffers@4.5.1
254 system.collections.concurrent@4.3.0
255 system.collections.immutable@1.7.1
256 system.collections@4.0.11
257 system.collections@4.3.0
258 system.componentmodel.annotations@5.0.0
259 system.console@4.3.0
260 system.diagnostics.debug@4.0.11
261 system.diagnostics.debug@4.3.0
262 system.diagnostics.diagnosticsource@4.3.0
263 system.diagnostics.tools@4.3.0
264 system.diagnostics.tracing@4.3.0
265 system.dynamic.runtime@4.0.11
266 system.dynamic.runtime@4.3.0
267 system.formats.asn1@5.0.0
268 system.globalization.calendars@4.3.0
269 system.globalization.extensions@4.3.0
270 system.globalization@4.0.11
271 system.globalization@4.3.0
272 system.io.compression.zipfile@4.3.0
273 system.io.compression@4.3.0
274 system.io.filesystem.primitives@4.3.0
275 system.io.filesystem@4.0.1
276 system.io.filesystem@4.3.0
277 system.io.packaging@8.0.1
278 system.io.pipelines@7.0.0
279 system.io.pipelines@8.0.0
280 system.io@4.1.0
281 system.io@4.3.0
282 system.linq.expressions@4.1.0
283 system.linq.expressions@4.3.0
284 system.linq.queryable@4.0.1
285 system.linq@4.1.0
286 system.linq@4.3.0
287 system.memory@4.5.3
288 system.memory@4.5.4
289 system.memory@4.5.5
290 system.net.http@4.3.0
291 system.net.nameresolution@4.3.0
292 system.net.primitives@4.3.0
293 system.net.security@4.3.0
294 system.net.sockets@4.3.0
295 system.net.webheadercollection@4.3.0
296 system.net.websockets.client@4.3.2
297 system.net.websockets@4.3.0
298 system.numerics.tensors@8.0.0
299 system.objectmodel@4.0.12
300 system.objectmodel@4.3.0
301 system.private.uri@4.3.0
302 system.reflection.emit.ilgeneration@4.0.1
303 system.reflection.emit.ilgeneration@4.3.0
304 system.reflection.emit.lightweight@4.0.1
305 system.reflection.emit.lightweight@4.3.0
306 system.reflection.emit@4.0.1
307 system.reflection.emit@4.3.0
308 system.reflection.extensions@4.0.1
309 system.reflection.extensions@4.3.0
310 system.reflection.metadata@1.8.1
311 system.reflection.primitives@4.0.1
312 system.reflection.primitives@4.3.0
313 system.reflection.typeextensions@4.1.0
314 system.reflection.typeextensions@4.3.0
315 system.reflection@4.1.0
316 system.reflection@4.3.0
317 system.resources.resourcemanager@4.0.1
318 system.resources.resourcemanager@4.3.0
319 system.runtime.compilerservices.unsafe@4.7.1
320 system.runtime.compilerservices.unsafe@6.0.0
321 system.runtime.compilerservices.unsafe@6.0.0-rc.1.21451.13
322 system.runtime.extensions@4.1.0
323 system.runtime.extensions@4.3.0
324 system.runtime.handles@4.3.0
325 system.runtime.interopservices.runtimeinformation@4.0.0
326 system.runtime.interopservices.runtimeinformation@4.3.0
327 system.runtime.interopservices@4.3.0
328 system.runtime.numerics@4.3.0
329 system.runtime@4.1.0
330 system.runtime@4.3.0
331 system.security.accesscontrol@4.5.0
332 system.security.accesscontrol@5.0.0
333 system.security.claims@4.3.0
334 system.security.cryptography.algorithms@4.3.0
335 system.security.cryptography.cng@4.3.0
336 system.security.cryptography.cng@5.0.0
337 system.security.cryptography.csp@4.3.0
338 system.security.cryptography.encoding@4.3.0
339 system.security.cryptography.openssl@4.3.0
340 system.security.cryptography.pkcs@5.0.0
341 system.security.cryptography.primitives@4.3.0
342 system.security.cryptography.protecteddata@4.4.0
343 system.security.cryptography.x509certificates@4.3.0
344 system.security.principal.windows@4.3.0
345 system.security.principal.windows@4.5.0
346 system.security.principal.windows@5.0.0
347 system.security.principal@4.3.0
348 system.text.encoding.extensions@4.3.0
349 system.text.encoding@4.0.11
350 system.text.encoding@4.3.0
351 system.text.regularexpressions@4.3.0
352 system.threading.channels@6.0.0
353 system.threading.channels@7.0.0
354 system.threading.channels@8.0.0
355 system.threading.tasks.extensions@4.3.0
356 system.threading.tasks@4.0.11
357 system.threading.tasks@4.3.0
358 system.threading.threadpool@4.3.0
359 system.threading.timer@4.3.0
360 system.threading@4.0.11
361 system.threading@4.3.0
362 system.xml.readerwriter@4.3.0
363 system.xml.xdocument@4.3.0
364 taglibsharp@2.3.0
365 velopack@0.0.630-g9c52e40
366 velopack@0.0.915
367 vortice.d3dcompiler@2.4.2
368 vortice.direct3d11@2.4.2
369 vortice.directx@2.4.2
370 vortice.dxgi@2.4.2
371 vortice.mathematics@1.4.25
372 zstdsharp.port@0.7.4
373 zstdsharp.port@0.8.1
376 inherit dotnet-pkg desktop xdg
378 DESCRIPTION="rhythm is just a *click* away! "
379 HOMEPAGE="
380 https://osu.ppy.sh
381 https://github.com/ppy/osu
384 SRC_URI="
385 https://github.com/ppy/osu/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
386 ${NUGET_URIS}
388 S="${WORKDIR}/osu-${PV}"
389 LICENSE="MIT CC-BY-NC-4.0"
390 # Dependent NuGet licenses
391 LICENSE+="
392 Apache-2.0 BSD-2 LGPL-2.1 LGPL-3+ MIT
394 SLOT="0"
395 # updtream supported runtime:
396 # linux-{,musl-}{arm,arm64,x64,x86}
397 # only tested on linux-x64
398 KEYWORDS="~amd64"
400 DEPEND="
401 virtual/dotnet-sdk:8.0
403 RDEPEND="
404 ${DEPEND}
405 dev-util/desktop-file-utils
406 media-libs/alsa-lib
407 media-video/ffmpeg
408 media-libs/libsdl2
409 virtual/opengl
411 BDEPEND="${DEPEND}"
413 DOTNET_PKG_PROJECTS=( "${S}/osu.Desktop/osu.Desktop.csproj" )
415 DOCS=( README.md )
417 src_configure() {
418 dotnet-pkg-base_info
419 dotnet-pkg_foreach-project dotnet-pkg-base_restore
420 # skip **dotnet-pkg-base_foreach-solution** here
421 # avoid requiring non-linux workloads
424 src_compile() {
425 DOTNET_PKG_BUILD_EXTRA_ARGS+=(
426 -f net8.0
427 -p:Version="${PV}"
429 dotnet-pkg_src_compile
432 src_install() {
433 dotnet-pkg-base_install
434 dotnet-pkg-base_append-launchervar "OSU_EXTERNAL_UPDATE_PROVIDER=\"1\""
435 dotnet-pkg-base_dolauncher "/usr/share/${P}/osu!" osu-lazer
437 newicon -s 128 assets/lazer-nuget.png osu-lazer.png
438 newicon -s 1024 assets/lazer.png osu-lazer.png
439 domenu "${FILESDIR}/osu-lazer.desktop"
441 insinto "/usr/share/mime/packages"
442 doins "${FILESDIR}/x-osu-lazer.xml"
444 einstalldocs