You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

67 lines
2.0 KiB

  1. # appimage-builder recipe see https://appimage-builder.readthedocs.io for details
  2. version: 1
  3. script: |
  4. mkdir -p build/AppDir build/AppDir/usr/share/icons/hicolor/scalable/apps
  5. cp kosmorro/assets/svg/kosmorro-icon.svg build/AppDir/usr/share/icons/hicolor/scalable/apps/kosmorro.svg
  6. pip3 install --isolated --root="./build/AppDir" ./dist/kosmorro-*.whl
  7. AppDir:
  8. path: build/AppDir
  9. app_info:
  10. id: space.kosmorro.cli
  11. name: kosmorro
  12. icon: kosmorro
  13. version: latest
  14. exec: usr/bin/python3
  15. exec_args: $APPDIR/usr/local/bin/kosmorro $@
  16. apt:
  17. arch: amd64
  18. allow_unauthenticated: true
  19. sources:
  20. - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal main restricted
  21. - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal universe restricted
  22. include:
  23. - python3
  24. - python3-certifi
  25. - python3-dateutil
  26. files:
  27. include:
  28. - /usr/bin/sh
  29. - /usr/bin/bash
  30. - /usr/bin/env
  31. exclude:
  32. - usr/share/man
  33. - usr/share/doc/*/README.*
  34. - usr/share/doc/*/changelog.*
  35. - usr/share/doc/*/NEWS.*
  36. - usr/share/doc/*/TODO.*
  37. test:
  38. fedora-30:
  39. image: appimagecrafters/tests-env:fedora-33
  40. command: ./AppRun --latitude=50.5824 --longitude=3.0624
  41. use_host_x: true
  42. debian-stable:
  43. image: appimagecrafters/tests-env:debian-stable
  44. command: ./AppRun --latitude=50.5824 --longitude=3.0624
  45. use_host_x: true
  46. archlinux-latest:
  47. image: appimagecrafters/tests-env:archlinux-latest
  48. command: ./AppRun --latitude=50.5824 --longitude=3.0624
  49. use_host_x: true
  50. centos-7:
  51. image: appimagecrafters/tests-env:centos-7
  52. command: ./AppRun --latitude=50.5824 --longitude=3.0624
  53. use_host_x: true
  54. ubuntu-xenial:
  55. image: appimagecrafters/tests-env:ubuntu-xenial
  56. command: ./AppRun --latitude=50.5824 --longitude=3.0624
  57. use_host_x: true
  58. AppImage:
  59. arch: x86_64
  60. update-information: gh-releases-zsync|Kosmorro|kosmorro|latest|Kosmorro-*x86_64.AppImage.zsync