org.DTeam.DMusic.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. app-id: org.DTeam.DMusic
  2. runtime: org.kde.Platform
  3. runtime-version: '5.15-23.08'
  4. sdk: org.kde.Sdk
  5. command: dmusic
  6. finish-args:
  7. - --share=ipc
  8. - --socket=x11
  9. - --socket=wayland
  10. - --share=network
  11. - --filesystem=host
  12. - --socket=pulseaudio
  13. - --device=dri
  14. modules:
  15. - name: nim
  16. buildsystem: simple
  17. build-commands:
  18. - sh install.sh /app
  19. - cp bin/nimble /app/nim/bin/nimble
  20. sources:
  21. - type: archive
  22. url: https://nim-lang.org/download/nim-2.0.0-linux_x64.tar.xz
  23. # this checksum is from:
  24. # https://nim-lang.org/download/nim-2.0.0-linux_x64.tar.xz.sha256
  25. sha256: ca1ffec35439a02b3102faf1c1caf5a033f929832b7fa2c76b3a6a7216f14f01
  26. - name: taglib
  27. config-opts:
  28. - -DBUILD_SHARED_LIBS=ON
  29. buildsystem: cmake-ninja
  30. sources:
  31. - type: archive
  32. url: https://taglib.github.io/releases/taglib-1.12.tar.gz
  33. sha256: 7fccd07669a523b07a15bd24c8da1bbb92206cb19e9366c3692af3d79253b703
  34. x-checker-data:
  35. type: anitya
  36. project-id: 1982
  37. stable-only: true
  38. url-template: https://taglib.github.io/releases/taglib-$version.tar.gz
  39. - name: dmusic
  40. buildsystem: simple
  41. build-options:
  42. build-args:
  43. - --share=network
  44. build-commands:
  45. - /app/nim/bin/nimble -y --nim:/app/nim/bin/nim --nimbleDir:.nimble --nimcache:.cache -d:flatpak build
  46. - install -D dmusic /app/bin/dmusic
  47. sources:
  48. - type: dir
  49. path: src
  50. dest: src
  51. - type: dir
  52. path: resources
  53. dest: resources
  54. - type: dir
  55. path: qml
  56. dest: qml
  57. - type: dir
  58. path: translations
  59. dest: translations
  60. - type: file
  61. path: qml.qrc
  62. - type: file
  63. path: DMusic.nimble