2 Commits

Author SHA1 Message Date
508405b00c fix desktop file
All checks were successful
Linux arm64 / Build (push) Successful in 2m17s
2025-07-24 15:12:55 +02:00
6dbcc717f7 fix normal build 2025-07-24 15:12:48 +02:00
3 changed files with 15 additions and 7 deletions

View File

@@ -4,5 +4,5 @@ Version=1.0
Name=Jminos Name=Jminos
Exec=/usr/bin/graph Exec=/usr/bin/graph
Terminal=false Terminal=false
Categories=Games; Categories=Game;
Comment=Amazing stacker game by the J Comment=Amazing stacker game by the J

View File

@@ -28,13 +28,13 @@ modules:
build-args: build-args:
- --share=network - --share=network
build-commands: build-commands:
- xmake f --policies=package.install_locally -m release -y - xmake f --policies=package.install_locally --external_build=y -m release -y
- xmake - xmake
- xmake install -o output - xmake install -o output
- install -D output/bin/* ${FLATPAK_DEST}/bin - install -D output/bin/* /app/bin
- cp -r output/data ${FLATPAK_DEST}/share - cp -r output/data /app/share
- install -D flatpak/FlatpakLaunch.sh ${FLATPAK_DEST}/bin - install -D flatpak/FlatpakLaunch.sh /app/bin
- install -D flatpak/org.zulianc.jminos.desktop ${FLATPAK_DEST}/share/applications - install -D -t /app/share/applications flatpak/org.zulianc.jminos.desktop
sources: sources:
- type: dir - type: dir
path: .. path: ..

View File

@@ -5,7 +5,15 @@ set_project("org.zulianc.jminos")
includes("@builtin/xpack") includes("@builtin/xpack")
option("external_build")
set_default(false)
option_end()
if has_config("external_build") then
add_requires("sfml 3.0.0", "zlib", {system = false}) add_requires("sfml 3.0.0", "zlib", {system = false})
else
add_requires("sfml 3.0.0", "zlib")
end
set_languages("c++20") set_languages("c++20")