This project uses system icons which may or may not exist with the same name - or at all - on your system.
- Vala
- GTK4
- Meson
- ninja
- pkg-config
For development also install the Vala Language Server.
Note: This step is not required if you are also building it with Nix. Then simply skip ahead to the build instructions.
Note: This includes the Vala Language Server as well.
nix-shell
sudo xbps-install -S gcc vala cmake meson ninja pkg-config gtk4-devel
sudo dnf install gcc vala cmake meson ninja-build pkg-config gtk4-devel
-
Clone this repo
git clone https://github.com/kintrix007/minesweeper.git
-
Build it
nix-build # Or, to build it with the alternate CLI-only UI nix-build --arg cliOnly true
-
Install the package globally (optional)
nix-env -i ./result
The built derivation will be symlinked as result
in the current working
directory.
-
Clone this repo
git clone https://github.com/kintrix007/minesweeper.git
-
Install dependencies
-
Set up build directory
meson setup builddir # Or to build with the alternate CLI-only UI meson setup builddir -Dcli_only=true
-
Compile the code
meson compile -C builddir
You are done. The executable is located at
builddir/minesweeper
. -
Install the binaries globally (optional)
meson install -C builddir