summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-06 02:22:29 +0100
committerSam James <sam@gentoo.org>2021-04-06 19:17:55 +0100
commit0dd379b0bc36e1a2912df587aa6ab5d4c34cb77d (patch)
tree683b7cc3f2b9573d453c7bb455fb7ee0264bceaf /games-emulation
parentgames-emulation/zsnes: drop 1.51-r8 (diff)
downloadgentoo-0dd379b0bc36e1a2912df587aa6ab5d4c34cb77d.tar.gz
gentoo-0dd379b0bc36e1a2912df587aa6ab5d4c34cb77d.tar.bz2
gentoo-0dd379b0bc36e1a2912df587aa6ab5d4c34cb77d.zip
games-emulation/zsnes: use BDEPEND, drop ${GAMES_BINDIR} ref
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/zsnes/zsnes-1.51-r9.ebuild11
1 files 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 a56e1e85d8de..a92368d1bf9f 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