-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathio.github.hurricangame.hurrican.yml
64 lines (64 loc) · 2.15 KB
/
io.github.hurricangame.hurrican.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
62
63
64
app-id: io.github.hurricangame.hurrican
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: hurrican
finish-args:
- --device=all
- --socket=pulseaudio
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
modules:
- name: libopenmpt
buildsystem: autotools
config-opts:
- --without-mpg123
- --without-portaudio
- --without-portaudiocpp
- --without-ogg
- --without-vorbis
- --without-vorbisfile
- --without-sndfile
- --without-flac
cleanup:
- /include
sources:
- type: archive
url: https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-0.6.2+release.autotools.tar.gz
sha256: 50c0d62ff2d9afefa36cce9f29042cb1fb8d4f0b386b81a0fc7734f35e21e6b6
- name: hurrican
buildsystem: cmake-ninja
builddir: true
subdir: "Hurrican"
config-opts:
- "-DOPENMPT=ON"
- "-DCMAKE_BUILD_TYPE=Release"
post-install:
- desktop-file-install ../../io.github.hurricangame.hurrican.desktop --dir /app/share/applications
- install -Dm644 ../../io.github.hurricangame.hurrican.metainfo.xml /app/share/metainfo/io.github.hurricangame.hurrican.metainfo.xml
- |
for px in 16 32 48 64 128; do
convert ../Hurrican.ico -thumbnail ${px}x${px} -alpha on -background none -flatten hurrican_${px}x${px}.png
install -Dm644 hurrican_${px}x${px}.png /app/share/icons/hicolor/${px}x${px}/apps/io.github.hurricangame.hurrican.png
done
sources:
- type: git
url: https://github.com/HurricanGame/Hurrican
commit: add60b112ee6a6817e698b48df913106e8abadfa
- type: file
path: io.github.hurricangame.hurrican.desktop
- type: file
path: io.github.hurricangame.hurrican.metainfo.xml
modules:
- name: ImageMagick
config-opts:
- --disable-static
- --disable-docs
- --with-pic
sources:
- type: archive
url: https://github.com/ImageMagick/ImageMagick/archive/7.0.8-65.tar.gz
sha256: 14afaf722d8964ed8de2ebd8184a229e521f1425e18e7274806f06e008bf9aa7
cleanup:
- '*'