File appimage.yml of Package synthv1

app: synthv1-jack
binpatch: true

build:
  packages:
    - createrepo
    - build-pkg2appimage
#    - linuxdeployqt
#    - cmake
#    - qtbase6.9-static
#    - qttools6.9-static
#    - qtsvg6.9-static
#    - qttranslations6.9-static
#    - alsa-devel
#    - libjack-devel
#    - liblo-devel
#    - update-desktop-files
#  git:
#    - https://github.com/rncbc/synthv1.git

ingredients:
  packages:
    - synthv1-jack
  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/
#  - cd $BUILD_SOURCE_DIR/synthv1
#  - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCONFIG_LV2=OFF -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