-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnionswift_appimage.yml
109 lines (99 loc) · 2.78 KB
/
nionswift_appimage.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
# appimage-builder --recipe NionSwift.yml
version: 1
script:
# Remove any previous build
- rm -rf AppDir
- mkdir -p AppDir/usr/share/icons/hicolor/scalable/apps
- cp resources/NionSwift_Logo.svg AppDir/usr/share/icons/hicolor/scalable/apps
AppDir:
path: ./AppDir
app_info:
id: com.nion.nionswift
name: NionSwift
icon: NionSwift_Logo
version: 16.12.0
exec: usr/local/bin/NionSwiftLauncher/NionSwiftLauncher
apt:
arch: amd64
sources:
- sourceline: 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu focal main universe'
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
# Add "deadsnakes" PPA for more recent Python versions
- sourceline: 'deb [arch=amd64] http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main'
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xba6932366a755776'
include:
- python3.13
- python3.13-dev
- python3.13-venv
- libxcb-sync1
- libxcb-cursor0
exclude:
# from https://github.com/AppImageCommunity/pkg2appimage/blob/master/excludelist
# sorted
- ld-linux-x86-64.so.2
- ld-linux.so.2
- libBrokenLocale.so.1
- libEGL.so.1
- libGL.so.1
- libGLX.so.0
- libGLdispatch.so.0
- libICE.so.6
- libOpenGL.so.0
- libSM.so.6
- libX11-xcb.so.1
- libX11.so.6
- libanl.so.1
- libasound.so.2
- libc.so.6
- libcidn.so.1
- libcom_err.so.2
- libdl.so.2
- libdrm.so.2
- libexpat.so.1
- libfontconfig.so.1
- libfreetype.so.6
- libfribidi.so.0
- libgbm.so.1
- libgcc_s.so.1
- libglapi.so.0
- libgmp.so.10
- libgpg-error.so.0
- libgpg-error.so.0
- libharfbuzz.so.0
- libjack.so.0
- libm.so.6
- libmvec.so.1
- libnss_compat.so.2
- libnss_dns.so.2
- libnss_files.so.2
- libnss_hesiod.so.2
- libnss_nis.so.2
- libnss_nisplus.so.2
- libp11-kit.so.0
- libpthread.so.0
- libresolv.so.2
- librt.so.1
- libstdc++.so.6
- libthai.so.0
- libthread_db.so.1
- libusb-1.0.so.0
- libutil.so.1
- libuuid.so.1
- libxcb-dri2.so.0
- libxcb-dri3.so.0
- libxcb.so.1
- libz.so.1
after_bundle: |
APPDIR=./AppDir
wget https://bootstrap.pypa.io/get-pip.py
${APPDIR}/usr/bin/python3.13 get-pip.py
${APPDIR}/usr/bin/python3.13 -m pip install nionswift nionswift-usim nionswift-tool
ls -Rl ${APPDIR}
cp linux_toolconfig.toml ${APPDIR}/usr/local/bin/NionSwiftLauncher/toolconfig.toml
after_runtime: |
APPDIR=./AppDir
find ${APPDIR} -name qt6.conf -exec rm {} \;
AppImage:
arch: x86_64
sign-key: None
update-information: None