-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflatpak.yml
More file actions
94 lines (87 loc) · 2.89 KB
/
flatpak.yml
File metadata and controls
94 lines (87 loc) · 2.89 KB
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
id: io.github.communist02.RcloneNavigator
runtime: org.freedesktop.Platform
runtime-version: '25.08'
sdk: org.freedesktop.Sdk
command: rclone_navigator
finish-args:
- --socket=fallback-x11
- --socket=wayland
- --share=ipc
- --share=network
- --filesystem=home
- --filesystem=/tmp
- --filesystem=xdg-config/kdeglobals:ro
- --talk-name=org.freedesktop.Flatpak
modules:
- name: xcb-libs
buildsystem: simple
build-commands:
- mkdir -p /app/lib
- cp -a /usr/lib/x86_64-linux-gnu/libxcb-cursor.so* /app/lib/
sources: []
- name: krb5
buildsystem: simple
cleanup:
- '/include'
- '/share'
- '/var'
- '/bin'
- '/sbin'
- '/lib/debug'
- '/lib/pkgconfig'
build-commands:
- cd src && autoreconf -i
- cd src && ./configure --prefix=/app --disable-static --enable-shared
- cd src && make -j$(nproc)
- cd src && make install
sources:
- type: archive
url: https://kerberos.org/dist/krb5/1.22/krb5-1.22.1.tar.gz
sha256: 1a8832b8cad923ebbf1394f67e2efcf41e3a49f460285a66e35adec8fa0053af
- name: rclone
buildsystem: simple
build-commands:
- mkdir -p /app/bin
- cp rclone /app/bin/
sources:
- type: archive
url: https://github.com/rclone/rclone/releases/download/v1.72.0/rclone-v1.72.0-linux-amd64.zip
sha256: f3757aa829828c0f3359301bea25eef4d4fd62de735c47546ee6866c5b5545e2
# - name: python-requirements
# buildsystem: simple
# cleanup:
# - '*'
# build-options:
# build-args:
# - '--share=network'
# build-commands:
# - pip install --no-cache-dir --prefix=/app -r requirements.txt
# - pip install --no-cache-dir --prefix=/app nuitka
# - pip install --no-cache-dir --prefix=/app patchelf
# sources:
# - type: dir
# path: .
# - name: nuitka
# buildsystem: simple
# build-commands:
# - nuitka --enable-plugin=pyside6 --output-file=rclone_navigator --include-data-dir=app/resources=app/resources --include-data-dir=translations=translations --product-name="Rclone Navigator" --product-version=1 --standalone --output-dir=/app/bin main.py
# - rm -r /app/bin/main.build
# - mv /app/bin/main.dist/* /app/bin
# - rm -r /app/bin/main.dist
# sources:
# - type: dir
# path: .
- name: main
buildsystem: simple
build-commands:
- mkdir -p /app/bin
- cp -r main.dist/* /app/bin/
- mkdir -p /app/share/applications
- cp flatpak/io.github.communist02.RcloneNavigator.desktop /app/share/applications/
- mkdir -p /app/share/icons/hicolor/256x256/apps/
- cp flatpak/io.github.communist02.RcloneNavigator.png /app/share/icons/hicolor/256x256/apps/
- mkdir -p /app/share/metainfo/
- cp flatpak/io.github.communist02.RcloneNavigator.metainfo.xml /app/share/metainfo/
sources:
- type: dir
path: .