29 lines
1.1 KiB
YAML
29 lines
1.1 KiB
YAML
flatpak:
|
|
id: org.fedoraproject.Sdk.Extension.dotnet10
|
|
branch: f44
|
|
build-extension: true
|
|
runtime: org.fedoraproject.Sdk
|
|
runtime-version: f44
|
|
sdk: org.fedoraproject.Sdk
|
|
name: f44/dotnet10.0
|
|
component: dotnet10.0-flatpak
|
|
packages:
|
|
- dotnet-host
|
|
- dotnet-runtime-10.0
|
|
- dotnet-runtime-dbg-10.0
|
|
- dotnet-sdk-10.0
|
|
- dotnet-sdk-dbg-10.0
|
|
- aspnetcore-runtime-dbg-10.0
|
|
- dotnet-sdk-10.0-flatpak-config
|
|
- name: dotnet-sdk-aot-10.0
|
|
platforms:
|
|
only: [aarch64, x86_64]
|
|
# for cleanup-commands (part of runtime)
|
|
- coreutils-single
|
|
cleanup-commands: |
|
|
mkdir -p /app/bin /app/lib/
|
|
mv /usr/lib64/dotnet/* /app/lib/
|
|
ln -s ../lib/dotnet /app/bin/
|
|
echo -e "#!/bin/sh\nmkdir -p /app/bin /app/lib/dotnet\ncp -r /usr/lib/sdk/dotnet10/lib/{dotnet,host,shared} /app/lib/dotnet/\nln -s ../lib/dotnet/dotnet /app/bin/" > /app/bin/install.sh
|
|
echo -e "#!/bin/sh\n/usr/lib/sdk/dotnet10/bin/install.sh\ncp -r /usr/lib/sdk/dotnet10/lib/sdk /app/lib/dotnet/" > /app/bin/install-sdk.sh
|
|
chmod +x /app/bin/install.sh /app/bin/install-sdk.sh
|