1 |
ulm 12/09/28 20:34:00 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: xtrs-4.9d-r1.ebuild |
5 |
Log: |
6 |
Specify LICENSE more precisely. Install non-free LDOS/LS-DOS disk images for Model 4P only with USE=ldos. |
7 |
|
8 |
(Portage version: 2.1.11.23/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 app-emulation/xtrs/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/metadata.xml?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/metadata.xml?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/metadata.xml?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xtrs/metadata.xml,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- metadata.xml 23 Sep 2011 21:39:53 -0000 1.5 |
24 |
+++ metadata.xml 28 Sep 2012 20:34:00 -0000 1.6 |
25 |
@@ -20,4 +20,7 @@ |
26 |
Physical cassettes can be read and written too. The user interface is a |
27 |
bit spartan, but it gets the job done. |
28 |
</longdescription> |
29 |
+<use> |
30 |
+ <flag name='ldos'>Install disk images for Model 4P</flag> |
31 |
+</use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.40 app-emulation/xtrs/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/ChangeLog?rev=1.40&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/ChangeLog?rev=1.40&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/ChangeLog?r1=1.39&r2=1.40 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v |
45 |
retrieving revision 1.39 |
46 |
retrieving revision 1.40 |
47 |
diff -u -r1.39 -r1.40 |
48 |
--- ChangeLog 23 Dec 2010 10:50:25 -0000 1.39 |
49 |
+++ ChangeLog 28 Sep 2012 20:34:00 -0000 1.40 |
50 |
@@ -1,6 +1,13 @@ |
51 |
# ChangeLog for app-emulation/xtrs |
52 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v 1.39 2010/12/23 10:50:25 ulm Exp $ |
54 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
55 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v 1.40 2012/09/28 20:34:00 ulm Exp $ |
56 |
+ |
57 |
+*xtrs-4.9d-r1 (28 Sep 2012) |
58 |
+ |
59 |
+ 28 Sep 2012; Ulrich Müller <ulm@g.o> +xtrs-4.9d-r1.ebuild, |
60 |
+ metadata.xml: |
61 |
+ Specify LICENSE more precisely. Install non-free LDOS/LS-DOS disk images for |
62 |
+ Model 4P only with USE=ldos. |
63 |
|
64 |
23 Dec 2010; Ulrich Mueller <ulm@g.o> xtrs-4.9d.ebuild: |
65 |
Fix bug 337941 properly. |
66 |
|
67 |
|
68 |
|
69 |
1.1 app-emulation/xtrs/xtrs-4.9d-r1.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/xtrs-4.9d-r1.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xtrs/xtrs-4.9d-r1.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: xtrs-4.9d-r1.ebuild |
75 |
=================================================================== |
76 |
# Copyright 1999-2012 Gentoo Foundation |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/xtrs-4.9d-r1.ebuild,v 1.1 2012/09/28 20:34:00 ulm Exp $ |
79 |
|
80 |
EAPI=4 |
81 |
|
82 |
inherit flag-o-matic toolchain-funcs |
83 |
|
84 |
DESCRIPTION="Radio Shack TRS-80 emulator" |
85 |
HOMEPAGE="http://www.tim-mann.org/xtrs.html" |
86 |
SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz |
87 |
ldos? ( http://www.tim-mann.org/trs80/ld4-631.zip )" |
88 |
|
89 |
LICENSE="xtrs ldos? ( freedist )" |
90 |
SLOT="0" |
91 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
92 |
IUSE="ldos" |
93 |
|
94 |
DEPEND="sys-libs/ncurses |
95 |
sys-libs/readline |
96 |
>=x11-libs/libX11-1.0.0" |
97 |
RDEPEND="${DEPEND}" |
98 |
|
99 |
src_prepare() { |
100 |
sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die |
101 |
} |
102 |
|
103 |
src_compile() { |
104 |
use ppc && append-flags -Dbig_endian |
105 |
emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ |
106 |
DISKDIR="-DDISKDIR='\"/usr/share/xtrs\"'" \ |
107 |
DEFAULT_ROM="-DDEFAULT_ROM='\"/usr/share/xtrs/romimage\"' \ |
108 |
-DDEFAULT_ROM3='\"/usr/share/xtrs/romimage.m3\"' \ |
109 |
-DDEFAULT_ROM4P='\"/usr/share/xtrs/romimage.m4p\"'" |
110 |
} |
111 |
|
112 |
src_install() { |
113 |
dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1 |
114 |
emake PREFIX="${D}"/usr install |
115 |
|
116 |
insopts -m0444 |
117 |
insinto /usr/share/xtrs/disks |
118 |
doins cpmutil.dsk utility.dsk |
119 |
|
120 |
if use ldos; then |
121 |
doins "${WORKDIR}"/ld4-631.dsk |
122 |
dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0 |
123 |
dosym disks/utility.dsk /usr/share/xtrs/disk4p-1 |
124 |
fi |
125 |
|
126 |
dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html |
127 |
} |
128 |
|
129 |
pkg_postinst() { |
130 |
ewarn "For copyright reasons, xtrs does not include actual ROM images." |
131 |
ewarn "Because of this, unless you supply your own ROM, xtrs will" |
132 |
ewarn "not function in any mode except 'Model 4p' mode (a minimal" |
133 |
ewarn "free ROM is included for this), which can be run like this:" |
134 |
ewarn " xtrs -model 4p" |
135 |
elog "" |
136 |
elog "If you already own a copy of the ROM software (e.g., if you have" |
137 |
elog "a TRS-80 with this ROM), then you can make yourself a copy of this" |
138 |
elog "for use with xtrs using utilities available on the web. You can" |
139 |
elog "also often find various ROMs elsewhere. To load your own ROM," |
140 |
elog "specify the '-romfile' option." |
141 |
} |