-
Notifications
You must be signed in to change notification settings - Fork 102
/
com.github.babluboy.bookworm.yml
61 lines (57 loc) · 2.05 KB
/
com.github.babluboy.bookworm.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
# This is the same ID that you've used in meson.build and other files
{
"app-id": "com.github.babluboy.bookworm",
# Instead of manually specifying a long list of build and runtime dependencies,
# we can use a convenient pre-made runtime and SDK. For this example, we'll be
# using the runtime and SDK provided by elementary.
"runtime": "io.elementary.Platform",
"runtime-version": "7.2",
"sdk": "io.elementary.Sdk",
# This should match the exec line in your .desktop file and usually is the same
# as your app ID
command: com.github.babluboy.bookworm,
# Here we can specify the kinds of permissions our app needs to run. Since we're
# not using hardware like webcams, making sound, or reading external files, we
# only need permission to draw our app on screen using either X11 or Wayland.
"finish-args":[
'--share=ipc',
'--socket=fallback-x11',
'--socket=wayland'
],
# This section is where you list all the source code required to build your app.
# If we had external dependencies that weren't included in our SDK, we would list
# them here.
"modules": [
{
"name": "cpython",
"sources": [{
"type": "archive",
"url": "https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz",
"sha256": "f434053ba1b5c8a5cc597e966ead3c5143012af827fd3f0697d21450bb8d87a6"
}]
},
{
"name": "poppler",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DCMAKE_INSTALL_LIBDIR=/app/lib",
"-DCMAKE_INSTALL_INCLUDEDIR=/app/include",
"-DENABLE_BOOST=OFF",
"-DENABLE_LIBOPENJPEG=none"
],
"sources": [{
"type": "archive",
"url": "https://poppler.freedesktop.org/poppler-23.04.0.tar.xz",
"sha256": "b6d893dc7dcd4138b9e9df59a13c59695e50e80dc5c2cacee0674670693951a1"
}]
},
{
"name": "bookworm",
"buildsystem": "meson",
"sources": [{
"type": "dir",
"path": "."
}]
}
]
}