AppImageBuilder-aarch64.yml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. # appimage-builder recipe see https://appimage-builder.readthedocs.io for details
  2. version: 1
  3. script:
  4. - rm -rf ./AppDir || true
  5. - bsdtar -zxvf rustdesk.deb
  6. - tar -xvf ./data.tar.xz
  7. - mkdir ./AppDir
  8. - mv ./usr ./AppDir/usr
  9. # 32x32 icon
  10. - for i in {32,64,128}; do mkdir -p ./AppDir/usr/share/icons/hicolor/$i\x$i/apps/; cp ../res/$i\x$i.png ./AppDir/usr/share/icons/hicolor/$i\x$i/apps/rustdesk.png; done
  11. - mkdir -p ./AppDir/usr/share/icons/hicolor/scalable/apps/; cp ../res/scalable.svg ./AppDir/usr/share/icons/hicolor/scalable/apps/rustdesk.svg
  12. # desktop file
  13. # - sed -i "s/Icon=\/usr\/share\/rustdesk\/files\/rustdesk.png/Icon=rustdesk/g" ./AppDir/usr/share/applications/rustdesk.desktop
  14. - rm -rf ./AppDir/usr/share/applications
  15. AppDir:
  16. path: ./AppDir
  17. app_info:
  18. id: rustdesk
  19. name: rustdesk
  20. icon: rustdesk
  21. version: 1.3.3
  22. exec: usr/lib/rustdesk/rustdesk
  23. exec_args: $@
  24. apt:
  25. arch:
  26. - arm64
  27. allow_unauthenticated: true
  28. sources:
  29. - sourceline: deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal main restricted universe multiverse
  30. key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
  31. - sourceline: deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal-updates main restricted universe multiverse
  32. key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
  33. - sourceline: deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal-backports main restricted
  34. universe multiverse
  35. key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
  36. - sourceline: deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal-security main restricted
  37. universe multiverse
  38. key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
  39. include:
  40. - libc6:arm64
  41. - libgtk-3-0
  42. - libxcb-randr0
  43. - libxdo3
  44. - libxfixes3
  45. - libxcb-shape0
  46. - libxcb-xfixes0
  47. - libasound2
  48. - libsystemd0
  49. - curl
  50. - libva-drm2
  51. - libva-x11-2
  52. - libvdpau1
  53. - libgstreamer-plugins-base1.0-0
  54. - gstreamer1.0-pipewire
  55. - libwayland-client0
  56. - libwayland-cursor0
  57. - libwayland-egl1
  58. - libpulse0
  59. - packagekit-gtk3-module
  60. - libcanberra-gtk3-module
  61. - libpam0g
  62. - libdrm2
  63. exclude:
  64. - humanity-icon-theme
  65. - hicolor-icon-theme
  66. - adwaita-icon-theme
  67. - ubuntu-mono
  68. files:
  69. include: []
  70. exclude:
  71. - usr/share/man
  72. - usr/share/doc/*/README.*
  73. - usr/share/doc/*/changelog.*
  74. - usr/share/doc/*/NEWS.*
  75. - usr/share/doc/*/TODO.*
  76. runtime:
  77. env:
  78. GIO_MODULE_DIR: /lib64/gio/modules:/usr/lib/aarch64-linux-gnu/gio/modules:$APPDIR/usr/lib/aarch64-linux-gnu/gio/modules
  79. GDK_BACKEND: x11
  80. APPDIR_LIBRARY_PATH: /lib64:/usr/lib/aarch64-linux-gnu:$APPDIR/lib/aarch64-linux-gnu:$APPDIR/lib/aarch64-linux-gnu/security:$APPDIR/lib/systemd:$APPDIR/usr/lib/aarch64-linux-gnu:$APPDIR/usr/lib/aarch64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders:$APPDIR/usr/lib/aarch64-linux-gnu/gstreamer-1.0:$APPDIR/usr/lib/aarch64-linux-gnu/gtk-3.0/3.0.0/immodules:$APPDIR/usr/lib/aarch64-linux-gnu/gtk-3.0/3.0.0/printbackends:$APPDIR/usr/lib/aarch64-linux-gnu/krb5/plugins/preauth:$APPDIR/usr/lib/aarch64-linux-gnu/libcanberra-0.30:$APPDIR/usr/lib/aarch64-linux-gnu/pulseaudio:$APPDIR/usr/lib/aarch64-linux-gnu/sasl2:$APPDIR/usr/lib/aarch64-linux-gnu/vdpau:$APPDIR/usr/lib/rustdesk/lib:$APPDIR/lib/aarch64
  81. GST_PLUGIN_PATH: /lib64/gstreamer-1.0:/usr/lib/aarch64-linux-gnu/gstreamer-1.0:$APPDIR/usr/lib/aarch64-linux-gnu/gstreamer-1.0
  82. GST_PLUGIN_SYSTEM_PATH: /lib64/gstreamer-1.0:/usr/lib/aarch64-linux-gnu/gstreamer-1.0:$APPDIR/usr/lib/aarch64-linux-gnu/gstreamer-1.0
  83. test:
  84. fedora-30:
  85. image: appimagecrafters/tests-env:fedora-30
  86. command: ./AppRun
  87. debian-stable:
  88. image: appimagecrafters/tests-env:debian-stable
  89. command: ./AppRun
  90. archlinux-latest:
  91. image: appimagecrafters/tests-env:archlinux-latest
  92. command: ./AppRun
  93. centos-7:
  94. image: appimagecrafters/tests-env:centos-7
  95. command: ./AppRun
  96. ubuntu-xenial:
  97. image: appimagecrafters/tests-env:ubuntu-xenial
  98. command: ./AppRun
  99. AppImage:
  100. arch: aarch64
  101. update-information: guess