Building with Meson
Compilation
pacman -S git ruby vim base-devel \
mingw-w64-x86_64-cmake \
mingw-w64-x86_64-meson \
mingw-w64-x86_64-autotools \
mingw-w64-x86_64-gccsudo apt install git build-essential cmake autoconf automake libtool pkg-config ruby bison zlib1g-dev libbz2-dev xorg-dev lib32z1 libgl1-mesa-dev libasound2-dev python3-pip libpulse-dev
# Meson from apt is too old, but also be sure not to get one too new
sudo python3 -m pip install meson==0.57.2 ninja==1.10.2sudo apt install git build-essential cmake meson autoconf automake libtool pkg-config ruby bison zlib1g-dev libbz2-dev xorg-dev libgl1-mesa-dev libasound2-dev libpulse-devgit clone https://gitlab.com/mkxp-z/mkxp-z --recursive
cd mkxp-z/windows
makegit clone https://gitlab.com/mkxp-z/mkxp-z --recursive
cd mkxp-z/linux
make# Export the variables necessary to find the stuff we built
source vars.sh
# Configure the build
cd ..; meson build
# Build the thing
cd build && ninja
# Copy dependent libraries to the same folder
# for fun and profit
cp ${MKXPZ_PREFIX}/bin/x64-msvcrt-ruby310.dll $PWD
cp /mingw64/bin/zlib1.dll $PWD
# Strip it to save space
strip mkxp-z.exe
# Feast your eyes upon your work
start .# Export the variables necessary to find the stuff we built
source vars.sh
# Configure the build
cd ..; meson build
# Build the thing
cd build && ninja
# Feast your eyes upon your work
xdg-open .Packaging (Linux)
Last updated