forked from scx/wxmaxima-flatpak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwxMaxima.yaml
24 lines (24 loc) · 853 Bytes
/
wxMaxima.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
name: wxMaxima
buildsystem: cmake-ninja
builddir: true
# TODO: why it has to be disabled??
config-opts: [-DWXM_DISABLE_WEBVIEW=ON]
sources:
- type: git
url: https://github.com/wxMaxima-developers/wxmaxima.git
tag: Version-23.02.1
post-install:
- |
icon_in="../data/${FLATPAK_ID}.svg";
icon_out="${FLATPAK_ID}.png";
for s in {16,22,24,32,36,48,64,72,96,128,192,256,512}; do
[[ ! -f "${FLATPAK_DEST}/share/icons/hicolor/${s}x${s}/apps/${icon_out}" ]] || continue;
rsvg-convert "${icon_in}" -w "${s}" -h "${s}" -a -f png -o "${icon_out}";
install -p -D -m 0644 "${icon_out}" -t "${FLATPAK_DEST}/share/icons/hicolor/${s}x${s}/apps/";
done;
- install -p -D -m 0644 "../COPYING" -t "${FLATPAK_DEST}/share/licenses/wxmaxima/";
modules:
- wxwidgets.yaml
- maxima.yaml
#- jsmath-fonts.yaml
#- doxygen.yaml