# This is the same ID that you've used in meson.build and other files app-id: com.github.artemanufrij.webpin # Instead of manually specifying a long list of build and runtime dependencies, # we can use a convenient pre-made runtime and SDK. For this example, we'll be # using the runtime and SDK provided by elementary. runtime: io.elementary.Platform runtime-version: '6.1' sdk: io.elementary.Sdk # This should match the exec line in your .desktop file and usually is the same # as your app ID command: com.github.artemanufrij.webpin # Here we can specify the kinds of permissions our app needs to run. Since we're # not using hardware like webcams, making sound, or reading external files, we # only need permission to draw our app on screen using either X11 or Wayland. finish-args: - '--share=ipc' - '--socket=fallback-x11' - '--socket=session-bus' - '--socket=wayland' - '--share=network' - '--filesystem=xdg-data/applications:create' - '--filesystem=~/.var/app/com.github.artemanufrij.webpin/' # DRI - Direct Rendering - without this, rendering is really slow - '--device=dri' # For temporary dev purposes - '--filesystem=xdg-pictures/webpin:ro' # This section is where you list all the source code required to build your app. # If we had external dependencies that weren't included in our SDK, we would list # them here. modules: - name: flatpak-script buildsystem: simple build-commands: - install -D flatpak.sh /app/bin/flatpak sources: - type: file path: sources/flatpak.sh - name: webpin buildsystem: meson sources: - type: dir path: .