pw.mmk.OpenFreebuds.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. id: pw.mmk.OpenFreebuds
  2. command: openfreebuds_qt
  3. sdk: org.kde.Sdk
  4. runtime: org.kde.Platform
  5. base: com.riverbankcomputing.PyQt.BaseApp
  6. runtime-version: '6.7'
  7. base-version: '6.7'
  8. finish-args:
  9. # Connect to Bluetooth devices through RFCOMM / SPP protocol
  10. - --allow=bluetooth
  11. - --share=network
  12. # Display user interface
  13. - --socket=wayland
  14. - --socket=fallback-x11
  15. - --share=ipc
  16. - --device=dri
  17. # List paired Bluetooth devices, toggle their connection status
  18. - --system-talk-name=org.bluez
  19. # Display tray icon
  20. - --talk-name=org.kde.StatusNotifierWatcher
  21. cleanup-commands:
  22. - /app/cleanup-BaseApp.sh
  23. build-options:
  24. env:
  25. # Current release of yarl fails to compile in Flatpak env, idk why
  26. # This is temporary, switch to pure-python implementation of yarl
  27. YARL_NO_EXTENSIONS: "true"
  28. modules:
  29. - name: python3_extras
  30. buildsystem: simple
  31. build-commands:
  32. - pip3 install --prefix=/app --no-deps *.whl
  33. sources:
  34. - type: file
  35. url: https://files.pythonhosted.org/packages/df/b3/072c28eace372ba7630ea187b7efd7f09cc8bcebf847a96b5e03e9cc0828/expandvars-0.12.0-py3-none-any.whl
  36. sha256: 7432c1c2ae50c671a8146583177d60020dd210ada7d940e52af91f1f84f753b2
  37. - python3-requirements.json
  38. - name: OpenFreebuds
  39. buildsystem: simple
  40. build-commands:
  41. - touch /app/is_container
  42. - python ./make.py install /app
  43. sources:
  44. - type: file
  45. path: ../../scripts/make.py
  46. - type: dir
  47. path: ../../dist