moment.flatpak.base.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. id: xyz.mx_moment.moment
  2. runtime: org.kde.Platform
  3. sdk: org.kde.Sdk
  4. runtime-version: "5.14"
  5. command: moment
  6. finish-args:
  7. - --share=ipc
  8. - --share=network
  9. - --socket=x11
  10. - --socket=wayland
  11. - --socket=pulseaudio
  12. - --device=dri
  13. - --talk-name=org.freedesktop.Notifications
  14. rename-icon: moment
  15. rename-desktop-file: moment.desktop
  16. rename-appdata-file: moment.metainfo.xml
  17. cleanup:
  18. - /app/include
  19. - /app/usr/tests
  20. - /app/lib/cmake
  21. - /app/bin/cairosvg
  22. - /app/bin/chardetect
  23. - /app/bin/futurize
  24. - /app/bin/jsonschema
  25. - /app/bin/pasteurize
  26. - /app/bin/pwiz.py
  27. - /app/bin/watchgod
  28. modules:
  29. - name: pyotherside
  30. buildsystem: qmake
  31. make-install-args:
  32. - INSTALL_ROOT=/app
  33. post-install:
  34. - mkdir -p /app/lib/qml
  35. - ln -s /app/usr/lib/qml/io /app/lib/qml
  36. sources:
  37. - type: archive
  38. url: https://github.com/thp/pyotherside/archive/1.5.3.tar.gz
  39. sha256: 00049d5f42cac448368bc2a521edb8de36bb6d2a624e195b7f1004236758b805
  40. - name: olm
  41. buildsystem: cmake-ninja
  42. sources:
  43. - type: git
  44. url: https://gitlab.matrix.org/matrix-org/olm.git
  45. tag: 3.2.2
  46. commit: 3745ea57bbce319ac2f190e02062e45a46d23471
  47. disable-shallow-clone: true
  48. config-opts:
  49. - -DCMAKE_BUILD_TYPE=Release
  50. - name: libzen
  51. subdir: Project/GNU/Library
  52. config-opts:
  53. - --enable-shared
  54. - --disable-static
  55. cleanup:
  56. - /bin
  57. - /include
  58. - /lib/pkgconfig
  59. - /lib/*.la
  60. sources:
  61. - type: archive
  62. url: https://mediaarea.net/download/source/libzen/0.4.37/libzen_0.4.37.tar.xz
  63. sha256: 38c0a68b715b55d6685d2759eecda040adf37bd066955d79a5d01f91977bd9a0
  64. - name: libmediainfo
  65. subdir: Project/GNU/Library
  66. config-opts:
  67. - --enable-shared
  68. - --disable-static
  69. - --with-libcurl
  70. cleanup:
  71. - /bin
  72. - /include
  73. - /lib/pkgconfig
  74. - /lib/*.la
  75. sources:
  76. - type: archive
  77. url: https://mediaarea.net/download/source/libmediainfo/19.09/libmediainfo_19.09.tar.xz
  78. sha256: ff06e1a449dfbe6f2c51f27ae1187d3e72386cb54476fbb189ffaacf845f478e
  79. # Python dependencies
  80. - name: PLACEHOLDER PYTHON DEPENDENCIES
  81. # matrix-nio separate
  82. - name: python3-matrix-nio
  83. buildsystem: simple
  84. build-commands:
  85. - pip3 install --prefix=${FLATPAK_DEST} .
  86. # network access required for poetry
  87. build-options:
  88. build-args:
  89. - --share=network
  90. sources:
  91. - type: git
  92. url: https://github.com/mirukana/matrix-nio.git
  93. commit: f36ae4902e6b3773256fbe438a189e064436d0b5
  94. - name: moment
  95. buildsystem: qmake
  96. sources:
  97. - type: dir
  98. path: ../..
  99. skip:
  100. - build
  101. - .git
  102. - .flatpak-builder
  103. # - name: moment
  104. # buildsystem: qmake
  105. # sources:
  106. # - type: git
  107. # url: https://gitlab.com/mx-moment/moment.git
  108. # tag: v0.7.3