forked from vikdevelop/SaveDesktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
io.github.vikdevelop.SaveDesktop.yaml
86 lines (86 loc) · 3.84 KB
/
io.github.vikdevelop.SaveDesktop.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
app-id: io.github.vikdevelop.SaveDesktop
runtime: org.gnome.Platform
runtime-version: '46'
sdk: org.gnome.Sdk
command: savedesktop
finish-args:
- --share=ipc
- --share=network
- --socket=wayland
- --socket=fallback-x11
- --device=dri
# load Desktop environment config files
- --filesystem=~/.config
# load Desktop environment data files (e.g. backgrounds, extensions, etc.)
- --filesystem=~/.local/share
# to be able to select destination for saving configuration in also these directories
- --filesystem=xdg-download
- --filesystem=xdg-music
- --filesystem=xdg-videos
- --filesystem=xdg-documents
- --filesystem=xdg-public-share
- --filesystem=xdg-pictures
- --filesystem=xdg-desktop
# for selecting the cloud drive folders
- --filesystem=xdg-run/gvfs
- --filesystem=xdg-run/gvfsd
# save all themes installed in home folder
- --filesystem=~/.themes:create
# save all icons installed in home folder
- --filesystem=~/.icons:create
# save cinnamon config in home directory
- --filesystem=~/.cinnamon:create
# save xfce config in home directory
- --filesystem=~/.xfce4:create
# save all fonts installed in home directory
- --filesystem=~/.fonts:create
# save a list of installed flatpak apps
- --filesystem=/var/lib/flatpak:ro
- --filesystem=~/.local/share/flatpak/app
# save user data of installed flatpak apps
- --filesystem=~/.var/app
# logout from session (GNOME-based environments) for changes to the desktop configuration to take effect
- --talk-name=org.gnome.SessionManager
# logout from session (Xfce) for changes to the Xfce desktop configuration to take effect
- --talk-name=org.xfce.SessionManager
# logout from session (KDE5) for changes to the KDE5 desktop configuration to take effect
- --talk-name=org.kde.ksmserver
# ensuring to FileChooserNative will work correctly
- --talk-name=org.freedesktop.FileManager1
- --env=DCONF_USER_CONFIG_DIR=.config/dconf
- --filesystem=xdg-run/dconf
- --talk-name=ca.desrt.dconf
modules:
- name: dconf
buildsystem: simple
build-commands:
- cp -R * /app
sources:
- type: archive
url: https://github.com/vikdevelop/SaveDesktop/releases/download/2.9.5n/dconf_build.tar.xz
sha256: 164fc714f96ef4b348665fc3617f54cfa5acf12df5c039d7a9d21ba1d86a2f2d
- name: savedesktop
buildsystem: simple
build-commands:
- install -Dm755 -t /app/bin savedesktop
- cp -R src/* /app
- install -D -t /app/share build-beta.sh
- install -D -t /app/share/applications flatpak/io.github.vikdevelop.SaveDesktop.desktop
- install -D -t /app/share/icons/hicolor/scalable/apps flatpak/icons/io.github.vikdevelop.SaveDesktop.svg
- install -D -t /app/share/icons/hicolor/scalable/apps flatpak/icons/io.github.vikdevelop.SaveDesktop.Devel.svg
- install -D -t /app/share/icons/hicolor/symbolic/apps flatpak/icons/io.github.vikdevelop.SaveDesktop-symbolic.svg
- install -D -t /app/share/icons/hicolor/128x128/apps flatpak/symbolic-icons/exclamation_mark.png
- install -D -t /app/share/icons/hicolor/128x128/apps flatpak/symbolic-icons/desktop-symbolic.svg
- install -D -t /app/share/icons/hicolor/128x128/apps flatpak/symbolic-icons/list-view.png
- install -D -t /app/share/icons/hicolor/128x128/apps flatpak/symbolic-icons/done.svg
- install -D -t /app/share/metainfo flatpak/io.github.vikdevelop.SaveDesktop.metainfo.xml
- install -D -t /app/share/glib-2.0/schemas flatpak/io.github.vikdevelop.SaveDesktop.gschema.xml
- glib-compile-schemas /app/share/glib-2.0/schemas
- cp -R translations /app/
sources:
- type: dir
path: .
- type: script
dest-filename: build-beta.sh
commands:
- echo "build-type:beta"