41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
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 $(nproc)
|
|
- 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 -m release -y
|
|
- xmake
|
|
- xmake install -o output
|
|
- install -D output/bin/* ${FLATPAK_DEST}/bin
|
|
- cp -r output/data ${FLATPAK_DEST}/share
|
|
- install -D flatpak/FlatpakLaunch.sh ${FLATPAK_DEST}/bin
|
|
- install -D flatpak/org.zulianc.jminos.desktop ${FLATPAK_DEST}/share/applications
|
|
sources:
|
|
- type: dir
|
|
path: ..
|