selfprivacy.org.app/flatpak.yml
Alya Sirko 78f6dff028 Ops: refactor CI/CD pipeline, isolated Podman environment, various Linux builds (#112)
- New Podman-based building environment
  - caches everything
  - can build artifacts without the Internet
  - rootless, needs no system capabilities (only when uses FUSE, well)
  - the cost is it's VERY HUGE, but useful
- Refactored CI/CD pipeline
  - now it's a Python script, not a bunch of shell commands
  - optional nix flake for development environment and building a derivation
  - uploads all artifacts as a Gitea release
- New targets
  - AppImage bundle
  - Flatpak bundle
  - simple archive with binaries

Co-authored-by: Alya Sirko <alya@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/112
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: Alya Sirko <alya.sirko@tuta.io>
Co-committed-by: Alya Sirko <alya.sirko@tuta.io>
2022-09-10 18:10:27 +03:00

47 lines
1.3 KiB
YAML

app-id: pro.kherel.selfprivacy
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=pro.kherel.selfprivacy"
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/pro.kherel.selfprivacy.svg
- install -Dm644 pro.kherel.selfprivacy.desktop /app/share/applications/pro.kherel.selfprivacy.desktop
sources:
- type: dir
path: build/linux/x64/release/bundle
- type: file
path: assets/images/icon/logo.svg
- type: file
path: pro.kherel.selfprivacy.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