-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.github.twanvl.MagicSetEditor2.yaml
62 lines (62 loc) · 2.1 KB
/
io.github.twanvl.MagicSetEditor2.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
app-id: io.github.twanvl.MagicSetEditor2
runtime: org.freedesktop.Platform
runtime-version: "22.08"
sdk: org.freedesktop.Sdk
command: magicseteditor
finish-args:
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=wayland
- --socket=pulseaudio
- --filesystem=home
- --persist=.magicseteditor
cleanup:
- "/include"
- "/share/aclocal"
- "*.a"
modules:
- shared-modules/glu/glu-9.json
- name: wxwidgets
build-options:
cxxflags: -std=c++0x
config-opts:
- --disable-webview
- --disable-webviewwebkit
- --with-libiconv=/usr
cleanup:
- "/bin/wx*"
sources:
- type: git
url: https://github.com/wxWidgets/wxWidgets
tag: v3.0.5.1
- name: boost
buildsystem: simple
build-commands:
- ./bootstrap.sh --prefix=${FLATPAK_DEST} --with-libraries=regex
- ./b2 headers
- ./b2 -j$FLATPAK_BUILDER_N_JOBS install variant=release cxxstd=17 --layout=system
sources:
- type: archive
url: https://downloads.sourceforge.net/boost/boost/1.75.0/boost_1_75_0.tar.bz2
sha256: 953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb
- name: magicseteditor
buildsystem: cmake-ninja
no-make-install: true
post-install:
- install -Dm755 ./magicseteditor -t /app/bin/
- install -d /app/share/magicseteditor
- cp -r ./resource /app/share/magicseteditor
- install -D --mode=644 io.github.twanvl.MagicSetEditor2.desktop /app/share/applications/${FLATPAK_ID}.desktop
- install -D --mode=644 io.github.twanvl.MagicSetEditor2-128.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
- install -D --mode=644 io.github.twanvl.MagicSetEditor2.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml
sources:
- type: git
url: https://github.com/twanvl/MagicSetEditor2
commit: f9d9356d51f28210ccf0c0dda508502f222e1def
- type: file
path: io.github.twanvl.MagicSetEditor2.desktop
- type: file
path: io.github.twanvl.MagicSetEditor2.metainfo.xml
- type: file
path: io.github.twanvl.MagicSetEditor2-128.png