mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-27 17:23:02 +02:00
Update repos and readme
This commit is contained in:
parent
58de823d41
commit
c41967268c
4 changed files with 46 additions and 61 deletions
18
README.md
18
README.md
|
@ -10,25 +10,13 @@ Despite the fact that it was made with Essentials games in mind, there is nothin
|
||||||
|
|
||||||
It supports Windows, Linux and both Intel and Apple Silicon versions of macOS.
|
It supports Windows, Linux and both Intel and Apple Silicon versions of macOS.
|
||||||
|
|
||||||
Releases are [here](https://gitlab.com/mkxp-z/mkxp-z/-/releases). Requirements for running them are Windows 8.1+, Ubuntu 18.04+ (Fedora and Manjaro releases that age or newer *should* also be fine), or macOS 10.12.2+.
|
Releases are [here](https://github.com/mkxp-z/mkxp-z/releases). Requirements for running them are Windows 8.1+, Ubuntu 20.04+ (Fedora and Manjaro releases that age or newer *should* also be fine), or macOS 10.12.2+.
|
||||||
|
|
||||||
I'd highly recommend [checking the gitbook](https://roza-gb.gitbook.io/mkxp-z) for more information than this readme contains.
|
I'd highly recommend [checking the wiki](https://github.com/mkxp-z/mkxp-z/wiki) for more information than this readme contains.
|
||||||
|
|
||||||
## Bindings
|
## Bindings
|
||||||
Bindings provide the glue code for an interpreted language environment to run game scripts in. mkxp-z focuses on MRI and as such the mruby and null bindings are not included.
|
Bindings provide the glue code for an interpreted language environment to run game scripts in. mkxp-z focuses on MRI and as such the mruby and null bindings are not included.
|
||||||
|
|
||||||
### MRI
|
|
||||||
Website: https://www.ruby-lang.org/en/
|
|
||||||
|
|
||||||
Matz's Ruby Interpreter, also called CRuby, is the most widely deployed version of ruby. MRI 1.8.1 is what was used in RPG Maker XP, and 1.8.7 is the lowest that mkxp-z is prepared to let you go.
|
|
||||||
|
|
||||||
Ruby versions 1.9.3 and 2.1 - 3.1 are also supported, and running each platform's respective dependency makefile will build Ruby 3.1.
|
|
||||||
|
|
||||||
## Dependencies / Building
|
|
||||||
|
|
||||||
For build instructions, refer to the [gitbook](https://roza-gb.gitbook.io/mkxp-z/).
|
|
||||||
|
|
||||||
|
|
||||||
## Midi music
|
## Midi music
|
||||||
|
|
||||||
mkxp doesn't come with a soundfont by default, so you will have to supply it yourself (set its path in the config). Playback has been tested and should work reasonably well with all RTP assets.
|
mkxp doesn't come with a soundfont by default, so you will have to supply it yourself (set its path in the config). Playback has been tested and should work reasonably well with all RTP assets.
|
||||||
|
@ -49,7 +37,7 @@ Technically, while SDL itself might support these buttons, the keybinding menu h
|
||||||
|
|
||||||
In the RMXP version of RGSS, fonts are loaded directly from system specific search paths (meaning they must be installed to be available to games). Because this whole thing is a giant platform-dependent headache, Ancurio decided to implement the behavior Enterbrain thankfully added in VX Ace: loading fonts will automatically search a folder called "Fonts", which obeys the default searchpath behavior (ie. it can be located directly in the game folder, or an RTP).
|
In the RMXP version of RGSS, fonts are loaded directly from system specific search paths (meaning they must be installed to be available to games). Because this whole thing is a giant platform-dependent headache, Ancurio decided to implement the behavior Enterbrain thankfully added in VX Ace: loading fonts will automatically search a folder called "Fonts", which obeys the default searchpath behavior (ie. it can be located directly in the game folder, or an RTP).
|
||||||
|
|
||||||
If a requested font is not found, no error is generated. Instead, a built-in font is used. By default, this font is Liberation Sans. WenQuanYi MicroHei is used as the built-in font if the `cjk_fallback_font` option is used.
|
If a requested font is not found, no error is generated. Instead, a built-in font is used. By default, this font is Liberation Sans.
|
||||||
|
|
||||||
## What doesn't work
|
## What doesn't work
|
||||||
* wma audio files
|
* wma audio files
|
||||||
|
|
|
@ -19,7 +19,6 @@ PKG_CONFIG_LIBDIR := $(BUILD_PREFIX)/lib/pkgconfig
|
||||||
GIT := git
|
GIT := git
|
||||||
CLONE := $(GIT) clone -q
|
CLONE := $(GIT) clone -q
|
||||||
GITHUB := https://github.com
|
GITHUB := https://github.com
|
||||||
GITLAB := https://gitlab.com
|
|
||||||
|
|
||||||
CONFIGURE_ENV := \
|
CONFIGURE_ENV := \
|
||||||
PKG_CONFIG_LIBDIR=$(PKG_CONFIG_LIBDIR) \
|
PKG_CONFIG_LIBDIR=$(PKG_CONFIG_LIBDIR) \
|
||||||
|
@ -82,7 +81,7 @@ $(DOWNLOADS)/vorbis/configure: $(DOWNLOADS)/vorbis/autogen.sh
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/vorbis/autogen.sh:
|
$(DOWNLOADS)/vorbis/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/vorbis $(DOWNLOADS)/vorbis
|
$(CLONE) $(GITHUB)/mkxp-z/vorbis $(DOWNLOADS)/vorbis
|
||||||
|
|
||||||
|
|
||||||
# Ogg, dependency of Vorbis
|
# Ogg, dependency of Vorbis
|
||||||
|
@ -100,7 +99,7 @@ $(DOWNLOADS)/ogg/configure: $(DOWNLOADS)/ogg/autogen.sh
|
||||||
cd $(DOWNLOADS)/ogg; ./autogen.sh
|
cd $(DOWNLOADS)/ogg; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/ogg/autogen.sh:
|
$(DOWNLOADS)/ogg/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/ogg $(DOWNLOADS)/ogg
|
$(CLONE) $(GITHUB)/mkxp-z/ogg $(DOWNLOADS)/ogg
|
||||||
|
|
||||||
# Pixman
|
# Pixman
|
||||||
pixman: init_dirs libpng $(LIBDIR)/libpixman-1.a
|
pixman: init_dirs libpng $(LIBDIR)/libpixman-1.a
|
||||||
|
@ -115,7 +114,7 @@ $(DOWNLOADS)/pixman/Makefile: $(DOWNLOADS)/pixman/autogen.sh
|
||||||
$(AUTOGEN) --enable-static=yes --enable-shared=no
|
$(AUTOGEN) --enable-static=yes --enable-shared=no
|
||||||
|
|
||||||
$(DOWNLOADS)/pixman/autogen.sh:
|
$(DOWNLOADS)/pixman/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/pixman $(DOWNLOADS)/pixman
|
$(CLONE) $(GITHUB)/mkxp-z/pixman $(DOWNLOADS)/pixman
|
||||||
|
|
||||||
|
|
||||||
# iconv
|
# iconv
|
||||||
|
@ -165,7 +164,7 @@ $(DOWNLOADS)/physfs/cmakebuild/Makefile: $(DOWNLOADS)/physfs/CMakeLists.txt
|
||||||
$(CMAKE) -DPHYSFS_BUILD_STATIC=true -DPHYSFS_BUILD_SHARED=false
|
$(CMAKE) -DPHYSFS_BUILD_STATIC=true -DPHYSFS_BUILD_SHARED=false
|
||||||
|
|
||||||
$(DOWNLOADS)/physfs/CMakeLists.txt:
|
$(DOWNLOADS)/physfs/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/physfs $(DOWNLOADS)/physfs
|
$(CLONE) $(GITHUB)/mkxp-z/physfs $(DOWNLOADS)/physfs
|
||||||
|
|
||||||
# libpng
|
# libpng
|
||||||
libpng: init_dirs $(LIBDIR)/libpng.a
|
libpng: init_dirs $(LIBDIR)/libpng.a
|
||||||
|
@ -180,7 +179,7 @@ $(DOWNLOADS)/libpng/Makefile: $(DOWNLOADS)/libpng/configure
|
||||||
--enable-shared=no --enable-static=yes
|
--enable-shared=no --enable-static=yes
|
||||||
|
|
||||||
$(DOWNLOADS)/libpng/configure:
|
$(DOWNLOADS)/libpng/configure:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/libpng $(DOWNLOADS)/libpng
|
$(CLONE) $(GITHUB)/mkxp-z/libpng $(DOWNLOADS)/libpng
|
||||||
|
|
||||||
# libjpeg
|
# libjpeg
|
||||||
libjpeg: init_dirs $(LIBDIR)/libjpeg.a
|
libjpeg: init_dirs $(LIBDIR)/libjpeg.a
|
||||||
|
@ -194,7 +193,7 @@ $(DOWNLOADS)/libjpeg/cmakebuild/Makefile: $(DOWNLOADS)/libjpeg/CMakeLists.txt
|
||||||
$(CMAKE) -DENABLE_SHARED=no -DENABLE_STATIC=yes
|
$(CMAKE) -DENABLE_SHARED=no -DENABLE_STATIC=yes
|
||||||
|
|
||||||
$(DOWNLOADS)/libjpeg/CMakeLists.txt:
|
$(DOWNLOADS)/libjpeg/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/libjpeg-turbo $(DOWNLOADS)/libjpeg
|
$(CLONE) $(GITHUB)/mkxp-z/libjpeg-turbo $(DOWNLOADS)/libjpeg
|
||||||
|
|
||||||
# SDL2
|
# SDL2
|
||||||
sdl2: init_dirs $(LIBDIR)/libSDL2.a
|
sdl2: init_dirs $(LIBDIR)/libSDL2.a
|
||||||
|
@ -211,7 +210,7 @@ $(DOWNLOADS)/sdl2/configure: $(DOWNLOADS)/sdl2/autogen.sh
|
||||||
cd $(DOWNLOADS)/sdl2; ./autogen.sh
|
cd $(DOWNLOADS)/sdl2; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl2/autogen.sh:
|
$(DOWNLOADS)/sdl2/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/SDL $(DOWNLOADS)/sdl2 -b mkxp-z; cd $(DOWNLOADS)/sdl2
|
$(CLONE) $(GITHUB)/mkxp-z/SDL $(DOWNLOADS)/sdl2 -b mkxp-z; cd $(DOWNLOADS)/sdl2
|
||||||
|
|
||||||
# SDL2 (Image)
|
# SDL2 (Image)
|
||||||
sdl2image: init_dirs sdl2 libpng libjpeg $(LIBDIR)/libSDL2_image.a
|
sdl2image: init_dirs sdl2 libpng libjpeg $(LIBDIR)/libSDL2_image.a
|
||||||
|
@ -232,7 +231,7 @@ $(DOWNLOADS)/sdl2_image/configure: $(DOWNLOADS)/sdl2_image/autogen.sh
|
||||||
cd $(DOWNLOADS)/sdl2_image; ./autogen.sh
|
cd $(DOWNLOADS)/sdl2_image; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl2_image/autogen.sh:
|
$(DOWNLOADS)/sdl2_image/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/SDL_image_old $(DOWNLOADS)/sdl2_image -b mkxp-z
|
$(CLONE) $(GITHUB)/mkxp-z/SDL_image_old $(DOWNLOADS)/sdl2_image -b mkxp-z
|
||||||
|
|
||||||
# SDL_sound
|
# SDL_sound
|
||||||
sdlsound: init_dirs sdl2 libogg libvorbis $(LIBDIR)/libSDL2_sound.a
|
sdlsound: init_dirs sdl2 libogg libvorbis $(LIBDIR)/libSDL2_sound.a
|
||||||
|
@ -248,7 +247,7 @@ $(DOWNLOADS)/sdl_sound/cmakebuild/Makefile: $(DOWNLOADS)/sdl_sound/CMakeLists.tx
|
||||||
-DSDLSOUND_BUILD_TEST=false
|
-DSDLSOUND_BUILD_TEST=false
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl_sound/CMakeLists.txt:
|
$(DOWNLOADS)/sdl_sound/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/SDL_sound $(DOWNLOADS)/sdl_sound -b git
|
$(CLONE) $(GITHUB)/mkxp-z/SDL_sound $(DOWNLOADS)/sdl_sound -b git
|
||||||
|
|
||||||
# SDL2 (ttf)
|
# SDL2 (ttf)
|
||||||
sdl2ttf: init_dirs sdl2 freetype $(LIBDIR)/libSDL2_ttf.a
|
sdl2ttf: init_dirs sdl2 freetype $(LIBDIR)/libSDL2_ttf.a
|
||||||
|
@ -262,7 +261,7 @@ $(DOWNLOADS)/sdl2_ttf/cmakebuild/Makefile: $(DOWNLOADS)/sdl2_ttf/CMakeLists.txt
|
||||||
$(CMAKE) -DBUILD_SHARED_LIBS=no
|
$(CMAKE) -DBUILD_SHARED_LIBS=no
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl2_ttf/CMakeLists.txt:
|
$(DOWNLOADS)/sdl2_ttf/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/sdl_ttf $(DOWNLOADS)/sdl2_ttf
|
$(CLONE) $(GITHUB)/mkxp-z/sdl_ttf $(DOWNLOADS)/sdl2_ttf
|
||||||
|
|
||||||
# Freetype (dependency of SDL2_ttf)
|
# Freetype (dependency of SDL2_ttf)
|
||||||
freetype: init_dirs $(LIBDIR)/libfreetype.a
|
freetype: init_dirs $(LIBDIR)/libfreetype.a
|
||||||
|
@ -279,7 +278,7 @@ $(DOWNLOADS)/freetype/configure: $(DOWNLOADS)/freetype/autogen.sh
|
||||||
cd $(DOWNLOADS)/freetype; ./autogen.sh
|
cd $(DOWNLOADS)/freetype; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/freetype/autogen.sh:
|
$(DOWNLOADS)/freetype/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/freetype2 $(DOWNLOADS)/freetype
|
$(CLONE) $(GITHUB)/mkxp-z/freetype2 $(DOWNLOADS)/freetype
|
||||||
|
|
||||||
# OpenAL
|
# OpenAL
|
||||||
openal: init_dirs libogg $(LIBDIR)/libopenal.a
|
openal: init_dirs libogg $(LIBDIR)/libopenal.a
|
||||||
|
@ -293,7 +292,7 @@ $(DOWNLOADS)/openal/cmakebuild/Makefile: $(DOWNLOADS)/openal/CMakeLists.txt
|
||||||
$(CMAKE) -DLIBTYPE=STATIC -DALSOFT_EXAMPLES=no -DALSOFT_UTILS=no $(OPENAL_FLAGS)
|
$(CMAKE) -DLIBTYPE=STATIC -DALSOFT_EXAMPLES=no -DALSOFT_UTILS=no $(OPENAL_FLAGS)
|
||||||
|
|
||||||
$(DOWNLOADS)/openal/CMakeLists.txt:
|
$(DOWNLOADS)/openal/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/openal-soft $(DOWNLOADS)/openal
|
$(CLONE) $(GITHUB)/mkxp-z/openal-soft $(DOWNLOADS)/openal
|
||||||
|
|
||||||
# FluidSynth
|
# FluidSynth
|
||||||
fluidsynth: init_dirs $(LIBDIR)/libfluidsynth.a
|
fluidsynth: init_dirs $(LIBDIR)/libfluidsynth.a
|
||||||
|
@ -307,7 +306,7 @@ $(DOWNLOADS)/fluidsynth/cmakebuild/Makefile: $(DOWNLOADS)/fluidsynth/CMakeLists.
|
||||||
$(CMAKE) -DBUILD_SHARED_LIBS=no -Denable-sdl2=no -Denable-readline=no
|
$(CMAKE) -DBUILD_SHARED_LIBS=no -Denable-sdl2=no -Denable-readline=no
|
||||||
|
|
||||||
$(DOWNLOADS)/fluidsynth/CMakeLists.txt:
|
$(DOWNLOADS)/fluidsynth/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/fluidsynth-sans-glib $(DOWNLOADS)/fluidsynth
|
$(CLONE) $(GITHUB)/mkxp-z/fluidsynth-sans-glib $(DOWNLOADS)/fluidsynth
|
||||||
|
|
||||||
# OpenSSL
|
# OpenSSL
|
||||||
openssl: init_dirs $(LIBDIR)/libssl.a
|
openssl: init_dirs $(LIBDIR)/libssl.a
|
||||||
|
@ -323,7 +322,7 @@ $(DOWNLOADS)/openssl/Makefile: $(DOWNLOADS)/openssl/Configure
|
||||||
--openssldir="$(BUILD_PREFIX)"
|
--openssldir="$(BUILD_PREFIX)"
|
||||||
|
|
||||||
$(DOWNLOADS)/openssl/Configure:
|
$(DOWNLOADS)/openssl/Configure:
|
||||||
$(CLONE) $(GITHUB)/openssl/openssl $(DOWNLOADS)/openssl -c advice.detachedHead=false --branch OpenSSL_1_1_1i
|
$(CLONE) $(GITHUB)/openssl/openssl $(DOWNLOADS)/openssl --single-branch --branch OpenSSL_1_1_1i --depth 1
|
||||||
|
|
||||||
# Standard ruby
|
# Standard ruby
|
||||||
ruby: init_dirs openssl $(BUILD_PREFIX)/libruby.so.3.1
|
ruby: init_dirs openssl $(BUILD_PREFIX)/libruby.so.3.1
|
||||||
|
@ -340,7 +339,7 @@ $(DOWNLOADS)/ruby/configure: $(DOWNLOADS)/ruby/*.c
|
||||||
cd $(DOWNLOADS)/ruby; autoreconf -i
|
cd $(DOWNLOADS)/ruby; autoreconf -i
|
||||||
|
|
||||||
$(DOWNLOADS)/ruby/*.c:
|
$(DOWNLOADS)/ruby/*.c:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/ruby $(DOWNLOADS)/ruby -b mkxp-z-3.1;
|
$(CLONE) $(GITHUB)/mkxp-z/ruby $(DOWNLOADS)/ruby --single-branch --branch mkxp-z-3.1 --depth 1;
|
||||||
|
|
||||||
# ====
|
# ====
|
||||||
init_dirs:
|
init_dirs:
|
||||||
|
|
|
@ -13,7 +13,6 @@ PKG_CONFIG_LIBDIR := $(BUILD_PREFIX)/lib/pkgconfig
|
||||||
GIT := git
|
GIT := git
|
||||||
CLONE := $(GIT) clone -q
|
CLONE := $(GIT) clone -q
|
||||||
GITHUB := https://github.com
|
GITHUB := https://github.com
|
||||||
GITLAB := https://gitlab.com
|
|
||||||
|
|
||||||
# need to set the build variable because Ruby is picky
|
# need to set the build variable because Ruby is picky
|
||||||
ifeq "$(strip $(shell uname -m))" "arm64"
|
ifeq "$(strip $(shell uname -m))" "arm64"
|
||||||
|
@ -95,7 +94,7 @@ $(DOWNLOADS)/vorbis/configure: $(DOWNLOADS)/vorbis/autogen.sh
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/vorbis/autogen.sh:
|
$(DOWNLOADS)/vorbis/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/vorbis $(DOWNLOADS)/vorbis
|
$(CLONE) $(GITHUB)/mkxp-z/vorbis $(DOWNLOADS)/vorbis
|
||||||
|
|
||||||
|
|
||||||
# Ogg, dependency of Vorbis
|
# Ogg, dependency of Vorbis
|
||||||
|
@ -113,7 +112,7 @@ $(DOWNLOADS)/ogg/configure: $(DOWNLOADS)/ogg/autogen.sh
|
||||||
cd $(DOWNLOADS)/ogg; ./autogen.sh
|
cd $(DOWNLOADS)/ogg; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/ogg/autogen.sh:
|
$(DOWNLOADS)/ogg/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/ogg $(DOWNLOADS)/ogg
|
$(CLONE) $(GITHUB)/mkxp-z/ogg $(DOWNLOADS)/ogg
|
||||||
|
|
||||||
# uchardet
|
# uchardet
|
||||||
uchardet: init_dirs $(LIBDIR)/libuchardet.a
|
uchardet: init_dirs $(LIBDIR)/libuchardet.a
|
||||||
|
@ -145,7 +144,7 @@ $(DOWNLOADS)/pixman/Makefile: $(DOWNLOADS)/pixman/autogen.sh
|
||||||
--disable-arm-a64-neon
|
--disable-arm-a64-neon
|
||||||
|
|
||||||
$(DOWNLOADS)/pixman/autogen.sh:
|
$(DOWNLOADS)/pixman/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/pixman $(DOWNLOADS)/pixman
|
$(CLONE) $(GITHUB)/mkxp-z/pixman $(DOWNLOADS)/pixman
|
||||||
|
|
||||||
|
|
||||||
# PhysFS
|
# PhysFS
|
||||||
|
@ -162,7 +161,7 @@ $(DOWNLOADS)/physfs/cmakebuild/Makefile: $(DOWNLOADS)/physfs/CMakeLists.txt
|
||||||
$(CMAKE) -DPHYSFS_BUILD_STATIC=true -DPHYSFS_BUILD_SHARED=false
|
$(CMAKE) -DPHYSFS_BUILD_STATIC=true -DPHYSFS_BUILD_SHARED=false
|
||||||
|
|
||||||
$(DOWNLOADS)/physfs/CMakeLists.txt:
|
$(DOWNLOADS)/physfs/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/physfs $(DOWNLOADS)/physfs
|
$(CLONE) $(GITHUB)/mkxp-z/physfs $(DOWNLOADS)/physfs
|
||||||
|
|
||||||
# libpng
|
# libpng
|
||||||
libpng: init_dirs $(LIBDIR)/libpng.a
|
libpng: init_dirs $(LIBDIR)/libpng.a
|
||||||
|
@ -177,7 +176,7 @@ $(DOWNLOADS)/libpng/Makefile: $(DOWNLOADS)/libpng/configure
|
||||||
--enable-shared=no --enable-static=yes
|
--enable-shared=no --enable-static=yes
|
||||||
|
|
||||||
$(DOWNLOADS)/libpng/configure:
|
$(DOWNLOADS)/libpng/configure:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/libpng $(DOWNLOADS)/libpng
|
$(CLONE) $(GITHUB)/mkxp-z/libpng $(DOWNLOADS)/libpng
|
||||||
|
|
||||||
# SDL2
|
# SDL2
|
||||||
sdl2: init_dirs $(LIBDIR)/libSDL2.a
|
sdl2: init_dirs $(LIBDIR)/libSDL2.a
|
||||||
|
@ -195,7 +194,7 @@ $(DOWNLOADS)/sdl2/configure: $(DOWNLOADS)/sdl2/autogen.sh
|
||||||
cd $(DOWNLOADS)/sdl2; ./autogen.sh
|
cd $(DOWNLOADS)/sdl2; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl2/autogen.sh:
|
$(DOWNLOADS)/sdl2/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/SDL $(DOWNLOADS)/sdl2 -b mkxp-z; cd $(DOWNLOADS)/sdl2
|
$(CLONE) $(GITHUB)/mkxp-z/SDL $(DOWNLOADS)/sdl2 -b mkxp-z; cd $(DOWNLOADS)/sdl2
|
||||||
|
|
||||||
# SDL_image
|
# SDL_image
|
||||||
sdl2image: init_dirs sdl2 $(LIBDIR)/libSDL2_image.a
|
sdl2image: init_dirs sdl2 $(LIBDIR)/libSDL2_image.a
|
||||||
|
@ -216,7 +215,7 @@ $(DOWNLOADS)/sdl2_image/cmakebuild/Makefile: $(DOWNLOADS)/sdl2_image/CMakeLists.
|
||||||
|
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl2_image/CMakeLists.txt:
|
$(DOWNLOADS)/sdl2_image/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/SDL_image $(DOWNLOADS)/sdl2_image -b mkxp-z
|
$(CLONE) $(GITHUB)/mkxp-z/SDL_image $(DOWNLOADS)/sdl2_image -b mkxp-z
|
||||||
|
|
||||||
|
|
||||||
# SDL_sound
|
# SDL_sound
|
||||||
|
@ -234,7 +233,7 @@ $(DOWNLOADS)/sdl_sound/cmakebuild/Makefile: $(DOWNLOADS)/sdl_sound/CMakeLists.tx
|
||||||
-DSDLSOUND_DECODER_COREAUDIO=false
|
-DSDLSOUND_DECODER_COREAUDIO=false
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl_sound/CMakeLists.txt:
|
$(DOWNLOADS)/sdl_sound/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/SDL_sound $(DOWNLOADS)/sdl_sound -b git
|
$(CLONE) $(GITHUB)/mkxp-z/SDL_sound $(DOWNLOADS)/sdl_sound -b git
|
||||||
|
|
||||||
|
|
||||||
# SDL2 (ttf)
|
# SDL2 (ttf)
|
||||||
|
@ -252,7 +251,7 @@ $(DOWNLOADS)/sdl2_ttf/configure: $(DOWNLOADS)/sdl2_ttf/autogen.sh
|
||||||
cd $(DOWNLOADS)/sdl2_ttf; ./autogen.sh
|
cd $(DOWNLOADS)/sdl2_ttf; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl2_ttf/autogen.sh:
|
$(DOWNLOADS)/sdl2_ttf/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/SDL_ttf $(DOWNLOADS)/sdl2_ttf -b mkxp-z
|
$(CLONE) $(GITHUB)/mkxp-z/SDL_ttf $(DOWNLOADS)/sdl2_ttf -b mkxp-z
|
||||||
|
|
||||||
# Freetype (dependency of SDL2_ttf)
|
# Freetype (dependency of SDL2_ttf)
|
||||||
freetype: init_dirs $(LIBDIR)/libfreetype.a
|
freetype: init_dirs $(LIBDIR)/libfreetype.a
|
||||||
|
@ -269,7 +268,7 @@ $(DOWNLOADS)/freetype/configure: $(DOWNLOADS)/freetype/autogen.sh
|
||||||
cd $(DOWNLOADS)/freetype; ./autogen.sh
|
cd $(DOWNLOADS)/freetype; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/freetype/autogen.sh:
|
$(DOWNLOADS)/freetype/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/freetype2 $(DOWNLOADS)/freetype
|
$(CLONE) $(GITHUB)/mkxp-z/freetype2 $(DOWNLOADS)/freetype
|
||||||
|
|
||||||
# OpenAL
|
# OpenAL
|
||||||
openal: init_dirs libogg $(LIBDIR)/libopenal.a
|
openal: init_dirs libogg $(LIBDIR)/libopenal.a
|
||||||
|
@ -283,7 +282,7 @@ $(DOWNLOADS)/openal/cmakebuild/Makefile: $(DOWNLOADS)/openal/CMakeLists.txt
|
||||||
$(CMAKE) -DLIBTYPE=STATIC -DALSOFT_EXAMPLES=no -DALSOFT_UTILS=no $(OPENAL_FLAGS)
|
$(CMAKE) -DLIBTYPE=STATIC -DALSOFT_EXAMPLES=no -DALSOFT_UTILS=no $(OPENAL_FLAGS)
|
||||||
|
|
||||||
$(DOWNLOADS)/openal/CMakeLists.txt:
|
$(DOWNLOADS)/openal/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/openal-soft $(DOWNLOADS)/openal
|
$(CLONE) $(GITHUB)/mkxp-z/openal-soft $(DOWNLOADS)/openal
|
||||||
|
|
||||||
# OpenSSL
|
# OpenSSL
|
||||||
openssl: init_dirs $(LIBDIR)/libssl.a
|
openssl: init_dirs $(LIBDIR)/libssl.a
|
||||||
|
@ -300,7 +299,7 @@ $(DOWNLOADS)/openssl/Makefile: $(DOWNLOADS)/openssl/Configure
|
||||||
|
|
||||||
$(DOWNLOADS)/openssl/Configure:
|
$(DOWNLOADS)/openssl/Configure:
|
||||||
$(CLONE) $(GITHUB)/openssl/openssl $(DOWNLOADS)/openssl; \
|
$(CLONE) $(GITHUB)/openssl/openssl $(DOWNLOADS)/openssl; \
|
||||||
cd $(DOWNLOADS)/openssl; git checkout OpenSSL_1_1_1i
|
cd $(DOWNLOADS)/openssl --single-branch --branch OpenSSL_1_1_1i --depth 1
|
||||||
|
|
||||||
# Standard ruby
|
# Standard ruby
|
||||||
ruby: init_dirs openssl $(LIBDIR)/libruby.3.1.dylib
|
ruby: init_dirs openssl $(LIBDIR)/libruby.3.1.dylib
|
||||||
|
@ -318,7 +317,7 @@ $(DOWNLOADS)/ruby/configure: $(DOWNLOADS)/ruby/*.c
|
||||||
cd $(DOWNLOADS)/ruby; autoreconf -i
|
cd $(DOWNLOADS)/ruby; autoreconf -i
|
||||||
|
|
||||||
$(DOWNLOADS)/ruby/*.c:
|
$(DOWNLOADS)/ruby/*.c:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/ruby $(DOWNLOADS)/ruby --single-branch -b mkxp-z-3.1;
|
$(CLONE) $(GITHUB)/mkxp-z/ruby $(DOWNLOADS)/ruby --single-branch -b mkxp-z-3.1 --depth 1;
|
||||||
|
|
||||||
# ====
|
# ====
|
||||||
init_dirs:
|
init_dirs:
|
||||||
|
|
|
@ -20,7 +20,6 @@ PKG_CONFIG_LIBDIR := $(BUILD_PREFIX)/lib/pkgconfig
|
||||||
GIT := git
|
GIT := git
|
||||||
CLONE := $(GIT) clone -q
|
CLONE := $(GIT) clone -q
|
||||||
GITHUB := https://github.com
|
GITHUB := https://github.com
|
||||||
GITLAB := https://gitlab.com
|
|
||||||
|
|
||||||
CONFIGURE_ENV := \
|
CONFIGURE_ENV := \
|
||||||
PKG_CONFIG_LIBDIR=$(PKG_CONFIG_LIBDIR) \
|
PKG_CONFIG_LIBDIR=$(PKG_CONFIG_LIBDIR) \
|
||||||
|
@ -84,7 +83,7 @@ $(DOWNLOADS)/vorbis/configure: $(DOWNLOADS)/vorbis/autogen.sh
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/vorbis/autogen.sh:
|
$(DOWNLOADS)/vorbis/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/vorbis $(DOWNLOADS)/vorbis
|
$(CLONE) $(GITHUB)/mkxp-z/vorbis $(DOWNLOADS)/vorbis
|
||||||
|
|
||||||
|
|
||||||
# Ogg, dependency of Vorbis
|
# Ogg, dependency of Vorbis
|
||||||
|
@ -102,7 +101,7 @@ $(DOWNLOADS)/ogg/configure: $(DOWNLOADS)/ogg/autogen.sh
|
||||||
cd $(DOWNLOADS)/ogg; ./autogen.sh
|
cd $(DOWNLOADS)/ogg; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/ogg/autogen.sh:
|
$(DOWNLOADS)/ogg/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/ogg $(DOWNLOADS)/ogg
|
$(CLONE) $(GITHUB)/mkxp-z/ogg $(DOWNLOADS)/ogg
|
||||||
|
|
||||||
# Pixman
|
# Pixman
|
||||||
pixman: init_dirs libpng $(LIBDIR)/libpixman-1.a
|
pixman: init_dirs libpng $(LIBDIR)/libpixman-1.a
|
||||||
|
@ -117,7 +116,7 @@ $(DOWNLOADS)/pixman/Makefile: $(DOWNLOADS)/pixman/autogen.sh
|
||||||
$(AUTOGEN) --enable-static=yes --enable-shared=no
|
$(AUTOGEN) --enable-static=yes --enable-shared=no
|
||||||
|
|
||||||
$(DOWNLOADS)/pixman/autogen.sh:
|
$(DOWNLOADS)/pixman/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/pixman $(DOWNLOADS)/pixman
|
$(CLONE) $(GITHUB)/mkxp-z/pixman $(DOWNLOADS)/pixman
|
||||||
|
|
||||||
|
|
||||||
# PhysFS
|
# PhysFS
|
||||||
|
@ -134,7 +133,7 @@ $(DOWNLOADS)/physfs/cmakebuild/Makefile: $(DOWNLOADS)/physfs/CMakeLists.txt
|
||||||
$(CMAKE) -DPHYSFS_BUILD_STATIC=true -DPHYSFS_BUILD_SHARED=false
|
$(CMAKE) -DPHYSFS_BUILD_STATIC=true -DPHYSFS_BUILD_SHARED=false
|
||||||
|
|
||||||
$(DOWNLOADS)/physfs/CMakeLists.txt:
|
$(DOWNLOADS)/physfs/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/physfs $(DOWNLOADS)/physfs
|
$(CLONE) $(GITHUB)/mkxp-z/physfs $(DOWNLOADS)/physfs
|
||||||
|
|
||||||
# libpng
|
# libpng
|
||||||
libpng: init_dirs $(LIBDIR)/libpng.a
|
libpng: init_dirs $(LIBDIR)/libpng.a
|
||||||
|
@ -149,7 +148,7 @@ $(DOWNLOADS)/libpng/Makefile: $(DOWNLOADS)/libpng/configure
|
||||||
--enable-shared=no --enable-static=yes
|
--enable-shared=no --enable-static=yes
|
||||||
|
|
||||||
$(DOWNLOADS)/libpng/configure:
|
$(DOWNLOADS)/libpng/configure:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/libpng $(DOWNLOADS)/libpng
|
$(CLONE) $(GITHUB)/mkxp-z/libpng $(DOWNLOADS)/libpng
|
||||||
|
|
||||||
# libjpeg
|
# libjpeg
|
||||||
libjpeg: init_dirs $(LIBDIR)/libjpeg.a
|
libjpeg: init_dirs $(LIBDIR)/libjpeg.a
|
||||||
|
@ -163,7 +162,7 @@ $(DOWNLOADS)/libjpeg/cmakebuild/Makefile: $(DOWNLOADS)/libjpeg/CMakeLists.txt
|
||||||
$(CMAKE) -DENABLE_SHARED=no -DENABLE_STATIC=yes
|
$(CMAKE) -DENABLE_SHARED=no -DENABLE_STATIC=yes
|
||||||
|
|
||||||
$(DOWNLOADS)/libjpeg/CMakeLists.txt:
|
$(DOWNLOADS)/libjpeg/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/libjpeg-turbo $(DOWNLOADS)/libjpeg
|
$(CLONE) $(GITHUB)/mkxp-z/libjpeg-turbo $(DOWNLOADS)/libjpeg
|
||||||
|
|
||||||
# uchardet
|
# uchardet
|
||||||
uchardet: init_dirs $(LIBDIR)/libuchardet.a
|
uchardet: init_dirs $(LIBDIR)/libuchardet.a
|
||||||
|
@ -195,7 +194,7 @@ $(DOWNLOADS)/sdl2/configure: $(DOWNLOADS)/sdl2/autogen.sh
|
||||||
cd $(DOWNLOADS)/sdl2; ./autogen.sh
|
cd $(DOWNLOADS)/sdl2; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl2/autogen.sh:
|
$(DOWNLOADS)/sdl2/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/SDL $(DOWNLOADS)/sdl2 -b mkxp-z; cd $(DOWNLOADS)/sdl2
|
$(CLONE) $(GITHUB)/mkxp-z/SDL $(DOWNLOADS)/sdl2 -b mkxp-z; cd $(DOWNLOADS)/sdl2
|
||||||
|
|
||||||
# SDL2 (Image)
|
# SDL2 (Image)
|
||||||
sdl2image: init_dirs sdl2 libpng libjpeg $(LIBDIR)/libSDL2_image.a
|
sdl2image: init_dirs sdl2 libpng libjpeg $(LIBDIR)/libSDL2_image.a
|
||||||
|
@ -216,7 +215,7 @@ $(DOWNLOADS)/sdl2_image/configure: $(DOWNLOADS)/sdl2_image/autogen.sh
|
||||||
cd $(DOWNLOADS)/sdl2_image; ./autogen.sh
|
cd $(DOWNLOADS)/sdl2_image; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl2_image/autogen.sh:
|
$(DOWNLOADS)/sdl2_image/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/SDL_image_old $(DOWNLOADS)/sdl2_image -b mkxp-z
|
$(CLONE) $(GITHUB)/mkxp-z/SDL_image_old $(DOWNLOADS)/sdl2_image -b mkxp-z
|
||||||
|
|
||||||
# SDL_sound
|
# SDL_sound
|
||||||
sdlsound: init_dirs sdl2 libogg libvorbis $(LIBDIR)/libSDL2_sound.a
|
sdlsound: init_dirs sdl2 libogg libvorbis $(LIBDIR)/libSDL2_sound.a
|
||||||
|
@ -232,7 +231,7 @@ $(DOWNLOADS)/sdl_sound/cmakebuild/Makefile: $(DOWNLOADS)/sdl_sound/CMakeLists.tx
|
||||||
-DSDLSOUND_BUILD_TEST=false
|
-DSDLSOUND_BUILD_TEST=false
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl_sound/CMakeLists.txt:
|
$(DOWNLOADS)/sdl_sound/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/SDL_sound $(DOWNLOADS)/sdl_sound -b git
|
$(CLONE) $(GITHUB)/mkxp-z/SDL_sound $(DOWNLOADS)/sdl_sound -b git
|
||||||
|
|
||||||
# SDL2 (ttf)
|
# SDL2 (ttf)
|
||||||
sdl2ttf: init_dirs sdl2 freetype $(LIBDIR)/libSDL2_ttf.a
|
sdl2ttf: init_dirs sdl2 freetype $(LIBDIR)/libSDL2_ttf.a
|
||||||
|
@ -249,7 +248,7 @@ $(DOWNLOADS)/sdl2_ttf/configure: $(DOWNLOADS)/sdl2_ttf/autogen.sh
|
||||||
cd $(DOWNLOADS)/sdl2_ttf; ./autogen.sh
|
cd $(DOWNLOADS)/sdl2_ttf; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl2_ttf/autogen.sh:
|
$(DOWNLOADS)/sdl2_ttf/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/SDL_ttf $(DOWNLOADS)/sdl2_ttf -b mkxp-z
|
$(CLONE) $(GITHUB)/mkxp-z/SDL_ttf $(DOWNLOADS)/sdl2_ttf -b mkxp-z
|
||||||
|
|
||||||
# Freetype (dependency of SDL2_ttf)
|
# Freetype (dependency of SDL2_ttf)
|
||||||
freetype: init_dirs $(LIBDIR)/libfreetype.a
|
freetype: init_dirs $(LIBDIR)/libfreetype.a
|
||||||
|
@ -266,7 +265,7 @@ $(DOWNLOADS)/freetype/configure: $(DOWNLOADS)/freetype/autogen.sh
|
||||||
cd $(DOWNLOADS)/freetype; ./autogen.sh
|
cd $(DOWNLOADS)/freetype; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/freetype/autogen.sh:
|
$(DOWNLOADS)/freetype/autogen.sh:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/freetype2 $(DOWNLOADS)/freetype
|
$(CLONE) $(GITHUB)/mkxp-z/freetype2 $(DOWNLOADS)/freetype
|
||||||
|
|
||||||
# OpenAL
|
# OpenAL
|
||||||
openal: init_dirs libogg $(LIBDIR)/libOpenAL32.a
|
openal: init_dirs libogg $(LIBDIR)/libOpenAL32.a
|
||||||
|
@ -280,7 +279,7 @@ $(DOWNLOADS)/openal/cmakebuild/Makefile: $(DOWNLOADS)/openal/CMakeLists.txt
|
||||||
$(CMAKE) -DLIBTYPE=STATIC -DALSOFT_EXAMPLES=no -DALSOFT_UTILS=no $(OPENAL_FLAGS)
|
$(CMAKE) -DLIBTYPE=STATIC -DALSOFT_EXAMPLES=no -DALSOFT_UTILS=no $(OPENAL_FLAGS)
|
||||||
|
|
||||||
$(DOWNLOADS)/openal/CMakeLists.txt:
|
$(DOWNLOADS)/openal/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/openal-soft $(DOWNLOADS)/openal
|
$(CLONE) $(GITHUB)/mkxp-z/openal-soft $(DOWNLOADS)/openal
|
||||||
|
|
||||||
# FluidSynth
|
# FluidSynth
|
||||||
fluidsynth: init_dirs $(LIBDIR)/libfluidsynth.a
|
fluidsynth: init_dirs $(LIBDIR)/libfluidsynth.a
|
||||||
|
@ -294,7 +293,7 @@ $(DOWNLOADS)/fluidsynth/cmakebuild/Makefile: $(DOWNLOADS)/fluidsynth/CMakeLists.
|
||||||
$(CMAKE) -DBUILD_SHARED_LIBS=no -Denable-sdl2=no -Denable-readline=no
|
$(CMAKE) -DBUILD_SHARED_LIBS=no -Denable-sdl2=no -Denable-readline=no
|
||||||
|
|
||||||
$(DOWNLOADS)/fluidsynth/CMakeLists.txt:
|
$(DOWNLOADS)/fluidsynth/CMakeLists.txt:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/fluidsynth-sans-glib $(DOWNLOADS)/fluidsynth
|
$(CLONE) $(GITHUB)/mkxp-z/fluidsynth-sans-glib $(DOWNLOADS)/fluidsynth
|
||||||
|
|
||||||
# OpenSSL
|
# OpenSSL
|
||||||
openssl: init_dirs $(LIBDIR)/libssl.a
|
openssl: init_dirs $(LIBDIR)/libssl.a
|
||||||
|
@ -310,7 +309,7 @@ $(DOWNLOADS)/openssl/Makefile: $(DOWNLOADS)/openssl/Configure
|
||||||
--openssldir="$(BUILD_PREFIX)"
|
--openssldir="$(BUILD_PREFIX)"
|
||||||
|
|
||||||
$(DOWNLOADS)/openssl/Configure:
|
$(DOWNLOADS)/openssl/Configure:
|
||||||
$(CLONE) $(GITHUB)/openssl/openssl $(DOWNLOADS)/openssl -c advice.detachedHead=false --branch OpenSSL_1_1_1i
|
$(CLONE) $(GITHUB)/openssl/openssl $(DOWNLOADS)/openssl --single-branch --branch OpenSSL_1_1_1i --depth 1
|
||||||
|
|
||||||
# Standard ruby
|
# Standard ruby
|
||||||
ruby: init_dirs openssl $(BUILD_PREFIX)/$(RB_PREFIX)-ruby310.dll
|
ruby: init_dirs openssl $(BUILD_PREFIX)/$(RB_PREFIX)-ruby310.dll
|
||||||
|
@ -327,7 +326,7 @@ $(DOWNLOADS)/ruby/configure: $(DOWNLOADS)/ruby/*.c
|
||||||
cd $(DOWNLOADS)/ruby; autoreconf -i
|
cd $(DOWNLOADS)/ruby; autoreconf -i
|
||||||
|
|
||||||
$(DOWNLOADS)/ruby/*.c:
|
$(DOWNLOADS)/ruby/*.c:
|
||||||
$(CLONE) $(GITLAB)/mkxp-z/ruby $(DOWNLOADS)/ruby -b mkxp-z-3.1;
|
$(CLONE) $(GITHUB)/mkxp-z/ruby $(DOWNLOADS)/ruby --single-branch --branch mkxp-z-3.1 --depth 1;
|
||||||
|
|
||||||
# ====
|
# ====
|
||||||
init_dirs:
|
init_dirs:
|
||||||
|
|
Loading…
Add table
Reference in a new issue