1 |
ulm 14/01/31 20:59:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xtrs-4.9d-r2.ebuild |
5 |
Log: |
6 |
Use upstream default locations to look for ROM and disk files. Update ebuild to EAPI 5. Inherit readme.gentoo.eclass. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.47 app-emulation/xtrs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/ChangeLog?rev=1.47&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/ChangeLog?rev=1.47&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/ChangeLog?r1=1.46&r2=1.47 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v |
20 |
retrieving revision 1.46 |
21 |
retrieving revision 1.47 |
22 |
diff -u -r1.46 -r1.47 |
23 |
--- ChangeLog 30 Nov 2012 06:35:21 -0000 1.46 |
24 |
+++ ChangeLog 31 Jan 2014 20:59:32 -0000 1.47 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-emulation/xtrs |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v 1.46 2012/11/30 06:35:21 lavajoe Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v 1.47 2014/01/31 20:59:32 ulm Exp $ |
31 |
+ |
32 |
+*xtrs-4.9d-r2 (31 Jan 2014) |
33 |
+ |
34 |
+ 31 Jan 2014; Ulrich Müller <ulm@g.o> +xtrs-4.9d-r2.ebuild: |
35 |
+ Use upstream default locations to look for ROM and disk files. Update ebuild |
36 |
+ to EAPI 5. Inherit readme.gentoo.eclass. |
37 |
|
38 |
30 Nov 2012; Joe Peterson <lavajoe@g.o> metadata.xml: |
39 |
Remove myself as a maintainer |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-emulation/xtrs/xtrs-4.9d-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/xtrs-4.9d-r2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/xtrs-4.9d-r2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: xtrs-4.9d-r2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/xtrs-4.9d-r2.ebuild,v 1.1 2014/01/31 20:59:32 ulm Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
inherit flag-o-matic toolchain-funcs readme.gentoo |
57 |
|
58 |
DESCRIPTION="Radio Shack TRS-80 emulator" |
59 |
HOMEPAGE="http://www.tim-mann.org/xtrs.html" |
60 |
SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz |
61 |
ldos? ( http://www.tim-mann.org/trs80/ld4-631.zip )" |
62 |
|
63 |
LICENSE="xtrs ldos? ( freedist )" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
66 |
IUSE="ldos" |
67 |
|
68 |
DEPEND="sys-libs/ncurses |
69 |
sys-libs/readline |
70 |
>=x11-libs/libX11-1.0.0" |
71 |
RDEPEND="${DEPEND}" |
72 |
|
73 |
src_prepare() { |
74 |
sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die |
75 |
} |
76 |
|
77 |
src_compile() { |
78 |
use ppc && append-flags -Dbig_endian |
79 |
emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}" |
80 |
} |
81 |
|
82 |
src_install() { |
83 |
dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1 |
84 |
emake PREFIX="${D}"/usr install |
85 |
|
86 |
insopts -m0444 |
87 |
insinto /usr/share/xtrs/disks |
88 |
doins cpmutil.dsk utility.dsk |
89 |
|
90 |
if use ldos; then |
91 |
doins "${WORKDIR}"/ld4-631.dsk |
92 |
dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0 |
93 |
dosym disks/utility.dsk /usr/share/xtrs/disk4p-1 |
94 |
fi |
95 |
|
96 |
dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html |
97 |
|
98 |
DOC_CONTENTS="For copyright reasons, xtrs does not include actual ROM |
99 |
images. Because of this, unless you supply your own ROM, xtrs will |
100 |
not function in any mode except 'Model 4p' mode (a minimal free ROM |
101 |
is included for this), which can be run like this: |
102 |
\n\nxtrs -model 4p -diskdir /usr/share/xtrs |
103 |
\n\nIf you already own a copy of the ROM software (e.g., if you have |
104 |
a TRS-80 with this ROM), then you can make yourself a copy of this |
105 |
for use with xtrs, using utilities available on the web. To load |
106 |
your own ROM, specify the '-romfile' option, or the 'Xtrs.romfile' |
107 |
X resource. ROM files can be in Intel hex or binary format." |
108 |
readme.gentoo_create_doc |
109 |
} |