diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..b1324b1 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,21 @@ +FROM debian:trixie +RUN apt update +RUN apt upgrade + +ENV DISPLAY=:0 + +# Install chicken +RUN apt install -y build-essential git +RUN apt install -y chicken-bin + +# Install chicken dependencies +RUN chicken-install srfi-99 srfi-1 srfi-113 srfi-69 csm srfi-78 + +# Install raylib +RUN apt install -y libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev +RUN git clone --depth 1 https://github.com/raysan5/raylib.git raylib && \ +cd raylib/src/ && \ +make PLATFORM=PLATFORM_DESKTOP && \ +make install + +RUN chicken-install raylib \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..3cd4515 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,12 @@ +{ + "name": "Imugi Dev Container", + "build": { + "dockerfile": "Dockerfile" + }, + "runArgs": [ + "--net", "host", + "-e", "DISPLAY=:0", + "-e", "XAUTHORITY=/tmp/.Xauthority", + "-v", "${localEnv:HOME}/.Xauthority:/tmp/.Xauthority" + ] +} diff --git a/all.options b/all.options index 4efc2d9..a6db636 100644 --- a/all.options +++ b/all.options @@ -1 +1 @@ --static -L /usr/local/lib64/libraylib.a \ No newline at end of file +-static -L /usr/local/lib/libraylib.a -L -lX11 -L -lXrandr -L -lXi -L -lXcursor -L -lXinerama -L -lXext -L -lGL -L -lm -L -lpthread -L -ldl -L -lrt \ No newline at end of file