Skip to content
This repository has been archived by the owner on Oct 24, 2021. It is now read-only.

Build scripts for mcpelauncher-thesonicmaster, The Sonic Master's fork of the Minecraft Bedrock Linux Launcher that fixes the license error.

License

Notifications You must be signed in to change notification settings

TheSonicMaster/mcpelauncher-build-scripts

Repository files navigation

mcpelauncher-build-scripts

Build scripts for mcpelauncher-thesonicmaster, The Sonic Master's fork of the Minecraft Bedrock Linux Launcher that fixes the license error. For more information about this project, visit https://mcpelauncher.thesonicmaster.net.

IMPORTANT

This project is now discontinued and these scripts are archived. Please see this notice for more information.

Retrieving the scripts

git clone https://github.com/TheSonicMaster/mcpelauncher-build-scripts.git
cd mcpelauncher-build-scripts

Dependencies for building

Note: Not required if building the Snap package.

On Debian/Ubuntu

./install-deps-debian.sh

Fix for Ubuntu 18.04

Ubuntu 18.04 has some outdated software, so the above script won't satisfy all the dependencies. To satisfy the rest, run the following commands:

NOTE: DO NOT RUN THESE COMMANDS ON VERSIONS NEWER THAN 18.04. IT MAY BREAK YOUR SYSTEM

  1. Newer version of Clang:
sudo apt remove --autoremove clang
sudo apt install clang-10
sudo ln -sf clang-10 /usr/bin/clang
sudo ln -sf clang++-10 /usr/bin/clang++
  1. Newer version of CMake:
sudo apt remove --autoremove cmake
curl -LOs https://github.com/Kitware/CMake/releases/download/v3.20.5/cmake-3.20.5-linux-x86_64.tar.gz
sudo tar --no-same-owner -xf cmake-3.20.5-linux-x86_64.tar.gz -C /usr/local --strip-components=1
rm cmake-3.20.5-linux-x86_64.tar.gz
  1. Extra Qt package required:
sudo apt install qt5-default

Convenience script for setting up Ubuntu 18.04 AppImage build environment

This script will install and set up all the necessary dependencies for building and installing an AppImage on Ubuntu 18.04.

This should ONLY be run in a VM or docker container. Running it on a real system will cause problems. Additionally, this should ONLY be run on an Ubuntu 18.04 environment for building AppImages. Do NOT build DEB packages in an environment set up using this script; use the workarounds above instead.

Run the script with the following command:

sudo ./setup-environment-bionic.sh

Other distros

You need the following software:

Building packages

AppImage

Note: AppImage developers recommend building on the oldest Ubuntu version which is still supported. At the time of writing, this is Ubuntu 18.04 LTS.

./build-appimage.sh

This will produce mcpelauncher-thesonicmaster-<ver>-<arch>.AppImage. Execute the AppImage to run it.

Debian package

./build-deb.sh

This will produce mcpelauncher-thesonicmaster_<ver>~<os-codename>_<arch>.deb. Install it with sudo apt install ./<filename>.deb.

Snap package

If this is your first time building a Snap package, you have to setup Snapcraft first. This only has to be done once, it can be skipped for subsequent builds:

sudo snap install --classic snapcraft
sudo snap install multipass

Now you can build the Snap package with the following command:

snapcraft

This will produce mcpelauncher-thesonicmaster_<ver>_<arch>.snap. Install it with sudo snap install --dangerous <filename>.snap.

About

Build scripts for mcpelauncher-thesonicmaster, The Sonic Master's fork of the Minecraft Bedrock Linux Launcher that fixes the license error.

Resources

License

Stars

Watchers

Forks

Languages