Add appimagecraft build config

Signed-off-by: Tom Dewey <tom.dewey@raspberrypi.com>
This commit is contained in:
TheAssassin 2022-10-13 21:00:20 +02:00 committed by Tom Dewey
parent c177c87410
commit 92b1f1b9d7

21
appimagecraft.yml Normal file
View file

@ -0,0 +1,21 @@
version: 1
project:
name: org.raspberrypi.rpi-imager
version_command: git describe --tags
build:
cmake:
source_dir: src/
scripts:
post_build:
- |
sed -i 's|Name=Imager|Name=Raspberry Pi Imager|' AppDir/usr/share/applications/rpi-imager.desktop
appimage:
linuxdeploy:
plugins:
- qt
raw_environment:
QML_SOURCES_PATHS: "\"$PROJECT_ROOT\"/src/qmlcomponents/"