feat: supported flatpak
This commit is contained in:
38
flatpak/nu.lume.Lume.yml
Normal file
38
flatpak/nu.lume.Lume.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
id: nu.lume.Lume
|
||||
runtime: org.gnome.Platform
|
||||
runtime-version: '45'
|
||||
sdk: org.gnome.Sdk
|
||||
command: lume
|
||||
rename-icon: lume
|
||||
|
||||
finish-args:
|
||||
- --socket=wayland
|
||||
- --socket=fallback-x11
|
||||
- --socket=pulseaudio
|
||||
- --share=ipc
|
||||
- --share=network
|
||||
#- --filesystem=home
|
||||
#- --filesystem=xdg-download
|
||||
#- --talk-name=org.freedesktop.secrets
|
||||
- --talk-name=org.freedesktop.Notifications
|
||||
- --talk-name=org.kde.StatusNotifierWatcher
|
||||
- --filesystem=xdg-run/keyring
|
||||
- --device=dri
|
||||
|
||||
modules:
|
||||
- name: lume
|
||||
sources:
|
||||
- type: dir
|
||||
path: usr
|
||||
- type: file
|
||||
path: nu.lume.Lume.desktop
|
||||
- type: file
|
||||
path: nu.lume.Lume.appdata.xml
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- install -Dm755 bin/lume /app/bin/lume
|
||||
- mkdir -p /app/share/icons/hicolor/
|
||||
- cp -r share/icons/hicolor/ /app/share/icons/
|
||||
- install -Dm644 nu.lume.Lume.appdata.xml /app/share/metainfo/nu.lume.Lume.appdata.xml
|
||||
- install -Dm644 nu.lume.Lume.desktop /app/share/applications/nu.lume.Lume.desktop
|
||||
- ls -lRa /app
|
||||
Reference in New Issue
Block a user