-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.github.Adda0.Stardrop.yaml
69 lines (69 loc) · 2.49 KB
/
io.github.Adda0.Stardrop.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
app-id: io.github.Adda0.Stardrop
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.dotnet7
build-options:
append-path: /usr/lib/sdk/dotnet7/bin
append-ld-library-path: /usr/lib/sdk/dotnet7/lib
prepend-pkg-config-path: /usr/lib/sdk/dotnet7/lib/pkgconfig
command: "Stardrop"
finish-args:
- "--socket=x11"
- "--share=ipc"
- "--share=network"
- "--device=dri"
- "--filesystem=home"
- "--socket=pulseaudio"
modules:
# Taken from https://github.com/flathub/com.unity.UnityHub/blob/af171c1ee22994e7ef698004bd44ba7e8bc71cf0/openssl-1.1.yaml.
- name: openssl-1.1
buildsystem: simple
build-commands:
- ./config --prefix=/app
- make -j $FLATPAK_BUILDER_N_JOBS
- make install
cleanup:
- /share/doc
- /share/man
- '*.a'
# Don't mask CLI tools provided by runtime - we just want the versioned shared library
- /bin
# Don't mask unversion library symlinks from library
- /lib/libcrypto.so
- /lib/libssl.so
sources:
- type: archive
url: https://www.openssl.org/source/openssl-1.1.1w.tar.gz
sha256: cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8
x-checker-data:
type: anitya
project-id: 20333
url-template: https://www.openssl.org/source/openssl-$version.tar.gz
- name: Stardrop
buildsystem: simple
build-commands:
- "install-sdk.sh"
- "dotnet publish -c Release --source ./nuget-sources Stardrop/Stardrop.csproj --self-contained true"
- cp -r --remove-destination /run/build/Stardrop/Stardrop/bin/Release/linux-*/publish/* /app/bin/
sources:
- nuget-sources.json
- type: archive
url: "https://github.com/Adda0/Stardrop/archive/refs/tags/v1.2.1-custom_adda.3.tar.gz"
sha256: 6114675290b14df82ed76b3a77e2edc280c627876b611e819d6f3cab605a7dad
- type: file
path: global.json
- name: Meta
buildsystem: simple
build-commands:
- install -Dm644 $FLATPAK_ID.metainfo.xml /app/share/metainfo/$FLATPAK_ID.metainfo.xml
- install -Dm644 $FLATPAK_ID.desktop /app/share/applications/$FLATPAK_ID.desktop
- install -Dm644 Stardrop_512x512x32.png /app/share/icons/hicolor/512x512/apps/$FLATPAK_ID.png
sources:
- type: file
path: io.github.Adda0.Stardrop.metainfo.xml
- type: file
path: io.github.Adda0.Stardrop.desktop
- type: file
path: Stardrop_512x512x32.png