File appimage.yml of Package AppImageTemplate
#
# This is an example template how to build an AppImage in Open Build Service (OBS)
#
# xterm is most simple example
app: xterm
# resources required at build time
build:
# packages which get installed in the build enviroment.
# These are NOT part of the resulting image.
packages:
- linuxdeployqt # required tooling, see script section
# resources which will become available as part of the source.
# The "appimage" source service needs to be enabled to process these.
# git:
# - https://github.com/oluc/leafpad.git
# hg:
# - ....
# svn:
# - ....
#
# files:
# - http://myserver.org/myfile
# OPTIONAL: ingredient packages are packages which become part of the AppImage.
# you may want to remove parts of their content in script section.
ingredients:
packages:
- xterm
script:
# OPTIONAL: compile or modify the AppDir. The environment variables:
# - $BUILD_SOURCE_DIR point to the source directory
# - $BUILD_APPDIR point to the AppDir. This directory will become the content of the AppImage
# - cd $BUILD_SOURCE_DIR/leafpad*
# - ./configure --prefix=/usr
# - make -j4
# - make install DESTDIR=$(readlink -f $BUILD_APPDIR) ; find $BUILD_APPDIR/
# create the image file
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/xterm.desktop -bundle-non-qt-libs
- find $BUILD_APPDIR/