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.
 
 
 
 

66 lines
1.9 KiB

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