Install this version:
emerge -a =games-puzzle/osmos-1.6.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-puzzle/osmos-1.6.1
Or alternatively:
emerge --autounmask-write -a =games-puzzle/osmos-1.6.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.6.1 | 8 | -* ~amd64 | 0 |
# Copyright 2017-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
inherit desktop
MY_PN="Osmos"
MY_P="${MY_PN}_${PV}"
DESCRIPTION="Play as a single-celled organism absorbing others"
HOMEPAGE="https://www.osmos-game.com/"
SRC_URI="${MY_P}.tar.gz"
S="${WORKDIR}/${MY_PN}"
LICENSE="Hemisphere_Games-EULA"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="bindist fetch strip test"
PROPERTIES="interactive"
RDEPEND="
media-libs/freetype:2
media-libs/libvorbis
media-libs/openal
virtual/glu
virtual/opengl
x11-libs/libX11
"
QA_PREBUILT="/opt/osmos/osmos"
DEPEND="${RDEPEND}"
pkg_nofetch() {
einfo "Please download ${MY_P}.tar.gz and place it into DISTDIR directory."
}
src_install() {
# install a wrapper file
exeinto "/usr/bin/"
newexe "${FILESDIR}"/osmos-wrapper.sh ${PN}
# install all files to /opt/osmos, including the actual binary
exeinto "/opt/${PN}"
newexe ${MY_PN}.bin64 ${PN}
insinto "/opt/${PN}"
doins -r Fonts/ Sounds/ Textures/ Osmos-* *.cfg
newicon "Icons/256x256.png" "${PN}.png"
dodoc readme.html
make_desktop_entry "${PN}" "Osmos"
}
media-libs/freetype:2 media-libs/libvorbis media-libs/openal virtual/glu virtual/opengl x11-libs/libX11
media-libs/freetype:2 media-libs/libvorbis media-libs/openal virtual/glu virtual/opengl x11-libs/libX11