Created
January 11, 2023 21:27
-
-
Save farribeiro/a23953f422e0779198dcabe56740b956 to your computer and use it in GitHub Desktop.
This file contains 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
id: io.github.mrwexor.ua | |
runtime: org.freedesktop.Platform | |
runtime-version: &runtime-version '22.08' | |
sdk: org.freedesktop.Sdk | |
command: UA | |
add-build-extensions: | |
org.freedesktop.Platform.ffmpeg-full: | |
directory: lib/ffmpeg | |
add-ld-path: . | |
version: *runtime-version | |
no-autodownload: true | |
autodelete: false | |
add-extensions: | |
org.freedesktop.Platform.ffmpeg-full: | |
directory: lib/ffmpeg | |
add-ld-path: . | |
version: *runtime-version | |
no-autodownload: true | |
autodelete: false | |
#cleanup: | |
#- *.a | |
#- *.la | |
finish-args: | |
- --socket=pulseaudio | |
- --socket=x11 | |
- --socket=system-bus | |
- --share=ipc | |
- --share=network | |
- --device=dri | |
modules: | |
- shared-modules/SDL2/SDL2-2.26.1-with-libdecor.json | |
- shared-modules/lua5.4/lua-5.4.json | |
- name: libopenal | |
buildsystem: cmake-ninja | |
sources: | |
- type: archive | |
url: https://openal-soft.org/openal-releases/openal-soft-1.22.2.tar.bz2 | |
sha256: ae94cc95cda76b7cc6e92e38c2531af82148e76d3d88ce996e2928a1ea7c3d20 | |
- name: sdlttf | |
sources: | |
- type: git | |
url: https://github.com/libsdl-org/SDL_ttf.git | |
tag: SDL2 | |
- name: ua | |
#build-options: | |
#append-ld-library-path: /app/lib | |
#env: | |
#LDFLAGS = -L$(MINGW)/lib/ | |
#CFLAGS: -I/app/include/ | |
buildsystem: simple | |
build-commands: | |
#- mkdir -p src/lua5.3 | |
#- ln -s /app/include/{luaconf.h,lua.h,lua.hpp,lualib.h,lauxlib.h} src/lua5.3 | |
#- ln -s /app/lib/{liblua.so,liblua.so.5.3.5,liblua.so.5.3} src/lua5.3 | |
#- ls /app/lib | |
#- cd src; make -I/app/include nix | |
- install -Dm744 UA /app/bin | |
- mkdir -p /app/fonts | |
- cp -r fonts/* /app/fonts | |
# - ls /app | |
# - ls /app/fonts | |
sources: | |
- type: git | |
url: https://github.com/MrWexor/OpenAssault.git | |
#- type: patch | |
#path: lua.patch | |
- type: file | |
path: UA | |
- type: archive | |
path: fonts.tar.xz | |
dest: fonts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment