summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-04-29 11:35:30 +0200
committerPacho Ramos <pacho@gentoo.org>2018-04-29 13:25:34 +0200
commit1d4bf242850b54b935760e55fbfad16c67e6c42d (patch)
treed1e63f02404b5d3c84b4d14407c0fc61010d428a /games-emulation
parentgames-emulation/gambatte: Stop using games.eclass (diff)
downloadgentoo-1d4bf242850b54b935760e55fbfad16c67e6c42d.tar.gz
gentoo-1d4bf242850b54b935760e55fbfad16c67e6c42d.tar.bz2
gentoo-1d4bf242850b54b935760e55fbfad16c67e6c42d.zip
games-emulation/gambatte: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/gambatte/gambatte-0.5.0_p20131102-r1.ebuild76
1 files changed, 0 insertions, 76 deletions
diff --git a/games-emulation/gambatte/gambatte-0.5.0_p20131102-r1.ebuild b/games-emulation/gambatte/gambatte-0.5.0_p20131102-r1.ebuild
deleted file mode 100644
index 5f6d72d5af7b..000000000000
--- a/games-emulation/gambatte/gambatte-0.5.0_p20131102-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit scons-utils games
-
-DESCRIPTION="An accuracy-focused Gameboy / Gameboy Color emulator"
-HOMEPAGE="https://sourceforge.net/projects/gambatte"
-SRC_URI="https://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- media-libs/libsdl[X,sound,joystick,video]
- sys-libs/zlib"
-DEPEND="${RDEPEND}
- app-arch/xz-utils"
-
-fix_scons() {
- local i
- for i; do
- cat >> $i << END
-import os
-import SCons.Util
-
-if os.environ.has_key('AR'):
- env['AR'] = os.environ['AR']
-if os.environ.has_key('RANLIB'):
- env['RANLIB'] = os.environ['RANLIB']
-if os.environ.has_key('CC'):
- env['CC'] = os.environ['CC']
-if os.environ.has_key('CFLAGS'):
- env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
-if os.environ.has_key('CXX'):
- env['CXX'] = os.environ['CXX']
-if os.environ.has_key('CXXFLAGS'):
- env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
-if os.environ.has_key('CPPFLAGS'):
- env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CPPFLAGS'])
-if os.environ.has_key('LDFLAGS'):
- env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
-END
- done
-}
-
-src_prepare() {
- # Fix zlib/minizip build error
- sed -i \
- -e '1i#define OF(x) x' \
- libgambatte/src/file/unzip/{unzip,ioapi}.h \
- || die "sed iompi.h failed"
-
- fix_scons {gambatte_sdl,libgambatte}/SConstruct
-}
-
-src_compile() {
- # build core library
- cd "${S}"/libgambatte || die
- escons
-
- # build sdl frontend
- cd "${S}"/gambatte_sdl || die
- escons
-}
-
-src_install() {
- dogamesbin gambatte_sdl/gambatte_sdl
-
- dodoc README changelog
-
- prepgamesdirs
-}