Install this version:
emerge -a =games-arcade/komi-1.04
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-arcade/komi-1.04
Or alternatively:
emerge --autounmask-write -a =games-arcade/komi-1.04
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop flag-o-matic toolchain-funcs
DESCRIPTION="Komi the Space Frog - a simple SDL game"
HOMEPAGE="https://komi.sourceforge.net/"
SRC_URI="
https://downloads.sourceforge.net/komi/${P}.tar.gz
https://distfiles.gentoo.org/pub/dev/ionen@gentoo.org/${PN}.png"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
media-libs/libsdl[sound,video]
media-libs/sdl-mixer"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_compile() {
tc-export CC
append-cppflags $($(tc-getPKG_CONFIG) --cflags sdl SDL_mixer || die) \
-DDATAPATH="'\"${EPREFIX}/usr/share/${PN}/\"'"
append-libs $($(tc-getPKG_CONFIG) --libs sdl SDL_mixer || die)
# simpler to use implicit rules than fix the Makefile
emake -f /dev/null LDLIBS="${LIBS}" ${PN}
}
src_install() {
dobin ${PN}
insinto /usr/share/${PN}
doins -r komidata/.
doman ${PN}.6
dodoc CHANGELOG.txt README.txt
doicon "${DISTDIR}"/${PN}.png
make_desktop_entry ${PN} ${PN^}
}
media-libs/libsdl[sound,video] media-libs/sdl-mixer
media-libs/libsdl[sound,video] media-libs/sdl-mixer
virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | komi-1.04.tar.gz | 954526 bytes | https://downloads.sourceforge.net/komi/komi-1.04.tar.gz |
| DIST | komi.png | 352 bytes | https://distfiles.gentoo.org/pub/dev/ionen@gentoo.org/komi.png |