2021-08-25 13:54:19 +01:00
|
|
|
# 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
|
2022-02-17 17:38:13 +00:00
|
|
|
runtime-version: '6.1'
|
2021-08-25 13:54:19 +01:00
|
|
|
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'
|
2022-02-17 15:18:03 +00:00
|
|
|
- '--socket=session-bus'
|
2021-08-25 13:54:19 +01:00
|
|
|
- '--socket=wayland'
|
2022-02-17 15:18:03 +00:00
|
|
|
- '--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'
|
2022-06-19 18:41:52 +01:00
|
|
|
|
2021-08-25 13:54:19 +01:00
|
|
|
# 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:
|
2022-02-17 15:19:30 +00:00
|
|
|
- name: flatpak-script
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- install -D flatpak.sh /app/bin/flatpak
|
|
|
|
sources:
|
|
|
|
- type: file
|
|
|
|
path: sources/flatpak.sh
|
|
|
|
|
2022-02-17 15:18:03 +00:00
|
|
|
- name: webpin
|
|
|
|
buildsystem: meson
|
|
|
|
sources:
|
|
|
|
- type: dir
|
|
|
|
path: .
|