-
Notifications
You must be signed in to change notification settings - Fork 0
/
ua.org.brezblock.q4wine.yml
160 lines (154 loc) · 5.05 KB
/
ua.org.brezblock.q4wine.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
id: ua.org.brezblock.q4wine
runtime: org.kde.Platform
sdk: org.kde.Sdk
runtime-version: 5.15-24.08
base: org.winehq.Wine
base-version: stable-24.08
command: q4wine
rename-icon: q4wine
rename-desktop-file: q4wine.desktop
finish-args:
- --allow=devel # For Wine crash handling
- --allow=multiarch
- --device=all
- --env=GST_PLUGIN_SYSTEM_PATH=/app/lib32/gstreamer-1.0:/app/lib/gstreamer-1.0:/usr/lib/i386-linux-gnu/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
- --env=WINEDLLPATH=/app/dlls/lib32:/app/dlls/lib:/app/lib32/wine/wined3d:/app/lib/wine/wined3d
- --env=WINEPREFIX=/var/data/wine
- --filesystem=xdg-desktop
- --filesystem=xdg-documents
- --filesystem=xdg-download
- --filesystem=xdg-music
- --filesystem=xdg-pictures
- --filesystem=xdg-videos
- --persist=.wine
- --share=ipc
- --share=network
- --socket=pulseaudio
- --socket=wayland
- --socket=x11
- --system-talk-name=org.freedesktop.NetworkManager
- --system-talk-name=org.freedesktop.UDisks2
- --talk-name=org.freedesktop.Notifications
cleanup:
- '*.a'
- '*.la'
- /include
- /lib/cmake
- /lib/pkgconfig
- /lib32/cmake
- /lib32/pkgconfig
- /share/doc
- /share/man
inherit-extensions:
- org.freedesktop.Platform.Compat.i386
- org.freedesktop.Platform.ffmpeg_full.i386
- org.freedesktop.Platform.ffmpeg-full
- org.freedesktop.Platform.GL32
- org.freedesktop.Platform.VAAPI.Intel.i386
- org.winehq.Wine.DLLs
- org.winehq.Wine.gecko
- org.winehq.Wine.mono
add-extensions:
com.valvesoftware.Steam.Utility:
subdirectories: true
directory: utils
versions: stable;beta;test;master
add-ld-path: lib
merge-dirs: share/vulkan/explicit_layer.d;share/vulkan/implicit_layer.d;
no-autodownload: true
autodelete: false
modules:
- name: q4wine
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DLIBS_ENTRY_PATH=/app/lib
- -DWITH_DBUS=ON
post-install:
# Add appstream metadata manifest for Linux
# https://github.com/brezerk/q4wine/pull/194
- install -Dm644 -t /app/share/appdata/ ${FLATPAK_ID}.appdata.xml
sources:
- type: git
url: https://github.com/brezerk/q4wine.git
tag: v1.3.13
commit: 6b9831ce41841b1e08fa43f7214f3829b8952171
- type: file
path: ua.org.brezblock.q4wine.appdata.xml
x-checker-data:
type: json
url: https://api.github.com/repos/brezerk/q4wine/releases/latest
tag-query: .tag_name
timestamp-query: .published_at
modules:
- name: fuseiso
sources:
- type: archive
url: https://downloads.sourceforge.net/fuseiso/fuseiso-20070708.tar.bz2
sha256: 8b242e077d66cd20900c59c905ff90b4c934b0613dd5a20facb0b1260ac5fd88
modules:
- name: libfuse
config-opts:
- --enable-lib
build-options:
env:
MOUNT_FUSE_PATH: /app/bin
INIT_D_PATH: /app/etc/init.d
UDEV_RULES_PATH: /app/etc/udev/rules.d
sources:
- type: archive
url: https://github.com/libfuse/libfuse/archive/fuse-2.9.9.tar.gz
sha256: e57a24721177c3b3dd71cb9239ca46b4dee283db9388d48f7ccd256184982194
- type: shell
commands:
- ./makeconf.sh
- type: patch
paths:
- fuse-closefrom.patch
cleanup:
- /etc
- /include
- /lib/pkgconfig
- name: icoutils
sources:
- type: archive
url: http://savannah.nongnu.org/download/icoutils/icoutils-0.32.3.tar.bz2
sha256: 17abe02d043a253b68b47e3af69c9fc755b895db68fdc8811786125df564c6e0
- name: konsole
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/KDE/konsole/archive/v22.04.3.tar.gz
sha256: 603e5961d4ddde3bb3193941667ce387c878e6862684d78e9bc7fecea1bc3c34
cleanup:
- /share/applications
- /share/khotkeys
- /share/knotifications5
- /share/kservices5
- /share/kservicetypes5
- /share/metainfo
- name: q4wine-app-environment
buildsystem: simple
build-commands:
- mkdir -p /app/utils /app/share/vulkan
- ln -srv /app/{utils/,}share/vulkan/explicit_layer.d
- ln -srv /app/{utils/,}share/vulkan/implicit_layer.d
- install -Dm755 pkexec.sh /app/bin/pkexec
- install -Dm755 sudo.sh /app/bin/sudo
- ln -s /usr/bin/false /app/bin/mount
- ln -s /usr/bin/false /app/bin/umount
sources:
- type: script
dest-filename: pkexec.sh
commands:
- |
zenity --error --no-wrap \
--title="Command unavailable" \
--text="Running $0 is not possible in flatpak sandbox; command was: $*"
exit 1
- type: script
dest-filename: sudo.sh
commands:
- |
echo "Running sudo is not possible in flatpak sandbox; command was: $*" > /dev/stderr
exit 1