fix(build): move appimage after_bundle to correct place
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@ -20,7 +20,15 @@ script:
|
||||
|
||||
AppDir:
|
||||
path: ./AppDir
|
||||
|
||||
after_bundle:
|
||||
# Документация, справка, примеры
|
||||
- rm -rf AppDir/usr/share/{man,doc,info,help,gtk-doc,devhelp,examples,pkgconfig} || true
|
||||
- rm -rf AppDir/usr/include || true
|
||||
- rm -rf AppDir/usr/lib/pkgconfig || true
|
||||
# Статика и отладка
|
||||
- find AppDir -type f \( -name '*.a' -o -name '*.la' -o -name '*.h' -o -name '*.cmake' -o -name '*.pdb' \) -delete || true
|
||||
# Strip ELF бинарников
|
||||
- find AppDir -type f -executable -exec file {} \; | grep ELF | cut -d: -f1 | xargs strip --strip-unneeded || true
|
||||
app_info:
|
||||
id: ru.linux_gaming.PortProtonQt
|
||||
name: PortProtonQt
|
||||
@ -28,13 +36,11 @@ AppDir:
|
||||
version: 0.1.3
|
||||
exec: usr/bin/python3
|
||||
exec_args: "-m portprotonqt.app $@"
|
||||
|
||||
apt:
|
||||
arch: amd64
|
||||
sources:
|
||||
- sourceline: 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse'
|
||||
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920d1991bc93c'
|
||||
|
||||
include:
|
||||
- python3-minimal
|
||||
- python3-pkg-resources
|
||||
@ -57,26 +63,12 @@ AppDir:
|
||||
# Дебаг-символы
|
||||
- "*-dbg"
|
||||
- "*-dbgsym"
|
||||
|
||||
runtime:
|
||||
env:
|
||||
PYTHONHOME: '${APPDIR}/usr'
|
||||
PYTHONPATH: '${APPDIR}/usr/local/lib/python3.10/dist-packages'
|
||||
PERLLIB: '${APPDIR}/usr/share/perl5:${APPDIR}/usr/lib/x86_64-linux-gnu/perl/5.34:${APPDIR}/usr/share/perl/5.34'
|
||||
|
||||
|
||||
after_bundle:
|
||||
# Документация, справка, примеры
|
||||
- rm -rf AppDir/usr/share/{man,doc,info,help,gtk-doc,devhelp,examples,pkgconfig} || true
|
||||
- rm -rf AppDir/usr/include || true
|
||||
- rm -rf AppDir/usr/lib/pkgconfig || true
|
||||
|
||||
# Статика и отладка
|
||||
- find AppDir -type f \( -name '*.a' -o -name '*.la' -o -name '*.h' -o -name '*.cmake' -o -name '*.pdb' \) -delete || true
|
||||
|
||||
# Strip ELF бинарников
|
||||
- find AppDir -type f -executable -exec file {} \; | grep ELF | cut -d: -f1 | xargs strip --strip-unneeded || true
|
||||
|
||||
AppImage:
|
||||
sign-key: None
|
||||
arch: x86_64
|
||||
|
Reference in New Issue
Block a user