Get rid of the portlibs.zip

This commit is contained in:
Maschell 2019-05-14 22:01:01 +02:00
parent f03db948ff
commit bb8331e3c5
3 changed files with 3 additions and 13 deletions

View File

@ -9,13 +9,12 @@ RUN git clone https://github.com/Maschell/libgui && cd libgui && git checkout v0
WORKDIR libgui WORKDIR libgui
# install other dependencies # install other dependencies
RUN 7z x -y ./libs/portlibs.zip -o${DEVKITPRO} RUN dkp-pacman -Syyu --noconfirm ppc-zlib ppc-libmad ppc-libogg ppc-libgd ppc-freetype ppc-libjpeg-turbo ppc-libpng ppc-libvorbisidec ppc-glm ppc-bzip2
RUN make && \ RUN make && \
find $DEVKITPRO/portlibs -maxdepth 10 -type f -delete && \ find $DEVKITPRO/portlibs -maxdepth 10 -type f -delete && \
rm -rf $DEVKITPRO/portlibs/ppc/include && \ rm -rf $DEVKITPRO/portlibs/ppc/include && \
make install && \ make install && \
7z x -y ./libs/portlibs.zip -o${DEVKITPRO} && \
cp -r ${DEVKITPRO}/portlibs /artifacts cp -r ${DEVKITPRO}/portlibs /artifacts
WORKDIR /artifacts WORKDIR /artifacts

View File

@ -22,7 +22,7 @@ unmount_sd_fat("sd");
Link the application with: Link the application with:
```Makefile ```Makefile
-lgui -lutils -ldynamiclibs -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec -lgui -lutils -ldynamiclibs -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec -logg -lbz2
``` ```
You also need to add the include path to your Makefile. Example: You also need to add the include path to your Makefile. Example:
@ -42,16 +42,7 @@ To be able to use libgui, you need to install the following dependencies:
- [libutils](https://github.com/Maschell/libutils) for common functions. - [libutils](https://github.com/Maschell/libutils) for common functions.
- [dynamic_libs](https://github.com/Maschell/dynamic_libs/tree/lib) for access to the functions. - [dynamic_libs](https://github.com/Maschell/dynamic_libs/tree/lib) for access to the functions.
And other portable libraries that can be found in the "libs" folder of this repository. Extract the "portlibs.zip" into your devkitPro directory. - Install the required portlibs via `(dkp) pacman -Syu ppc-zlib ppc-libmad ppc-libogg ppc-libgd ppc-freetype ppc-libjpeg-turbo ppc-libpng ppc-libvorbisidec ppc-glm ppc-bzip2`
This package includes:
- freetype2
- libgd
- libpng
- libjpeg
- libz
- libmad
- vorbisidec
# Use the prebuilt files from a Docker image. # 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. 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.

Binary file not shown.