1
0
forked from pool/osc
osc-fork/appimage.yml

30 lines
999 B
YAML
Raw Normal View History

app: osc
build:
packages:
- linuxdeployqt
ingredients:
packages:
- build
- osc
- python-yaml
- obs-service-obs_scm
- obs-service-tar_scm
- obs-service-set_version
- obs-service-recompress
script:
- mkdir -p $BUILD_APPDIR/usr/share/pixmaps
- cp /usr/share/pixmaps/appimage.png $BUILD_APPDIR/usr/share/pixmaps
- mkdir -p $BUILD_APPDIR/usr/share/applications
- echo "[Desktop Entry]" > $BUILD_APPDIR/usr/share/applications/osc.desktop
- echo "Name=osc" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
- echo "Exec=osc" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
- echo "Icon=appimage" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
- echo "Type=Application" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=2
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=2