Accepting request 502699 from home:adrianSuSE:branches:openSUSE:Tools

add appimage build description

OBS-URL: https://build.opensuse.org/request/show/502699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=243
This commit is contained in:
Adrian Schröter 2017-06-09 17:34:43 +00:00 committed by Git OBS Bridge
parent 7fc63e048d
commit fb09c61e89

25
appimage.yml Normal file
View File

@ -0,0 +1,25 @@
app: osc
build:
packages:
- linuxdeployqt
ingredients:
packages:
- build
- osc
- python-yaml
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