forked from xournalpp/xournalpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.github.xournalpp.xournalpp.yaml
99 lines (97 loc) · 2.68 KB
/
com.github.xournalpp.xournalpp.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
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
---
app-id: com.github.xournalpp.xournalpp
runtime: org.gnome.Platform
runtime-version: '3.32'
sdk: org.gnome.Sdk
command: xournalpp
rename-icon: xournalpp
rename-desktop-file: xournalpp.desktop
rename-appdata-file: xournalpp.xml
finish-args:
# X11 + XShm access
- "--share=ipc"
- "--socket=x11"
# Wayland access
- "--socket=wayland"
# Needs to save files locally
- "--filesystem=xdg-documents"
- "--socket=pulseaudio"
# Allow dconf
- "--filesystem=xdg-run/dconf"
- "--filesystem=~/.config/dconf:ro"
- "--talk-name=ca.desrt.dconf"
- "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
build-options:
cleanup:
- "/include"
- "/lib/pkgconfig"
- "/man"
- "/share/doc"
- "/share/gtk-doc"
- "/share/man"
- "/share/pkgconfig"
- "*.la"
- "*.a"
modules:
- name: poppler
buildsystem: cmake-ninja
config-opts:
- "-DCMAKE_INSTALL_LIBDIR=/app/lib"
- "-DCMAKE_INSTALL_INCLUDEDIR=/app/include"
- "-DENABLE_LIBOPENJPEG=none"
cleanup:
- "/bin"
sources:
- type: archive
url: https://poppler.freedesktop.org/poppler-0.69.0.tar.xz
sha256: 637ff943f805f304ff1da77ba2e7f1cbd675f474941fd8ae1e0fc01a5b45a3f9
- name: libzip
buildsystem: cmake-ninja
config-opts:
- "-DCMAKE_INSTALL_LIBDIR=/app/lib"
- "-DCMAKE_INSTALL_INCLUDEDIR=/app/include"
cleanup:
- "/bin"
sources:
- type: archive
url: https://libzip.org/download/libzip-1.5.2.tar.xz
sha256: b3de4d4bd49a01e0cab3507fc163f88e1651695b6b9cb25ad174dbe319d4a3b4
- name: libportaudiocpp
buildsystem: autotools
config-opts:
- "--enable-cxx" # compile with c++ headers!!!
sources:
- type: git
url: https://git.assembla.com/portaudio.git
commit: 396fe4b6699ae929d3a685b3ef8a7e97396139a4
cleanup:
- "/include"
- "/lib/*.a"
- "/lib/*.la"
- "/lib/pkgconfig"
- "/man"
- "/share/aclocal"
- "/share/doc"
- "/share/gtk-doc"
- "/share/man"
- "/share/pkgconfig"
- name: libsndfile
buildsystem: autotools
sources:
- type: archive
url: http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.tar.gz
sha256: a391952f27f4a92ceb2b4c06493ac107896ed6c76be9a613a4731f076d30fac0
# Tried git, but failed to get the autogen script to run.
# - type: git
# url: https://github.com/erikd/libsndfile
# commit: 1d928bffdb65e827c3e7d17ece0e123b4a70ec6c
# tag: 1.0.28
- name: xournallpp
buildsystem: cmake-ninja
config-opts: []
sources:
- type: git
path: .
#url: https://github.com/xournalpp/xournalpp
commit: 14e9012b94e005112387dbb7d2ed59274d542885
tag: 1.0.10