Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/basiliskII-jit: ChangeLog basiliskII-jit-1.0_pre20060501.ebuild
Date: Thu, 17 Jul 2008 03:16:17
Message-Id: E1KJJyY-0000No-1u@stork.gentoo.org
1 darkside 08/07/17 03:16:14
2
3 Modified: ChangeLog
4 Added: basiliskII-jit-1.0_pre20060501.ebuild
5 Log:
6 Version bump of sorts, merged code bases resulted in a lower version number upstream. Thanks to Eric me262 Mason for the ebuild in bug #227763
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.22-gentoo-r2 i686)
8
9 Revision Changes Path
10 1.10 app-emulation/basiliskII-jit/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/basiliskII-jit/ChangeLog?rev=1.10&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/basiliskII-jit/ChangeLog?rev=1.10&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/basiliskII-jit/ChangeLog?r1=1.9&r2=1.10
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/basiliskII-jit/ChangeLog,v
19 retrieving revision 1.9
20 retrieving revision 1.10
21 diff -u -r1.9 -r1.10
22 --- ChangeLog 21 Apr 2008 16:42:52 -0000 1.9
23 +++ ChangeLog 17 Jul 2008 03:16:13 -0000 1.10
24 @@ -1,6 +1,13 @@
25 # ChangeLog for app-emulation/basiliskII-jit
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII-jit/ChangeLog,v 1.9 2008/04/21 16:42:52 phreak Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII-jit/ChangeLog,v 1.10 2008/07/17 03:16:13 darkside Exp $
29 +
30 +*basiliskII-jit-1.0_pre20060501 (17 Jul 2008)
31 +
32 + 17 Jul 2008; Jeremy Olexa <darkside@g.o>
33 + +basiliskII-jit-1.0_pre20060501.ebuild:
34 + Version bump of sorts, merged code bases resulted in a lower version number
35 + upstream. Thanks to Eric me262 Mason for the ebuild in bug #227763
36
37 21 Apr 2008; Christian Heim <phreak@g.o> metadata.xml:
38 Fix up metadata.xml. If there's no maintainer for the package, the metadata
39
40
41
42 1.1 app-emulation/basiliskII-jit/basiliskII-jit-1.0_pre20060501.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/basiliskII-jit/basiliskII-jit-1.0_pre20060501.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/basiliskII-jit/basiliskII-jit-1.0_pre20060501.ebuild?rev=1.1&content-type=text/plain
46
47 Index: basiliskII-jit-1.0_pre20060501.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII-jit/basiliskII-jit-1.0_pre20060501.ebuild,v 1.1 2008/07/17 03:16:13 darkside Exp $
52
53 inherit flag-o-matic eutils
54
55 S="${WORKDIR}/BasiliskII-1.0/src/Unix"
56 DESCRIPTION="Basilisk II Macintosh Emulator"
57 HOMEPAGE="http://gwenole.beauchesne.info/projects/basilisk2/"
58 SRC_URI="http://gwenole.beauchesne.info/projects/basilisk2/files/BasiliskII_src_01052006.tar.bz2"
59
60 LICENSE="|| ( GPL-2 LGPL-2.1 )"
61 KEYWORDS="~x86 -ppc"
62 SLOT="0"
63
64 IUSE="dga esd fbdev gtk jit nls sdl xv"
65
66 RDEPEND="esd? ( media-sound/esound )
67 !sdl? ( fbdev? ( x11-drivers/xf86-video-fbdev ) )
68 gtk? ( >=x11-libs/gtk+-1.3.15 gnome-base/libgnomeui )
69 !sdl? ( dga? ( x11-libs/libXxf86dga ) )
70 sdl? ( media-libs/libsdl )
71 nls? ( virtual/libintl )
72 x11-libs/libSM
73 x11-libs/libXi
74 x11-libs/libXxf86vm
75 !app-emulation/basiliskII-jit"
76
77 DEPEND="${RDEPEND}
78 !sdl? ( dga? ( x11-proto/xf86dgaproto ) )
79 nls? ( sys-devel/gettext )
80 x11-proto/xf86vidmodeproto
81 x11-proto/xextproto
82 x11-proto/xproto
83 >=sys-apps/sed-4"
84
85 src_unpack() {
86 unpack ${A}
87 cd "${S}"
88
89 # Fix up the vendor (bug 35352)
90 sed -i \
91 -e "s/Mandrake/Gentoo/g" keycodes || \
92 die "sed keycodes failed"
93
94 #prevent prestripped binary
95 sed -i -e '/^INSTALL_PROGRAM/s/-s//' Makefile.in
96
97 if ( use sdl && ( use fbdev || use dga ) ) ; then
98 elog "SDL support was requested, disabling DGA and fbdev"
99 elif ( use dga && use fbdev ) ; then
100 elog "DGA support was requested, disabling fbdev"
101 fi
102 }
103
104 src_compile() {
105 #fpu_x86 doesnt compile properly if -O3 or greater :(
106 replace-flags -O[3-9] -O2
107
108 local myflags
109
110 use jit && myflags="--enable-jit-compiler"
111
112 econf $(use_with esd) \
113 $(use_with gtk) \
114 $(use_with dga xf86-dga) \
115 $(use_with fbdev-dga) \
116 $(use_enable nls) \
117 $(use_enable sdl sdl-video) \
118 $(use_enable sdl sdl-audio) \
119 $(use_enable xv xf86-vidmode) \
120 ${myflags}
121
122 emake || die "emake failed"
123
124 }
125
126 src_install() {
127
128 emake DESTDIR="${D}" install || die "Install failed"
129
130 cd ../../
131 dodoc ChangeLog README TECH TODO
132 }
133
134 pkg_postinst() {
135 einfo ""
136 einfo "Please read the README doc file for information on networking"
137 einfo "in Basilisk II."
138 einfo ""
139 einfo "Basilisk II requires a Mac II or Mac Classic ROM to work."
140 einfo ""
141 einfo "Mac OS 7.5.3r2 is available freely from the Apple Homepage."
142 einfo ""
143 einfo "System ROMs can be retreived from a real Mac, see info/man pages."
144 }
145
146
147
148 --
149 gentoo-commits@l.g.o mailing list