Install this version:
emerge -a =games-emulation/mekanix-070-r1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-emulation/mekanix-070-r1
Or alternatively:
emerge --autounmask-write -a =games-emulation/mekanix-070-r1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 070-r1 | 7 | ~x86 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit wrapper
DESCRIPTION="SG-1000, SC-3000, SF-7000, SSC, SMS, GG, COLECO, and OMV emulator"
HOMEPAGE="https://www.smspower.org/meka/"
SRC_URI="https://www.smspower.org/meka/releases/${PN}${PV}.tgz"
S="${WORKDIR}"/${PN}
LICENSE="mekanix"
SLOT="0"
KEYWORDS="~x86"
RESTRICT="strip"
RDEPEND="
media-libs/libpng
x11-libs/libXext
x11-libs/libXpm
x11-libs/libX11
virtual/zlib:=
"
# file verfies that it's an elf, not win32, binary:
QA_PREBUILT="opt/${PN}/meka.exe"
src_install() {
local dir="/opt/${PN}"
insinto "${dir}"
doins *
fperms a+x "${dir}/meka.exe"
make_wrapper mekanix ./meka.exe "${dir}"
}
media-libs/libpng x11-libs/libXext x11-libs/libXpm x11-libs/libX11 virtual/zlib:=