File appimage.yml of Package qmidictl

app: qmidictl
binpatch: true

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

ingredients:
  packages:
    - qmidictl
  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/qmidictl
#  - 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