app-id: io.github.siroj42.WaspCompanion # Libhandy apparently depends on vala, so the freedesktop platform is not enough runtime: org.gnome.Platform runtime-version: '42' sdk: org.gnome.Sdk command: /app/bin/run.sh finish-args: - --share=ipc - --socket=x11 - --socket=wayland - --share=network - --allow=bluetooth - --socket=system-bus - --socket=session-bus modules: - modules.json - name: libhandy buildsystem: meson builddir: true config-opts: - "-Dexamples=false" - "-Dtests=false" - name: Playerctl buildsystem: meson builddir: true config-opts: - "-Dgtk-doc=false" sources: - type: git url: https://github.com/altdesktop/playerctl.git - name: companion buildsystem: simple subdir: src build-commands: - install -D app.py /app/bin/app.py - cp -r bleak/bleak /app/bin/bleak - install -D wasp_connection.py /app/bin/wasp_connection.py - install -D media_player.py /app/bin/media_player.py - install -D app.ui /app/bin/app.ui - install -D run.sh /app/bin/run.sh - install -D wasptool /app/bin/wasptool - install -D notifications.py /app/bin/notifications.py - install -D ../flatpak/logo-128.png /app/bin/icon.png - install -D ../flatpak/logo-128.png /app/share/icons/hicolor/128x128/apps/io.github.siroj42.WaspCompanion.png - install -D ../flatpak/io.github.siroj42.WaspCompanion.desktop /app/share/applications/io.github.siroj42.WaspCompanion.desktop - install -D ../flatpak/io.github.siroj42.WaspCompanion.metainfo.xml /app/share/metainfo/io.github.siroj42.WaspCompanion.metainfo.xml sources: #- type: git # url: https://gitlab.com/arteeh/wasp-companion.git - type: dir path: ..