Install this version:
emerge -a =games-action/blackvoxel-2.50
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-action/blackvoxel-2.50
Or alternatively:
emerge --autounmask-write -a =games-action/blackvoxel-2.50
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.50 | 8 | ~amd64 | 0 |
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop toolchain-funcs xdg
DESCRIPTION="Blackvoxel Video Game"
HOMEPAGE="https://www.blackvoxel.com/"
SRC_URI="https://www.blackvoxel.com/dm_download.php?file=170&key=1 -> ${P}.tar.bz2"
S="${WORKDIR}/${PN}_source_${PV//./_}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
media-libs/glew:0=
media-libs/glu
media-libs/libglvnd[X]
media-libs/libsdl[sound]
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-makefile.patch
"${FILESDIR}"/${P}-savedir.patch
"${FILESDIR}"/${P}-backported-ltofix.patch #For ver. 2.50 Remove for next ver.
)
src_compile() {
export CXX="$(tc-getCXX)"
export CC="$(tc-getCC)"
export AR="$(tc-getAR)"
emake BV_DATA_LOCATION_DIR="/usr/share/${PN}"
}
src_install() {
dodoc Contributors.txt
doman blackvoxel.6
newicon -s 16 Icons/blackvoxel-16x16.png blackvoxel.png
newicon -s 32 Icons/blackvoxel-32x32.png blackvoxel.png
newicon -s 128 Icons/blackvoxel_128x128.png blackvoxel.png
dobin blackvoxel
insinto "/usr/share/${PN}"
doins -r Misc Sound VoxelTypes gui randomnum.dat
}
media-libs/glew:0= media-libs/glu media-libs/libglvnd[X] media-libs/libsdl[sound]
media-libs/glew:0= media-libs/glu media-libs/libglvnd[X] media-libs/libsdl[sound]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | blackvoxel-2.50.tar.bz2 | 20766720 bytes | https://www.blackvoxel.com/dm_download.php?file=170&key=1 |