Last active
March 16, 2018 18:37
-
-
Save cpba/b378d611e84346411eaa63230051c5b7 to your computer and use it in GitHub Desktop.
Flatpak manifest for mrrescue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"app-id": "dk.tangramgames.mrrescue", | |
"runtime": "org.freedesktop.Platform", | |
"runtime-version": "1.6", | |
"sdk": "org.freedesktop.Sdk", | |
"command": "mrrescue", | |
"finish-args": [ | |
"--device=dri", | |
"--socket=pulseaudio", | |
"--socket=x11", | |
"--socket=wayland" | |
], | |
"modules": [ | |
{ | |
"name": "PhysicsFS", | |
"buildsystem": "cmake", | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "https://icculus.org/physfs/downloads/physfs-3.0.1.tar.bz2", | |
"sha256": "b77b9f853168d9636a44f75fca372b363106f52d789d18a2f776397bf117f2f1" | |
} | |
] | |
}, | |
{ | |
"name": "libmodplug", | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "http://sourceforge.net/projects/modplug-xmms/files/libmodplug/0.8.8.5/libmodplug-0.8.8.5.tar.gz", | |
"sha256": "77462d12ee99476c8645cb5511363e3906b88b33a6b54362b4dbc0f39aa2daad" | |
} | |
] | |
}, | |
{ | |
"name": "luajit", | |
"buildsystem": "simple", | |
"build-commands": [ | |
"make", | |
"make install PREFIX=/app" | |
], | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "http://luajit.org/download/LuaJIT-2.0.5.tar.gz", | |
"sha256": "874b1f8297c697821f561f9b73b57ffd419ed8f4278c82e05b48806d30c1e979" | |
} | |
] | |
}, | |
{ | |
"name": "love", | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "https://bitbucket.org/rude/love/downloads/love-0.10.2-linux-src.tar.gz", | |
"sha256": "b26b306b113158927ae12d2faadb606eb1db49ffdcd7592d6a0a3fc0af21a387" | |
} | |
] | |
}, | |
{ | |
"name": "mrrescue", | |
"buildsystem": "simple", | |
"build-commands": [ | |
"zip -r /app/bin/mrrescue.love *", | |
"cp mrrescue /app/bin/mrrescue" | |
], | |
"sources": [ | |
{ | |
"type": "git", | |
"url": "https://github.com/SimonLarsen/mrrescue.git" | |
}, | |
{ | |
"type":"script", | |
"commands":[ | |
"love /app/bin/mrrescue.love" | |
], | |
"dest-filename":"mrrescue" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment