-
Notifications
You must be signed in to change notification settings - Fork 31
/
de.provokateurin.neon.yaml
58 lines (58 loc) · 2.05 KB
/
de.provokateurin.neon.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
app-id: de.provokateurin.neon
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: nextcloud-neon
finish-args:
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
- --share=network
- --device=dri
- --env=LD_LIBRARY_PATH=/app/lib/:/app/nextcloud-neon/lib/
modules:
- name: aarch64-quirks
only-arches: [aarch64]
buildsystem: simple
build-commands:
- mkdir -p /app/nextcloud-neon/lib
- ln -s /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 /app/nextcloud-neon/lib/libsqlite3.so
- name: x86_64-quirks
only-arches: [x86_64]
buildsystem: simple
build-commands:
- mkdir -p /app/nextcloud-neon/lib
- ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /app/nextcloud-neon/lib/libsqlite3.so
- name: nextcloud-neon
buildsystem: simple
build-commands:
- mkdir -p /app/bin /app/nextcloud-neon/{data,lib}
- cp nextcloud-neon /app/nextcloud-neon/
- cp *.so /app/nextcloud-neon/lib/
- cp -r flutter_assets icudtl.dat /app/nextcloud-neon/data/
- ln -sf /app/nextcloud-neon/nextcloud-neon /app/bin/nextcloud-neon
- install -Dm644 de.provokateurin.neon.desktop /app/share/applications/de.provokateurin.neon.desktop
- install -Dm644 logo_inverted.svg /app/share/icons/hicolor/scalable/apps/de.provokateurin.neon.svg
sources:
- type: file
path: de.provokateurin.neon.desktop
- type: file
path: assets/logo_inverted.svg
- type: file
only-arches: [x86_64]
path: build/linux/x64/release/bundle/nextcloud-neon
- type: dir
only-arches: [x86_64]
path: build/linux/x64/release/bundle/lib/
- type: dir
only-arches: [x86_64]
path: build/linux/x64/release/bundle/data/
- type: file
only-arches: [aarch64]
path: build/linux/arm64/release/bundle/nextcloud-neon
- type: dir
only-arches: [aarch64]
path: build/linux/arm64/release/bundle/lib/
- type: dir
only-arches: [aarch64]
path: build/linux/arm64/release/bundle/data/