mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-23 15:23:44 +02:00
build uchardet on linux/windows
This commit is contained in:
parent
d10125acc7
commit
ce65c10cce
2 changed files with 33 additions and 2 deletions
|
@ -112,6 +112,22 @@ $(DOWNLOADS)/pixman/autogen.sh:
|
|||
$(CLONE) $(GITLAB)/mkxp-z/pixman $(DOWNLOADS)/pixman
|
||||
|
||||
|
||||
# uchardet
|
||||
uchardet: init_dirs $(LIBDIR)/libuchardet.a
|
||||
|
||||
$(LIBDIR)/libuchardet.a: $(DOWNLOADS)/uchardet/cmakebuild/Makefile
|
||||
cd $(DOWNLOADS)/uchardet/cmakebuild; \
|
||||
make -j$(NPROC); make install
|
||||
|
||||
$(DOWNLOADS)/uchardet/cmakebuild/Makefile: $(DOWNLOADS)/uchardet/CMakeLists.txt
|
||||
cd $(DOWNLOADS)/uchardet; \
|
||||
mkdir cmakebuild; cd cmakebuild; \
|
||||
$(CMAKE) -DBUILD_SHARED_LIBS=no
|
||||
|
||||
$(DOWNLOADS)/uchardet/CMakeLists.txt:
|
||||
$(CLONE) $(GITHUB)/freedesktop/uchardet $(DOWNLOADS)/uchardet
|
||||
|
||||
|
||||
# PhysFS
|
||||
|
||||
physfs: init_dirs $(LIBDIR)/libphysfs.a
|
||||
|
@ -317,5 +333,5 @@ powerwash: clean-downloads
|
|||
clean-downloads:
|
||||
-rm -rf downloads
|
||||
|
||||
deps-core: libvorbis sigcxx pixman libpng libjpeg physfs sdl2 sdl2image sdlsound sdl2ttf openal openssl fluidsynth
|
||||
deps-core: libvorbis sigcxx pixman libpng libjpeg physfs sdl2 sdl2image sdlsound sdl2ttf openal openssl fluidsynth uchardet
|
||||
everything: deps-core ruby
|
|
@ -145,6 +145,21 @@ $(DOWNLOADS)/libjpeg/cmakebuild/Makefile: $(DOWNLOADS)/libjpeg/CMakeLists.txt
|
|||
$(DOWNLOADS)/libjpeg/CMakeLists.txt:
|
||||
$(CLONE) $(GITLAB)/mkxp-z/libjpeg-turbo $(DOWNLOADS)/libjpeg
|
||||
|
||||
# uchardet
|
||||
uchardet: init_dirs $(LIBDIR)/libuchardet.a
|
||||
|
||||
$(LIBDIR)/libuchardet.a: $(DOWNLOADS)/uchardet/cmakebuild/Makefile
|
||||
cd $(DOWNLOADS)/uchardet/cmakebuild; \
|
||||
make -j$(NPROC); make install
|
||||
|
||||
$(DOWNLOADS)/uchardet/cmakebuild/Makefile: $(DOWNLOADS)/uchardet/CMakeLists.txt
|
||||
cd $(DOWNLOADS)/uchardet; \
|
||||
mkdir cmakebuild; cd cmakebuild; \
|
||||
$(CMAKE) -DBUILD_SHARED_LIBS=no
|
||||
|
||||
$(DOWNLOADS)/uchardet/CMakeLists.txt:
|
||||
$(CLONE) $(GITHUB)/freedesktop/uchardet $(DOWNLOADS)/uchardet
|
||||
|
||||
# SDL2
|
||||
sdl2: init_dirs $(LIBDIR)/libSDL2.a
|
||||
|
||||
|
@ -305,5 +320,5 @@ powerwash: clean-downloads
|
|||
clean-downloads:
|
||||
-rm -rf downloads
|
||||
|
||||
deps-core: libvorbis pixman libpng libjpeg physfs sdl2 sdl2image sdlsound sdl2ttf openal openssl fluidsynth
|
||||
deps-core: libvorbis pixman libpng libjpeg physfs sdl2 sdl2image sdlsound sdl2ttf openal openssl fluidsynth uchardet
|
||||
everything: deps-core ruby
|
||||
|
|
Loading…
Add table
Reference in a new issue