fix build
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=300
This commit is contained in:
parent
1eecdfa076
commit
5d9f115c69
21
appimage.yml
21
appimage.yml
@ -9,10 +9,10 @@ ingredients:
|
|||||||
- build
|
- build
|
||||||
- osc
|
- osc
|
||||||
- python-yaml
|
- python-yaml
|
||||||
# - obs-service-obs_scm
|
- obs-service-obs_scm
|
||||||
# - obs-service-tar_scm
|
- obs-service-tar_scm
|
||||||
# - obs-service-set_version
|
- obs-service-set_version
|
||||||
# - obs-service-recompress
|
- obs-service-recompress
|
||||||
- openSUSE-release
|
- openSUSE-release
|
||||||
- openSUSE-release-ftp
|
- openSUSE-release-ftp
|
||||||
- rsync
|
- rsync
|
||||||
@ -21,12 +21,13 @@ script:
|
|||||||
- mkdir -p $BUILD_APPDIR/usr/share/pixmaps
|
- mkdir -p $BUILD_APPDIR/usr/share/pixmaps
|
||||||
- cp /usr/share/pixmaps/appimage.png $BUILD_APPDIR/usr/share/pixmaps
|
- cp /usr/share/pixmaps/appimage.png $BUILD_APPDIR/usr/share/pixmaps
|
||||||
- mkdir -p $BUILD_APPDIR/usr/share/applications
|
- mkdir -p $BUILD_APPDIR/usr/share/applications
|
||||||
- echo "[Desktop Entry]" > $BUILD_APPDIR/usr/share/applications/osc.desktop
|
- echo "[Desktop Entry]" > $BUILD_APPDIR/usr/share/applications/osc.desktop
|
||||||
- echo "Name=osc" >> $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 "Exec=osc" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
|
||||||
- echo "Icon=appimage" >> $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
|
- echo "Categories=Development" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
|
||||||
- sed -i -e 's,^#!/usr/bin/python,#!/usr/bin/env python,' $BUILD_APPDIR/usr/bin/osc
|
- 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
|
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=2
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user