Add flatpak manifest
This commit is contained in:
41
sh.nubo.immich-rs.yml
Normal file
41
sh.nubo.immich-rs.yml
Normal file
@@ -0,0 +1,41 @@
|
||||
app-id: sh.nubo.immich-rs
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '25.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.rust-stable
|
||||
|
||||
build-options:
|
||||
append-path: /usr/lib/sdk/rust-stable/bin
|
||||
build-args:
|
||||
- --share=network
|
||||
|
||||
command: immich-rs
|
||||
|
||||
finish-args:
|
||||
# Core Wayland access
|
||||
- --socket=wayland
|
||||
# GPU acceleration (DRI)
|
||||
- --device=dri
|
||||
# Access to XDG dirs
|
||||
- --filesystem=xdg-config/immich-rs:create
|
||||
- --filesystem=xdg-data/immich-rs:create
|
||||
- --filesystem=xdg-cache/immich-rs:create
|
||||
# Talk to portal for file dialogs, etc.
|
||||
- --talk-name=org.freedesktop.portal.Desktop
|
||||
# Network access
|
||||
- --share=network
|
||||
|
||||
modules:
|
||||
- name: immich-rs
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cargo build --release --locked
|
||||
- install -Dm755 ./target/release/immich-rs -t /app/bin/
|
||||
- install -Dm644 ./assets/immich-rs.desktop /app/share/applications/sh.nubo.immich-rs.desktop
|
||||
- install -Dm644 ./assets/immich-logo.svg /app/share/icons/hicolor/scalable/apps/sh.nubo.immich-rs.svg
|
||||
# - install -Dm644 ./assets/sh.nubo.immich-rs.metainfo.xml -t /app/share/metainfo/
|
||||
sources:
|
||||
- type: dir
|
||||
path: .
|
||||
|
||||
Reference in New Issue
Block a user