File appimage.yml of Package AffinityWineFactory

#
# This is an example template how to build an AppImage in Open Build Service (OBS)
#

# xterm is most simple example
app: affinity-wine

# 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://gitlab.winehq.org/ElementalWarrior/wine.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
  - ./configure --prefix=/usr --enable-archs=i386,x86_64
#  - make -j4
  - make --jobs 4
  - make install --jobs 4 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/affinity-wine.desktop -bundle-non-qt-libs
  - find $BUILD_APPDIR/
openSUSE Build Service is sponsored by