com.supermodel3.Supermodel/com.supermodel3.Supermodel.yaml

48 lines
1.6 KiB
YAML
Raw Normal View History

2023-04-03 11:57:55 +00:00
id: com.supermodel3.Supermodel
runtime: org.freedesktop.Platform
runtime-version: "22.08"
sdk: org.freedesktop.Sdk
command: supermodel
separate-locales: false
finish-args:
- --device=all
- --persist=.supermodel
- --filesystem=home
2023-04-03 11:57:55 +00:00
- --filesystem=host:ro
- --share=network
- --share=ipc
- --socket=fallback-x11
- --socket=pulseaudio
- --socket=wayland
- --allow=bluetooth
modules:
- shared-modules/glu/glu-9.json
- name: supermodel
buildsystem: simple
build-commands:
- make
-f Makefiles/Makefile.UNIX
NET_BOARD=1
- install -Dm 0755 bin/supermodel ${FLATPAK_DEST}/bin/supermodel
2023-04-03 13:32:57 +00:00
- install -Dm 0644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
2023-04-03 11:57:55 +00:00
- install -Dm 0644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
2023-04-03 13:32:57 +00:00
- install -Dm 0644 supermodel128x128.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
2023-06-27 20:25:21 +00:00
- mkdir -p ${XDG_CONFIG_HOME}/.supermodel/NVRAM
- mkdir -p ${XDG_CONFIG_HOME}/.supermodel/ROMs
- mkdir -p ${XDG_CONFIG_HOME}/.supermodel/Saves
- cp -r Assets ${XDG_CONFIG_HOME}/.supermodel/
- cp -r Config ${XDG_CONFIG_HOME}/.supermodel/
2023-04-03 11:57:55 +00:00
sources:
- type: git
url: https://github.com/trzy/Supermodel.git
2023-08-09 14:14:02 +00:00
commit: 015e8e921254210b66f1e83ed22f6a4c08759a19
2023-04-03 13:32:57 +00:00
- type: file
path: com.supermodel3.Supermodel.desktop
2023-04-03 11:57:55 +00:00
- type: file
path: com.supermodel3.Supermodel.metainfo.xml
2023-04-03 13:32:57 +00:00
- type: file
path: supermodel128x128.png
2023-04-03 11:57:55 +00:00
- type: patch
path: ldflags.patch