selfprivacy.org.app/flatpak.yml
2022-09-20 03:49:21 +03:00

48 lines
1.3 KiB
YAML

app-id: org.selfprivacy.app
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: selfprivacy
finish-args:
- "--share=ipc"
- "--socket=x11"
- "--socket=fallback-x11"
- "--socket=wayland"
- "--share=network"
- "--own-name=org.selfprivacy.app"
- "--device=dri"
modules:
- name: selfprivacy
buildsystem: simple
build-commands:
- cp -r * /app
- mkdir /app/bin
- ln -s /app/selfprivacy /app/bin/selfprivacy
- install -Dm644 logo.svg /app/share/icons/hicolor/scalable/apps/org.selfprivacy.app.svg
- install -Dm644 org.selfprivacy.app.desktop /app/share/applications/org.selfprivacy.app.desktop
sources:
- type: dir
path: build/linux/x64/release/bundle
- type: file
path: assets/images/icon/logo.svg
- type: file
path: org.selfprivacy.app.desktop
- name: libsecret
buildsystem: meson
config-opts:
- "-Dvapi=false"
- "-Dgtk_doc=false"
sources:
- type: git
url: https://gitlab.gnome.org/GNOME/libsecret.git
tag: 0.20.5
- name: libjsoncpp
buildsystem: meson
config-opts:
- "--buildtype=release"
- "--default-library=shared"
sources:
- type: git
url: https://github.com/open-source-parsers/jsoncpp.git
tag: 1.9.5