Compare commits
2 Commits
19d953891b
...
508405b00c
| Author | SHA1 | Date | |
|---|---|---|---|
|
508405b00c
|
|||
|
6dbcc717f7
|
@@ -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
|
||||||
@@ -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: ..
|
||||||
|
|||||||
@@ -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")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user