voxelcore/dev/AppImageBuilder.yml
alexei-zebra b6f6235249
Fix the issues found while reviewing the build files
Install the Wayland development packages in both workflows and bundle the
runtime libraries in the AppImage: the release build had no native Wayland
backend at all, and the engine silently fell back to GLFW there.

Build the window backends on every platform that is not Windows and not
Apple, glob the wayland sources with CONFIGURE_DEPENDS, and report a
missing Wayland dependency with the list of what is missing.

Also drop the dead nested project() calls and the duplicate -no-pie
option, make .dirIcon the file appimagetool expects, and describe the
real Linux dependencies in the README.
2026-10-11 20:06:19 +03:00

85 lines
2.3 KiB
YAML

version: 1
AppDir:
path: AppDir
app_info:
id: VoxelCore
name: VoxelCore
icon: VoxelCore
version: latest
exec: usr/bin/VoxelCore
exec_args: --dir $HOME/.config/voxelcore --res $APPDIR/usr/share/VoxelCore/res $@
apt:
arch: amd64
sources:
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C'
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
include:
- libbz2-1.0
- libexpat1
- libfam0
- libgcrypt20
- libglfw3
- libglew2.2
- libpng16-16
- libopenal1
- libasound2
- libogg0
- libvorbis0a
- libvorbisfile3
- libluajit-5.1-2
- libfreetype6
- libwayland-client0
- libwayland-cursor0
- libwayland-egl1
- libxkbcommon0
exclude:
- hicolor-icon-theme
- sound-theme-freedesktop
- perl
- perl-base
- kwayland-data
- libwacom2
- libasound2
- breeze
- breeze-icon-theme
- breeze-cursor-theme
- kwin-style-breeze
- kde-style-breeze
- plasma-integration
- libllvm15
- libicu70
- libxml2
files:
exclude:
- usr/share/man
- usr/share/doc/*/README.*
- usr/share/doc/*/changelog.*
- usr/share/doc/*/NEWS.*
- usr/share/doc/*/TODO.*
test:
fedora:
image: appimagecrafters/tests-env:fedora-30
command: ./AppRun
use_host_x: true
debian:
image: appimagecrafters/tests-env:debian-stable
command: ./AppRun
use_host_x: true
arch:
image: appimagecrafters/tests-env:archlinux-latest
command: ./AppRun
use_host_x: true
centos:
image: appimagecrafters/tests-env:centos-7
command: ./AppRun
use_host_x: true
ubuntu:
image: appimagecrafters/tests-env:ubuntu-xenial
command: ./AppRun
use_host_x: true
AppImage:
arch: x86_64