From 3fff00cb838e90019006e51ba6a2983152512ade Mon Sep 17 00:00:00 2001 From: 1024x2 Date: Wed, 19 Aug 2026 17:03:44 +0100 Subject: games-emulation/blastem: update for virtual/zlib --- games-emulation/blastem/blastem-0.6.2-r1.ebuild | 39 +++++++++++++++++++++++++ games-emulation/blastem/blastem-0.6.2.ebuild | 39 ------------------------- games-emulation/blastem/blastem-9999.ebuild | 4 +-- 3 files changed, 41 insertions(+), 41 deletions(-) create mode 100644 games-emulation/blastem/blastem-0.6.2-r1.ebuild delete mode 100644 games-emulation/blastem/blastem-0.6.2.ebuild 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 +} diff --git a/games-emulation/blastem/blastem-0.6.2.ebuild b/games-emulation/blastem/blastem-0.6.2.ebuild deleted file mode 100644 index 5e4b4b5..0000000 --- a/games-emulation/blastem/blastem-0.6.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# 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=" - sys-libs/zlib - media-libs/libsdl2 - media-libs/glew -" - -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 -} diff --git a/games-emulation/blastem/blastem-9999.ebuild b/games-emulation/blastem/blastem-9999.ebuild index 0b6f12c..d1961c7 100644 --- a/games-emulation/blastem/blastem-9999.ebuild +++ b/games-emulation/blastem/blastem-9999.ebuild @@ -18,9 +18,9 @@ LICENSE="GPL-3+" SLOT="0" DEPEND=" - sys-libs/zlib - media-libs/libsdl2 media-libs/glew + media-libs/libsdl2 + virtual/zlib " src_compile() { -- cgit v1.2.3