From 0dd379b0bc36e1a2912df587aa6ab5d4c34cb77d Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 6 Apr 2021 02:22:29 +0100 Subject: [PATCH] games-emulation/zsnes: use BDEPEND, drop ${GAMES_BINDIR} ref Signed-off-by: Sam James --- games-emulation/zsnes/zsnes-1.51-r9.ebuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/games-emulation/zsnes/zsnes-1.51-r9.ebuild b/games-emulation/zsnes/zsnes-1.51-r9.ebuild index a56e1e85d8def..a92368d1bf9fc 100644 --- a/games-emulation/zsnes/zsnes-1.51-r9.ebuild +++ b/games-emulation/zsnes/zsnes-1.51-r9.ebuild @@ -1,12 +1,14 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit autotools desktop flag-o-matic toolchain-funcs pax-utils DESCRIPTION="SNES (Super Nintendo) emulator that uses x86 assembly" HOMEPAGE="https://www.zsnes.com/ http://ipherswipsite.com/zsnes/" SRC_URI="mirror://sourceforge/zsnes/${PN}${PV//./}src.tar.bz2 -> ${P}-20071031.tar.bz2" +S="${WORKDIR}/${PN}_${PV//./_}/src" LICENSE="GPL-2" SLOT="0" @@ -21,13 +23,12 @@ RDEPEND=" opengl? ( virtual/opengl[abi_x86_32(-)] ) png? ( media-libs/libpng:0=[abi_x86_32(-)] ) " -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" dev-lang/nasm debug? ( virtual/pkgconfig ) " -S="${WORKDIR}/${PN}_${PV//./_}/src" - PATCHES=( # Fixing compilation without libpng installed "${FILESDIR}"/${P}-libpng.patch @@ -111,7 +112,7 @@ src_install() { QA_TEXTRELS="usr/bin/zsnes" dobin zsnes - pax-mark m "${ED}${GAMES_BINDIR}"/zsnes + pax-mark m "${ED}"/usr/bin/zsnes newman linux/zsnes.1 zsnes.6