-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwxMaxima.yaml
22 lines (22 loc) · 858 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
name: wxMaxima
buildsystem: cmake-ninja
builddir: true
sources:
- type: archive
url: https://github.com/wxMaxima-developers/wxmaxima/archive/Version-19.08.1.tar.gz
sha256: 9e8dce440f085d795e9829708e575df15f6bcf124940669d6786494ef71b54c3
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