AppImageBuilder.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # appimage-builder recipe see https://appimage-builder.readthedocs.io for details
  2. version: 1
  3. AppDir:
  4. path: AppDir
  5. app_info:
  6. id: net.minetest.minetest
  7. name: Minetest
  8. icon: minetest
  9. version: !ENV ${VERSION}
  10. exec: usr/bin/minetest
  11. exec_args: $@
  12. files:
  13. include: []
  14. exclude:
  15. - usr/share/man
  16. - usr/share/doc
  17. - usr/share/lintian
  18. apt:
  19. arch: amd64
  20. sources:
  21. - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal main universe
  22. key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
  23. - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-updates main universe
  24. - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-backports main universe
  25. - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-security main universe
  26. include:
  27. - libc6
  28. - libcrypt1
  29. - libcurl3-gnutls
  30. - libcurl4
  31. - libfreetype6
  32. - libgl1
  33. - libjpeg-turbo8
  34. - libjsoncpp1
  35. - libleveldb1d
  36. - libluajit-5.1-2
  37. - libopenal1
  38. - libpng16-16
  39. - libsqlite3-0
  40. - libstdc++6
  41. - libvorbisfile3
  42. - libx11-6
  43. - libxi6
  44. - zlib1g
  45. AppImage:
  46. update-information: guess
  47. sign-key: None
  48. arch: x86_64
  49. script: |
  50. # Compile and install binaries into AppDir
  51. cmake -B appimage-build -DENABLE_REDIS=FALSE -DENABLE_POSTGRESQL=OFF -DCMAKE_INSTALL_PREFIX=AppDir/usr/ -DBUILD_SERVER=FALSE -DENABLE_GETTEXT=TRUE -DCMAKE_BUILD_TYPE=Release -DRUN_IN_PLACE=FALSE
  52. cmake --build appimage-build --parallel $(nproc) --config Release
  53. cmake --install appimage-build
  54. # Is a backup icon location in case
  55. mkdir -p AppDir/usr/share/minetest/misc
  56. cp AppDir/usr/share/icons/hicolor/128x128/apps/minetest.png AppDir/usr/share/minetest/misc/minetest-xorg-icon-128.png
  57. # Validation issues
  58. sed -i '/PrefersNonDefaultGPU/d' AppDir/usr/share/applications/net.minetest.minetest.desktop