2017-06-09 19:34:43 +02:00
|
|
|
app: osc
|
|
|
|
|
|
|
|
build:
|
|
|
|
packages:
|
|
|
|
- linuxdeployqt
|
|
|
|
|
|
|
|
ingredients:
|
|
|
|
packages:
|
|
|
|
- build
|
|
|
|
- osc
|
|
|
|
- python-yaml
|
2017-06-09 19:51:23 +02:00
|
|
|
- obs-service-obs_scm
|
|
|
|
- obs-service-tar_scm
|
|
|
|
- obs-service-set_version
|
|
|
|
- obs-service-recompress
|
2017-06-09 19:59:21 +02:00
|
|
|
- openSUSE-release
|
|
|
|
- openSUSE-release-ftp
|
|
|
|
- rsync
|
2017-06-09 19:34:43 +02:00
|
|
|
|
|
|
|
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
|
2018-10-15 16:03:17 +02:00
|
|
|
- sed -e -i 's,^#!/usr/bin/python,#!/usr/bin/env python,' $BUILD_APPDIR/usr/bin/osc
|
2017-06-09 19:34:43 +02:00
|
|
|
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=2
|
|
|
|
|
|
|
|
|