forked from flathub/org.learningequality.Kolibri
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathorg.learningequality.Kolibri.yaml
More file actions
125 lines (116 loc) · 4.24 KB
/
Copy pathorg.learningequality.Kolibri.yaml
File metadata and controls
125 lines (116 loc) · 4.24 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
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
---
app-id: org.learningequality.Kolibri
runtime: org.gnome.Platform
runtime-version: '47'
sdk: org.gnome.Sdk
command: kolibri-gnome
finish-args:
- --device=dri
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=pulseaudio
- --socket=wayland
- --system-talk-name=org.learningequality.Kolibri.Daemon
- --env=KOLIBRI_HOME=~/.var/app/org.learningequality.Kolibri/data/kolibri
- --env=KOLIBRI_HTTP_PORT=0
- --env=PYTHONPATH=/app/kolibri-plugins/lib/python
add-extensions:
org.learningequality.Kolibri.Content:
version: '1.0'
directory: share/kolibri-content
subdirectories: true
no-autodownload: true
org.freedesktop.Platform.ffmpeg-full:
directory: 'lib/ffmpeg'
version: '24.08'
add-ld-path: '.'
autodelete: false
org.learningequality.Kolibri.Plugin:
version: '1.0'
directory: kolibri-plugins
merge-dirs: lib/python
subdirectories: true
no-autodownload: true
cleanup-commands:
- mkdir -p /app/lib/ffmpeg
build-options:
env:
KOLIBRI_MODULE_PATH: /app/lib/python3.12/site-packages/kolibri
modules:
- modules/iproute2.json
- modules/python3-kolibri.json
- modules/python3-kolibri-app-desktop-xdg-plugin.json
- modules/python3-kolibri-desktop-auth-plugin.json
- modules/python3-setproctitle.json
- modules/kolibri-content-dir.json
- modules/kolibri-plugins-dir.json
- modules/kolibri-loading-page.json
- name: kolibri-gnome
buildsystem: meson
sources:
- type: git
url: https://github.com/learningequality/kolibri-installer-gnome.git
tag: v3.8
commit: 4f81b7b2682f3bc438ddd44b60fc66b1b83a71e7
- name: python3-kolibri-cleanup
buildsystem: simple
build-commands:
- >
./cleanup-unused-locales.py
-l /app/share/locale
-l ${KOLIBRI_MODULE_PATH}/locale
${KOLIBRI_MODULE_PATH}/dist/django/conf/locale
${KOLIBRI_MODULE_PATH}/dist/django/contrib/admin/locale
${KOLIBRI_MODULE_PATH}/dist/django/contrib/admindocs/locale
${KOLIBRI_MODULE_PATH}/dist/django/contrib/auth/locale
${KOLIBRI_MODULE_PATH}/dist/django/contrib/contenttypes/locale
${KOLIBRI_MODULE_PATH}/dist/django/contrib/flatpages/locale
${KOLIBRI_MODULE_PATH}/dist/django/contrib/postgres/locale
${KOLIBRI_MODULE_PATH}/dist/django/contrib/redirects/locale
${KOLIBRI_MODULE_PATH}/dist/django/contrib/sessions/locale
${KOLIBRI_MODULE_PATH}/dist/django/contrib/sites/locale
${KOLIBRI_MODULE_PATH}/dist/django_filters/locale
${KOLIBRI_MODULE_PATH}/dist/mptt/locale
${KOLIBRI_MODULE_PATH}/dist/rest_framework/locale
- >
rm -rf
${KOLIBRI_MODULE_PATH}/dist/cext/cp27
${KOLIBRI_MODULE_PATH}/dist/cext/cp36
${KOLIBRI_MODULE_PATH}/dist/cext/cp37
${KOLIBRI_MODULE_PATH}/dist/cext/cp38
${KOLIBRI_MODULE_PATH}/dist/cext/cp39
${KOLIBRI_MODULE_PATH}/dist/cext/*/Windows
- >
rm -rf
${KOLIBRI_MODULE_PATH}/dist/cheroot/test
${KOLIBRI_MODULE_PATH}/dist/cherrypy/test
${KOLIBRI_MODULE_PATH}/dist/colorlog/tests
${KOLIBRI_MODULE_PATH}/dist/Cryptodome/SelfTest
${KOLIBRI_MODULE_PATH}/dist/django_js_reverse/tests
${KOLIBRI_MODULE_PATH}/dist/future/backports/test
${KOLIBRI_MODULE_PATH}/dist/future/moves/test
${KOLIBRI_MODULE_PATH}/dist/ipware/tests
${KOLIBRI_MODULE_PATH}/dist/magicbus/test
${KOLIBRI_MODULE_PATH}/dist/metaphone/tests
${KOLIBRI_MODULE_PATH}/dist/more_itertools/tests
${KOLIBRI_MODULE_PATH}/dist/past/tests
${KOLIBRI_MODULE_PATH}/dist/py2only
${KOLIBRI_MODULE_PATH}/dist/sqlalchemy/testing
${KOLIBRI_MODULE_PATH}/dist/tempora/tests
${KOLIBRI_MODULE_PATH}/dist/tzlocal/test_data
sources:
- type: file
path: cleanup-unused-locales.py
- name: migrate-kolibri-daemon-path
buildsystem: simple
build-commands:
- mkdir -p /app/libexec/kolibri-gnome
- ln -s /app/libexec/kolibri-app/kolibri-daemon /app/libexec/kolibri-gnome/kolibri-daemon
- name: kolibri-tools
buildsystem: simple
build-commands:
- install -m 755 -t ${FLATPAK_DEST}/bin kolibri-listcontent.py
sources:
- type: file
path: tools/kolibri-listcontent.py