-
Notifications
You must be signed in to change notification settings - Fork 0
/
io.github.Rangi42.polished-map-plusplus.yaml
44 lines (42 loc) · 1.52 KB
/
io.github.Rangi42.polished-map-plusplus.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
id: io.github.Rangi42.polished-map-plusplus
runtime: org.freedesktop.Platform
runtime-version: "23.08"
sdk: org.freedesktop.Sdk
command: polishedmap-plusplus
finish-args:
- --filesystem=host:rw
- --socket=x11
- --device=dri
- --share=ipc
modules:
- name: fltk
buildsystem: autotools
config-opts:
- --with-abiversion=10307
sources:
- type: git
url: https://github.com/fltk/fltk.git
tag: release-1.3.8
commit: 3600522ae7d2244b69552458e4d82f869a36067b
- type: patch
path: xdg-dir.patch
cleanup:
- /share
- name: polished-map
buildsystem: simple
build-commands:
- make
- make install PREFIX=$FLATPAK_DEST
- mv $FLATPAK_DEST/share/applications/Polished $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop
- sed -i "s/ Map++.desktop//g" $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop
- desktop-file-edit --set-icon=$FLATPAK_ID --add-category=Game $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop
- install -Dm644 $FLATPAK_ID.png -t $FLATPAK_DEST/share/icons/hicolor/128x128/apps
- install -Dm644 $FLATPAK_ID.metainfo.xml -t $FLATPAK_DEST/share/metainfo
sources:
- type: archive
url: https://github.com/Rangi42/polished-map/archive/refs/tags/v2.7.1++.tar.gz
sha256: 534aa817b61666be1ff5a8a46801b012945ea200139151b90aa2c43f6feb82a4
- type: file
path: io.github.Rangi42.polished-map-plusplus.png
- type: file
path: io.github.Rangi42.polished-map-plusplus.metainfo.xml