File appimage.yml of Package qtmips
app: qtmips
build:
packages:
- linuxdeployqt
- pkgconfig(Qt5Core)
- pkgconfig(Qt5Widgets)
- pkgconfig(Qt5Test)
- pkgconfig(Qt5PrintSupport)
- libelf-devel
script:
- cd $BUILD_SOURCE_DIR
- tar xf qtmips_0.8.1.orig.tar.xz
- cd qtmips-0.8.1
- mkdir build
- cd build
- export CMAKE_BUILD_PARALLEL_LEVEL=$(nproc)
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
- cmake --build .
- DESTDIR="$BUILD_APPDIR" cmake --install .
- unset QTDIR; unset QT_PLUGIN_PATH; unset LD_LIBRARY_PATH
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=2 -no-strip