Files
jminos/flatpak/org.zulianc.jminos.yml
Persson-dev 7040ce3381
All checks were successful
Linux arm64 / Build (push) Successful in 2m30s
add flatpak metadata
2025-07-24 17:45:44 +02:00

43 lines
1.2 KiB
YAML

app-id: org.zulianc.jminos
runtime: org.freedesktop.Platform
runtime-version: "24.08"
sdk: org.freedesktop.Sdk
command: FlatpakLaunch.sh
finish-args:
- --socket=x11
- --device=dri
modules:
- name: xmake
buildsystem: simple
no-autogen: true
cleanup: ['*']
build-commands:
- ./configure --prefix=/app
- make -j $(FLATPAK_BUILDER_N_JOBS)
- prefix=/app ./scripts/get.sh __local__ __install_only__
sources:
- type: git
url: https://github.com/xmake-io/xmake.git
tag: v3.0.1
- name: jminos
buildsystem: simple
build-options:
build-args:
- --share=network
build-commands:
- xmake f --policies=package.install_locally --external_build=y -m release -y
- xmake
- xmake install -o output
- install -D output/bin/* /app/bin
- cp -r output/data /app/share
- install -D flatpak/FlatpakLaunch.sh /app/bin
- install -D -t /app/share/applications flatpak/${FLATPAK_ID}.desktop
- install -Dm644 flatpak/${FLATPAK_ID}.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml
- install -D flatpak/${FLATPAK_ID}.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png
sources:
- type: dir
path: ..