-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppImageBuilder.yml
91 lines (82 loc) · 2.55 KB
/
AppImageBuilder.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
version: 1
script:
# Remove any previous build
- rm -rf AppDir
AppDir:
path: ./AppDir
after_bundle:
- |
python3 -m pip install chirp-*.whl --ignore-installed --prefix=/usr --root=./AppDir
cp AppDir/usr/local/lib/python3.10/dist-packages/chirp/share/chirp.png AppDir/usr/share/icons/
app_info:
id: com.danplanet.chirp
name: Chirp
icon: chirp
version: ${CHIRP_VERSION}
exec: usr/bin/python3
exec_args: "$APPDIR/usr/local/bin/chirp"
apt:
arch: ${TARGET_ARCH_APT}
sources:
- sourceline: ${SOURCE_LINE_1}
key_url: ${KEY_URL_1}
include:
- librsvg2-common
- python3-wxgtk4.0
- fontconfig
- fontconfig-config
- libcanberra-gtk3-module
- appmenu-gtk3-module
- libwayland-client0 # https://github.com/goldstar611/chirp-appimage/issues/7
exclude:
- libicu60
- humanity-icon-theme
- adwaita-icon-theme
- perl
- python3-numpy
files:
exclude:
- usr/lib/x86_64-linux-gnu/gconv
- usr/share/man
- usr/share/doc/
- usr/include
- usr/share/icons/ubuntu-mono-*
- usr/share/icons/hicolor
- usr/bin/openssl
- usr/bin/fc*
- usr/sbin/tzconfig
- usr/sbin/update-mime
- usr/sbin/update-ca-certificates
- usr/bin/run-mailcap
- usr/bin/cautious-launcher
- usr/bin/c_rehash
- usr/bin/see
- usr/bin/compose
- usr/bin/print
- usr/bin/edit
- usr/share/python3/runtime.d/public_modules.rtremove
- usr/share/python3/runtime.d/public_modules.rtinstall
- usr/lib/x86_64-linux-gnu/glib-2.0/gio-launch-desktop
- usr/lib/ssl/misc/tsget.pl
- usr/lib/ssl/misc/tsget
- usr/lib/ssl/misc/CA.pl
- usr/lib/mime/debian-view
runtime:
path_mappings:
- /usr/share/glib-2.0/schemas/:$APPDIR/usr/share/glib-2.0/schemas/
- /usr/share/themes/:$APPDIR/usr/share/themes/
- /usr/share/icons/:$APPDIR/usr/share/icons/
- /etc/fonts/:$APPDIR/etc/fonts/
- /etc/fonts/conf.d/:$APPDIR/etc/fonts/conf.d/
- /etc/fonts/conf.avail/:$APPDIR/etc/fonts/conf.avail/
env:
PYTHONHOME: $APPDIR/usr
PYTHONPATH: $APPDIR/usr/lib/python3/dist-packages:$APPDIR/usr/lib/python3.8/site-packages:$APPDIR/usr/lib/python3.10/site-packages
XDG_DATA_DIRS: $APPDIR/share:$XDG_DATA_DIRS
FONTCONFIG_FILE: $APPDIR/etc/fonts/fonts.conf
FONTCONFIG_PATH: $APPDIR/etc/fonts
AppImage:
sign-key: None
# https://github.com/AppImage/AppImageKit/releases/
arch: ${TARGET_ARCH_APPIMAGE}
comp: xz