-
Notifications
You must be signed in to change notification settings - Fork 1
/
com.github.thethink3r.winbox.yml
51 lines (45 loc) · 1.61 KB
/
com.github.thethink3r.winbox.yml
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
# Ref: https://gitlab.com/parcimonic/legendary-flatpak/-/blob/development/com.gitlab.parcimonic.legendary.yml
# Ref: https://raw.githubusercontent.com/flathub/org.winehq.Wine/fca5b6d6c5e95db3d2515c34c80c9333e2e3537d/org.winehq.Wine.yml
# Ref: https://ramsdenj.com/2018/03/26/packaging-pathofexile-with-flatpak.html
app-id: com.github.thethink3r.winbox
base: org.winehq.Wine
base-version: stable-22.08
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
finish-args:
- --share=ipc
- --socket=x11
- --socket=wayland
- --device=all
- --socket=pulseaudio
- --share=network
- --allow=multiarch
- --allow=devel
- --system-talk-name=org.freedesktop.UDisks2
- --system-talk-name=org.freedesktop.NetworkManager
- --filesystem=xdg-desktop
- --filesystem=xdg-documents
- --filesystem=xdg-download
command: winbox
add-extensions:
org.freedesktop.Platform.Compat.i386:
directory: lib/i386-linux-gnu
version: '22.08'
org.winehq.Wine.mono:
directory: share/wine/mono
bundle: true
modules:
- name: winbox
buildsystem: simple
sources:
- type: dir
path: "./include"
build-commands:
- install -D winbox.sh /app/bin/winbox
- install -D wine-breeze-dark.reg /app/wine-breeze-dark.reg
- install -D icon.png /app/exports/share/app-info/icons/flatpak/128x128/com.github.thethink3r.winbox.png
- install -D icon.svg /app/share/icons/hicolor/scalable/mimetypes/com.github.thethink3r.winbox.svg
- install -D com.github.thethink3r.winbox.desktop /app/share/applications/com.github.thethink3r.winbox.desktop
cleanup:
- './winbox'