Adrian Schröter 2019-10-24 09:14:08 +00:00 committed by Git OBS Bridge
parent 2b642692d9
commit f027d4cd9a

View File

@ -9,10 +9,10 @@ ingredients:
- build
- osc
- python-yaml
# - obs-service-obs_scm
# - obs-service-tar_scm
# - obs-service-set_version
# - obs-service-recompress
- obs-service-obs_scm
- obs-service-tar_scm
- obs-service-set_version
- obs-service-recompress
- openSUSE-release
- openSUSE-release-ftp
- rsync
@ -21,12 +21,13 @@ 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
- sed -i -e 's,^#!/usr/bin/python,#!/usr/bin/env python,' $BUILD_APPDIR/usr/bin/osc
- 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 "Categories=Development" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
- echo "Type=Application" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
# - sed -i -e 's,^#!/usr/bin/python,#!/usr/bin/env python,' $BUILD_APPDIR/usr/bin/osc
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=2