1 |
commit: 1d4bf242850b54b935760e55fbfad16c67e6c42d |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 29 09:35:30 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 29 11:25:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d4bf242 |
7 |
|
8 |
games-emulation/gambatte: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
.../gambatte/gambatte-0.5.0_p20131102-r1.ebuild | 76 ---------------------- |
13 |
1 file changed, 76 deletions(-) |
14 |
|
15 |
diff --git a/games-emulation/gambatte/gambatte-0.5.0_p20131102-r1.ebuild b/games-emulation/gambatte/gambatte-0.5.0_p20131102-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 5f6d72d5af7..00000000000 |
18 |
--- a/games-emulation/gambatte/gambatte-0.5.0_p20131102-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,76 +0,0 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-inherit scons-utils games |
27 |
- |
28 |
-DESCRIPTION="An accuracy-focused Gameboy / Gameboy Color emulator" |
29 |
-HOMEPAGE="https://sourceforge.net/projects/gambatte" |
30 |
-SRC_URI="https://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz" |
31 |
- |
32 |
-LICENSE="GPL-2" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~amd64 ~x86" |
35 |
-IUSE="" |
36 |
- |
37 |
-RDEPEND=" |
38 |
- media-libs/libsdl[X,sound,joystick,video] |
39 |
- sys-libs/zlib" |
40 |
-DEPEND="${RDEPEND} |
41 |
- app-arch/xz-utils" |
42 |
- |
43 |
-fix_scons() { |
44 |
- local i |
45 |
- for i; do |
46 |
- cat >> $i << END |
47 |
-import os |
48 |
-import SCons.Util |
49 |
- |
50 |
-if os.environ.has_key('AR'): |
51 |
- env['AR'] = os.environ['AR'] |
52 |
-if os.environ.has_key('RANLIB'): |
53 |
- env['RANLIB'] = os.environ['RANLIB'] |
54 |
-if os.environ.has_key('CC'): |
55 |
- env['CC'] = os.environ['CC'] |
56 |
-if os.environ.has_key('CFLAGS'): |
57 |
- env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS']) |
58 |
-if os.environ.has_key('CXX'): |
59 |
- env['CXX'] = os.environ['CXX'] |
60 |
-if os.environ.has_key('CXXFLAGS'): |
61 |
- env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) |
62 |
-if os.environ.has_key('CPPFLAGS'): |
63 |
- env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CPPFLAGS']) |
64 |
-if os.environ.has_key('LDFLAGS'): |
65 |
- env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) |
66 |
-END |
67 |
- done |
68 |
-} |
69 |
- |
70 |
-src_prepare() { |
71 |
- # Fix zlib/minizip build error |
72 |
- sed -i \ |
73 |
- -e '1i#define OF(x) x' \ |
74 |
- libgambatte/src/file/unzip/{unzip,ioapi}.h \ |
75 |
- || die "sed iompi.h failed" |
76 |
- |
77 |
- fix_scons {gambatte_sdl,libgambatte}/SConstruct |
78 |
-} |
79 |
- |
80 |
-src_compile() { |
81 |
- # build core library |
82 |
- cd "${S}"/libgambatte || die |
83 |
- escons |
84 |
- |
85 |
- # build sdl frontend |
86 |
- cd "${S}"/gambatte_sdl || die |
87 |
- escons |
88 |
-} |
89 |
- |
90 |
-src_install() { |
91 |
- dogamesbin gambatte_sdl/gambatte_sdl |
92 |
- |
93 |
- dodoc README changelog |
94 |
- |
95 |
- prepgamesdirs |
96 |
-} |