-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcom.dosbox_x.DOSBox-X.yaml
71 lines (63 loc) · 1.91 KB
/
com.dosbox_x.DOSBox-X.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
---
app-id: com.dosbox_x.DOSBox-X
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: dosbox-x
finish-args: # flatpak permissions
- --device=all # needed for OpenGL, gamepads and serial/parallel
- --share=ipc # needed for X11
- --share=network # Needed for IPX and serial over TCP/IP
- --socket=x11 # default to X11, as Gnome does not provide SSD
- --socket=pulseaudio
- --filesystem=home
cleanup:
- '/include'
- '/lib/pkgconfig'
- '/share/aclocal'
- '/share/man'
- '*.la'
- '*.a'
- '/share/doc'
modules:
# Build Mesa GLU
- "shared-modules/glu/glu-9.json"
# Build FluidSynth for General MIDI emulation
- "shared-modules/linux-audio/fluidsynth2.json"
# Build libslirp for TCP/IP networking
- name: libslirp
buildsystem: meson
cleanup:
- "/include"
- "/lib/pkgconfig"
sources:
- type: git
url: https://gitlab.freedesktop.org/slirp/libslirp
tag: "v4.7.0"
x-checker-data:
type: anitya
project-id: 96796
stable-only: true
tag-template: v$version
# Build DOSBox-X SDL2
- name: dosbox-x
buildsystem: autotools
config-opts:
- --enable-core-inline
- --enable-sdl2
sources:
- type: git
url: https://github.com/joncampbell123/dosbox-x
tag: "dosbox-x-v2025.02.01"
- type: file
path: com.dosbox_x.DOSBox-X.metainfo.xml
x-checker-data:
type: anitya
project-id: 242383
stable-only: true
tag-template: dosbox-x-v$version
post-install:
- install -Dm644 /app/share/icons/hicolor/scalable/apps/dosbox-x.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
- desktop-file-edit --set-key=Icon --set-value=${FLATPAK_ID} /app/share/applications/${FLATPAK_ID}.desktop
- install -Dm644 com.dosbox_x.DOSBox-X.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml
...