darktable/container.yaml
Kalev Lember cb5cc514b3 Adapt for renamed app ID
Upstream has renamed the app ID from darktable.desktop to
org.darktable.darktable, which is sadly different from
org.darktable.Darktable that the flatpak is using.

For now, keep on using org.darktable.Darktable. When we update the
runtime to F38, that would be a good point to rename the flatpak app ID
if we want to go ahead with the rename to match the new upstream naming.

Looks like flathub is also sticking with org.darktable.Darktable for
now.

https://github.com/darktable-org/darktable/pull/13193
https://github.com/flathub/org.darktable.Darktable/pull/101
2023-02-24 16:28:28 +01:00

27 lines
877 B
YAML

compose:
modules:
- darktable:stable
flatpak:
id: org.darktable.Darktable
branch: stable
command: darktable
rename-appdata-file: org.darktable.darktable.appdata.xml
rename-desktop-file: org.darktable.darktable.desktop
rename-icon: darktable
copy-icon: true
finish-args: |-
--share=ipc
--share=network
--socket=x11
--filesystem=host
--talk-name=org.freedesktop.secrets
--metadata=X-DConf=migrate-path=/org/darktable/Darktable/
--system-talk-name=org.freedesktop.ColorManager
--talk-name=org.gtk.vfs.*
--filesystem=xdg-run/gvfs
--filesystem=xdg-run/gvfsd
--device=all
cleanup-commands: |
sed -i 's@<id>org\.darktable\.darktable</id>@<id>org.darktable.Darktable</id>@' \
/app/share/metainfo/org.darktable.darktable.appdata.xml