-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathorg.localsend.localsend_app.yml
134 lines (127 loc) · 4.95 KB
/
org.localsend.localsend_app.yml
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
app-id: org.localsend.localsend_app
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.vala
command: localsend
separate-locales: false
finish-args:
- --device=dri
- --share=ipc
- --share=network
- --socket=wayland
- --socket=fallback-x11
# Need to detect network info
- --system-talk-name=org.freedesktop.NetworkManager
- --system-talk-name=org.freedesktop.hostname1
# Allow access to home directory, see https://github.com/localsend/localsend/issues/256
- --filesystem=xdg-download
# Tray indicator
- --talk-name=org.kde.StatusNotifierWatcher
build-options:
append-path: /usr/lib/sdk/vala/bin
prepend-ld-library-path: /usr/lib/sdk/vala/lib
modules:
- shared-modules/intltool/intltool-0.51.json
- name: libayatana-appindicator
buildsystem: cmake-ninja
config-opts:
- -DENABLE_BINDINGS_MONO=NO
- -DENABLE_BINDINGS_VALA=NO
- -DENABLE_GTKDOC=NO
sources:
- type: git
url: https://github.com/AyatanaIndicators/libayatana-appindicator.git
tag: 0.5.93
commit: 238c8b02718fa5b4af95ede72beeed762094f4cc
x-checker-data:
type: anitya
project-id: 18446
tag-template: $version
modules:
- name: ayatana-ido
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/AyatanaIndicators/ayatana-ido.git
tag: 0.10.4
commit: f968079b09e2310fefc3fc307359025f1c74b3eb
x-checker-data:
type: anitya
project-id: 18445
tag-template: $version
- name: libayatana-indicator
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/AyatanaIndicators/libayatana-indicator.git
tag: 0.9.4
commit: 611bb384b73fa6311777ba4c41381a06f5b99dad
x-checker-data:
type: anitya
project-id: 18447
tag-template: $version
- name: libdbusmenu-gtk3
buildsystem: autotools
build-options:
cflags: -Wno-error
config-opts:
- --with-gtk=3
- --disable-dumper
- --disable-static
- --enable-tests
- --disable-gtk-doc
- --enable-introspection=no
- --disable-vala
cleanup:
- /share/gtk-doc
- /share/libdbusmenu
sources:
- type: archive
url: https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-16.04.0.tar.gz
sha256: b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a
- name: localsend
buildsystem: simple
build-commands:
- tar -xzf LocalSend.tar.gz
# copy lib and data folders
- install -d "${FLATPAK_DEST}/lib"
- cp -r lib/* "${FLATPAK_DEST}/lib/"
- install -d "${FLATPAK_DEST}/data"
- cp -r data/* "${FLATPAK_DEST}/data/"
# copy executable
- install -Dm755 localsend_app "${FLATPAK_DEST}/localsend_app"
- ln -s "${FLATPAK_DEST}/localsend_app" "${FLATPAK_DEST}/bin/localsend"
# copy metadata files
- desktop-file-edit --set-key=Exec --set-value='localsend %U' --set-icon="${FLATPAK_ID}"
"org.localsend.localsend_app.desktop"
- install -Dm644 org.localsend.localsend_app.desktop "${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop"
- install -Dm644 org.localsend.localsend_app.metainfo.xml "${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml"
- install -Dm644 data/flutter_assets/assets/img/logo-512.png "${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png"
- install -Dm644 data/flutter_assets/assets/img/logo-32-white.png "${FLATPAK_DEST}/share/icons/hicolor/32x32/apps/${FLATPAK_ID}-tray.png"
sources:
- type: file
dest-filename: LocalSend.tar.gz
only-arches: [x86_64]
url: https://github.com/localsend/localsend/releases/download/v1.16.1/LocalSend-1.16.1-linux-x86-64.tar.gz
sha256: 4082de313cc4f2cb123415aa8ed23146930c871b5d6bc14653e47375af46d332
x-checker-data:
type: anitya
project-id: 324117
url-template: https://github.com/localsend/localsend/releases/download/v$version/LocalSend-$version-linux-x86-64.tar.gz
stable-only: true
- type: file
dest-filename: LocalSend.tar.gz
only-arches: [aarch64]
url: https://github.com/localsend/localsend/releases/download/v1.16.1/LocalSend-1.16.1-linux-arm-64.tar.gz
sha256: 3888ce21fc13acbe4be8c673a84b1331c79ed513519617450ad25a572e193fe3
x-checker-data:
type: anitya
project-id: 324117
url-template: https://github.com/localsend/localsend/releases/download/v$version/LocalSend-$version-linux-arm-64.tar.gz
stable-only: true
- type: file
path: org.localsend.localsend_app.metainfo.xml
- type: file
path: org.localsend.localsend_app.desktop