forked from mmtrt/WINE_AppImage
-
Notifications
You must be signed in to change notification settings - Fork 2
/
wine-bottles.yml
108 lines (97 loc) · 3.38 KB
/
wine-bottles.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
version: 1
script:
# Remove any previous build cache data
- rm -rf AppDir appimage-builder-cache/var/cache/apt/archives/*wine* || true
- mkdir AppDir && cp wrapper AppDir
# Add winetricks
- wget -q "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -P ./AppDir/bin && chmod +x ./AppDir/bin/winetricks
# Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x
- mkdir -p AppDir/usr/share/icons ; cp doc/logo-wine.svg AppDir/usr/share/icons/wine.svg
# Include runner
- ./fetch.sh "BOTTLES_RUNNER"
AppDir:
path: ./AppDir
app_info:
id: org.winehq.wine
name: wine
icon: wine
version: staging
exec: bin/bash
exec_args: wrapper $@
apt:
arch: [amd64, i386]
sources:
- sourceline: 'deb http://archive.ubuntu.com/ubuntu/ kinetic main restricted universe multiverse'
- sourceline: 'deb http://archive.ubuntu.com/ubuntu/ kinetic-updates main restricted universe multiverse'
- sourceline: 'deb http://archive.ubuntu.com/ubuntu/ kinetic-backports main restricted universe multiverse'
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C'
- sourceline: 'deb https://dl.winehq.org/wine-builds/ubuntu/ kinetic main'
key_url: 'https://dl.winehq.org/wine-builds/winehq.key'
include:
- bash
- python3-pip
- cabextract
- cups
- dash
- perl
- coreutils
- mesa-utils
- unionfs-fuse
- vulkan-tools
- libc6
- libc6:i386
- libcups2
- libfreetype6
- libfreetype6:i386
- libfuse2
- libfuse3-3
- libmspack0
- gstreamer1.0-plugins-good:i386
- gstreamer1.0-plugins-bad:i386
- gstreamer1.0-plugins-ugly:i386
- libdrm2:i386
- libdrm-intel1:i386
- libdrm-nouveau2:i386
- libdrm-amdgpu1:i386
- libdrm-radeon1:i386
- libegl-mesa0:i386
- libegl1:i386
- libgbm1:i386
- libgl1:i386
- libgl1-mesa-dri:i386
- libglapi-mesa:i386
- libgles2:i386
- libglvnd0:i386
- libglx0:i386
- libglx-mesa0:i386
- mesa-vdpau-drivers:i386
- mesa-va-drivers:i386
- mesa-vulkan-drivers:i386
- libopenal1:i386
- libx11-6:i386
- libx11-xcb1:i386
- libxcb-dri2-0:i386
- libxcb-dri3-0:i386
- libxcb-glx0:i386
- libxcb-present0:i386
- libxcb-render0:i386
- libxcb-shape0:i386
- libxcb-shm0:i386
- libxcb-xfixes0:i386
- libxcb1:i386
after_bundle:
# this is executed after the packages and files are added
- |
# Disable FileOpenAssociations
sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/share/wine/wine.inf
# Disable winemenubuilder
sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/share/wine/wine.inf
sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/share/wine/wine.inf
runtime:
env:
LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/i386-linux-gnu/dri:${APPDIR}/usr/lib/x86_64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}'
path_mappings:
- /opt/wine-staging:$APPDIR/opt/wine-staging
AppImage:
#sign-key: None
arch: x86_64