File appimage.yml of Package qsynth

app: qsynth
binpatch: true

build:
  packages:
    - createrepo
    - build-pkg2appimage
#    - linuxdeployqt
#    - cmake
#    - pkg-config
#    - qtbase6.9-static
#    - qttools6.9-static
#    - qtsvg6.9-static
#    - qttranslations6.9-static
#    - alsa-devel
#    - libjack-devel
#    - libfluidsynth-devel
#    - libsndfile-devel
#    - ladspa-devel
#    - update-desktop-files
#  git:
#    - https://github.com/rncbc/qsynth.git

ingredients:
  packages:
    - qsynth
  exclude:
    - libjack0

script:
  - cp -vp $BUILD_APPDIR/usr/share/applications/*.desktop $BUILD_APPDIR/
  - cp -vp $BUILD_APPDIR/usr/share/icons/hicolor/32x32/apps/*.png $BUILD_APPDIR/
  - cp -vp $BUILD_APPDIR/usr/lib64/pulseaudio/* $BUILD_APPDIR/usr/lib64/
#  - cd $BUILD_SOURCE_DIR/qsynth
#  - cmake -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev -B build
#  - cmake --build build -j3
#  - DESTDIR=$BUILD_APPDIR cmake --install build
#  - unset QTDIR; unset QT_PLUGIN_PATH; unset LD_LIBRARY_PATH
#  - linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -appimage -verbose=2
#  - find $BUILD_APPDIR -name "libjack*" -delete # HACK: while missing ingredients:/exclude: - libjack!
  - find $BUILD_APPDIR -ls
openSUSE Build Service is sponsored by