aboutsummaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorTheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com>2021-12-29 20:00:47 +0000
committerGitHub <noreply@github.com>2021-12-29 15:00:47 -0500
commit113956ccc83554d2d18c2b4b3a70d49b500ff391 (patch)
treef95c38ef6cc574752ffdad260fba1faa8d649d0f /BUILD.md
parentf25a9bc103d101ea9d79fe159b83d88a4cc35f87 (diff)
downloadPrismLauncher-113956ccc83554d2d18c2b4b3a70d49b500ff391.tar.gz
PrismLauncher-113956ccc83554d2d18c2b4b3a70d49b500ff391.tar.bz2
PrismLauncher-113956ccc83554d2d18c2b4b3a70d49b500ff391.zip
Enhance the dependencies list, and add information to build a .deb (#6)
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md23
1 files changed, 18 insertions, 5 deletions
diff --git a/BUILD.md b/BUILD.md
index 24dec716..42869ecc 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -26,11 +26,24 @@ Getting the project to build and run on Linux is easy if you use any modern and
## Build dependencies
* A C++ compiler capable of building C++11 code.
-* Qt 5.6+ Development tools (http://qt-project.org/downloads) ("Qt Online Installer for Linux (64 bit)") or the equivalent from your package manager. It is always better to use the Qt from your distribution, as long as it has a new enough version.
-* cmake 3.1 or newer
-* zlib (for example, `zlib1g-dev`)
-* Java JDK 8 (for example, `openjdk-8-jdk`)
-* GL headers (for example, `libgl1-mesa-dev`)
+* Qt Development tools 5.6 or newer (`qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5core5a libqt5network5 libqt5gui5` on Debian-based system)
+* cmake 3.1 or newer (`cmake` on Debian-based system)
+* zlib (`zlib1g-dev` on Debian-based system)
+* Java JDK (`openjdk-17-jdk`on Debian-based system)
+* GL headers (`libgl1-mesa-dev` on Debian-based system)
+
+### Building a .deb
+
+You need to install the build dependencies first
+
+```
+git clone https://github.com/PolyMC/PolyMC.git
+git submodule init && git submodule update
+cd packages/debian
+./makedeb.sh
+```
+
+If everything works correctly, the .deb will be next to the build script, in `PolyMC/packages/debian`
### Building from command line
You need a source folder, a build folder and an install folder.