Add Dockerfile and update the README

This commit is contained in:
Maschell 2018-09-22 17:44:39 +02:00
parent 21d120bc82
commit f03db948ff
2 changed files with 29 additions and 0 deletions

21
Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM wiiulegacy/core:0.1
# Get dependencies
COPY --from=wiiulegacy/dynamic_libs:0.1 /artifacts $DEVKITPRO/portlibs
COPY --from=wiiulegacy/libutils:0.1 /artifacts $DEVKITPRO/portlibs
# Get latest libgui from git
RUN git clone https://github.com/Maschell/libgui && cd libgui && git checkout v0.1
WORKDIR libgui
# install other dependencies
RUN 7z x -y ./libs/portlibs.zip -o${DEVKITPRO}
RUN make && \
find $DEVKITPRO/portlibs -maxdepth 10 -type f -delete && \
rm -rf $DEVKITPRO/portlibs/ppc/include && \
make install && \
7z x -y ./libs/portlibs.zip -o${DEVKITPRO} && \
cp -r ${DEVKITPRO}/portlibs /artifacts
WORKDIR /artifacts

View File

@ -53,6 +53,14 @@ This package includes:
- libmad - libmad
- vorbisidec - vorbisidec
# Use the prebuilt files from a Docker image.
The image `wiiulegacy/libgui` on [Docker Hub](https://hub.docker.com/r/wiiulegacy/libgui/) provides a prebuilt library in the `/artifacts` directory. Copy it into your DevkitPPC portlibs folder.
Example:
```
COPY --from=wiiulegacy/libgui:0.1 /artifacts $DEVKITPRO/portlibs
```
# Credits # Credits
- Orignally based on https://github.com/dborth/libwiigui - Orignally based on https://github.com/dborth/libwiigui
- Wii U port / modification / new functions / sound / much more by dimok. - Wii U port / modification / new functions / sound / much more by dimok.