aboutsummaryrefslogtreecommitdiffstats
path: root/games-emulation/blastem/blastem-0.6.2-r1.ebuild
diff options
context:
space:
mode:
author1024x22026-08-19 17:03:44 +0100
committer1024x22026-08-19 17:03:44 +0100
commit3fff00cb838e90019006e51ba6a2983152512ade (patch)
tree16bb97df1809d3c77a40906849ca4f8ea257dbb4 /games-emulation/blastem/blastem-0.6.2-r1.ebuild
parent220ec2dfbf27240a25098d981ab86b347534a504 (diff)
games-emulation/blastem: update for virtual/zlib
Diffstat (limited to 'games-emulation/blastem/blastem-0.6.2-r1.ebuild')
-rw-r--r--games-emulation/blastem/blastem-0.6.2-r1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/games-emulation/blastem/blastem-0.6.2-r1.ebuild b/games-emulation/blastem/blastem-0.6.2-r1.ebuild
new file mode 100644
index 0000000..ce619ff
--- /dev/null
+++ b/games-emulation/blastem/blastem-0.6.2-r1.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}/blastem-v${PV}"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+DEPEND="
+ media-libs/libsdl2
+ media-libs/glew
+ 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
+}