2024-07-23 03:29:43 -07:00
|
|
|
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
|
|
|
|
version: 1
|
|
|
|
script:
|
|
|
|
- rm -rf AppDir || true
|
|
|
|
- rm -rf build || true
|
2024-07-23 16:29:28 -07:00
|
|
|
- rm -rf appimage-build
|
|
|
|
- flutter pub get
|
2024-07-23 03:29:43 -07:00
|
|
|
- flutter build linux
|
|
|
|
- cp -r build/linux/x64/release/bundle AppDir
|
|
|
|
- mkdir -p AppDir/usr/share/icons/hicolor/64x64/apps
|
|
|
|
- cp Icons/PNG/nbteditor.png AppDir/usr/share/icons/hicolor/64x64/apps/
|
|
|
|
AppDir:
|
2024-07-23 16:47:52 -07:00
|
|
|
path: $PWD/AppDir
|
2024-07-23 03:29:43 -07:00
|
|
|
app_info:
|
|
|
|
id: dev.zontreck.nbteditor
|
|
|
|
name: NBT Editor
|
|
|
|
icon: nbteditor
|
|
|
|
version: latest
|
|
|
|
exec: nbteditor
|
|
|
|
exec_args: $@
|
2024-07-23 16:29:28 -07:00
|
|
|
apt:
|
|
|
|
arch:
|
|
|
|
- amd64
|
|
|
|
allow_unauthenticated: true
|
|
|
|
sources:
|
|
|
|
- sourceline: deb http://deb.debian.org/debian/ bookworm main non-free-firmware
|
|
|
|
- sourceline: deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
|
|
|
|
- sourceline: deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
|
|
|
|
include:
|
|
|
|
- libc6:amd64
|
|
|
|
- libgtk-3-0
|
|
|
|
- libgtk-4-1
|
|
|
|
- libwayland-bin
|
|
|
|
- libwayland-cursor0
|
2024-07-23 03:29:43 -07:00
|
|
|
files:
|
|
|
|
include:
|
|
|
|
- /lib64/ld-linux-x86-64.so.2
|
|
|
|
exclude:
|
|
|
|
- usr/share/man
|
|
|
|
- usr/share/doc/*/README.*
|
|
|
|
- usr/share/doc/*/changelog.*
|
|
|
|
- usr/share/doc/*/NEWS.*
|
|
|
|
- usr/share/doc/*/TODO.*
|
|
|
|
AppImage:
|
|
|
|
arch: x86_64
|
|
|
|
update-information: guess
|