User:Maffblaster/Drafts/Minetest

From Gentoo Wiki
Jump to: navigation, search

Minetest is an infinite-world block sandbox game and game engine, heavily inspired by Minecraft and InfiniMiner.

Installation

USE flags

USE flags for games-action/minetest A free open-source voxel game engine with easy modding and game creation

client Build Minetest client
curl Add support for client-side URL transfer library
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
leveldb Enable LevelDB backend
ncurses Add ncurses support (console display library)
nls Add Native Language Support (using gettextGNU locale utilities)
postgres Add support for the postgresql database
prometheus Enable prometheus client support
redis Enable redis backend via dev-libs/hiredis
server Build Minetest server
sound Enable sound support
spatial Enable SpatialIndex AreaStore backend
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
truetype Add support for FreeType and/or FreeType2 fonts

Emerge

root #emerge --ask games-action/minetest

When running a server, it is also necessary to emerge the game assets files:

root #emerge --ask games-action/minetest_game

Configuration

Files

With the server USE flag enabled:

  • /etc/init.d/minetest-server - Run script for OpenRC.
  • /etc/conf.d/minetest-server - Configuration run script for OpenRC.

Service

OpenRC

systemd

As of the time of this writing, no systemd init scripts are available for minetest.

Usage

Invocation

Troubleshooting

Issue 1

Removal

Unmerge

root #emerge --ask --depclean --verbose games-action/minetest

See also

  • Games — a landing page for many of the games (especially open source variants) available in Gentoo's main ebuild repository.