diff options
| author | 1024x2 | 2026-11-04 15:26:29 +0000 |
|---|---|---|
| committer | 1024x2 | 2026-11-04 15:26:29 +0000 |
| commit | 4d280283d418d8b28c7a241434e4a1b665355582 (patch) | |
| tree | 6d406e53e28f4fb87c4cab9a5e26d151466caf76 /games-emulation/blastem/blastem-1.0.0.ebuild | |
| parent | 06300274e88fa5979b97a0c0f188c603d0711dae (diff) | |
Diffstat (limited to 'games-emulation/blastem/blastem-1.0.0.ebuild')
| -rw-r--r-- | games-emulation/blastem/blastem-1.0.0.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/games-emulation/blastem/blastem-1.0.0.ebuild b/games-emulation/blastem/blastem-1.0.0.ebuild new file mode 100644 index 0000000..775e9ac --- /dev/null +++ b/games-emulation/blastem/blastem-1.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Accurate Sega Genesis / Mega Drive emulator" +HOMEPAGE="https://www.retrodev.com/blastem/" + +if [[ ${PV} == 9999 ]]; then + EHG_REPO_URI="https://www.retrodev.com/repos/blastem" + inherit mercurial +else + SRC_URI="https://www.retrodev.com/repos/blastem/archive/v${PV}.tar.bz2 -> blastem-${PV}.tar.bz2" + KEYWORDS="-* ~amd64 ~x86" + S="${WORKDIR}/${PN}-v${PV}" +fi + +LICENSE="GPL-3+" +SLOT="0" + +DEPEND=" + media-libs/glew + media-libs/libsdl2 + virtual/zlib +" + +src_compile() { + emake \ + HOST_ZLIB=1 \ + DATA_PATH=/usr/share/blastem \ + CONFIG_PATH=/usr/share/blastem +} + +src_install() { + dobin blastem + + insinto /usr/share/blastem + doins -r shaders images default.cfg rom.db gamecontrollerdb.txt systems.cfg +} |
