Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-util/atlas: ChangeLog atlas-0.3.1_p20101101.ebuild
Date: Mon, 01 Nov 2010 18:26:42
Message-Id: 20101101182638.3410320051@flycatcher.gentoo.org
1 ssuominen 10/11/01 18:26:38
2
3 Modified: ChangeLog
4 Added: atlas-0.3.1_p20101101.ebuild
5 Log:
6 New snapshot wrt #315409.
7
8 (Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.23 games-util/atlas/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/atlas/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/atlas/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/atlas/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-util/atlas/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 14 Oct 2010 20:26:06 -0000 1.22
24 +++ ChangeLog 1 Nov 2010 18:26:38 -0000 1.23
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-util/atlas
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-util/atlas/ChangeLog,v 1.22 2010/10/14 20:26:06 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-util/atlas/ChangeLog,v 1.23 2010/11/01 18:26:38 ssuominen Exp $
30 +
31 +*atlas-0.3.1_p20101101 (01 Nov 2010)
32 +
33 + 01 Nov 2010; Samuli Suominen <ssuominen@g.o>
34 + +atlas-0.3.1_p20101101.ebuild:
35 + New snapshot wrt #315409.
36
37 14 Oct 2010; Brent Baude <ranger@g.o> atlas-0.3.1_p20100302.ebuild:
38 Marking atlas-0.3.1_p20100302 ppc for bug 313613
39
40
41
42 1.1 games-util/atlas/atlas-0.3.1_p20101101.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/atlas/atlas-0.3.1_p20101101.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/atlas/atlas-0.3.1_p20101101.ebuild?rev=1.1&content-type=text/plain
46
47 Index: atlas-0.3.1_p20101101.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-util/atlas/atlas-0.3.1_p20101101.ebuild,v 1.1 2010/11/01 18:26:38 ssuominen Exp $
52
53 EAPI=2
54 inherit autotools games
55
56 DESCRIPTION="Chart Program to use with Flightgear Flight Simulator"
57 HOMEPAGE="http://atlas.sourceforge.net/"
58 SRC_URI="mirror://gentoo/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
63 IUSE=""
64
65 DEPEND=">=games-simulation/flightgear-2
66 media-libs/freeglut
67 >=media-libs/libpng-1.4
68 media-libs/plib
69 net-misc/curl
70 virtual/glu
71 virtual/jpeg
72 virtual/opengl
73 x11-libs/libX11
74 x11-libs/libXext
75 x11-libs/libXi
76 x11-libs/libICE
77 x11-libs/libSM
78 x11-libs/libXt
79 x11-libs/libXmu"
80
81 src_prepare() {
82 eautoreconf
83 }
84
85 src_configure() {
86 egamesconf \
87 --disable-dependency-tracking \
88 --with-fgbase="${GAMES_DATADIR}"/FlightGear
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" install || die
93 insinto "${GAMES_DATADIR}"/FlightGear/Atlas
94 doins src/data/*.{jpg,png} || die
95 insinto "${GAMES_DATADIR}"/FlightGear/Atlas/Palettes
96 doins src/data/Palettes/*.ap || die
97 insinto "${GAMES_DATADIR}"/FlightGear/Atlas/Fonts
98 doins src/data/Fonts/*.txf || die
99 dodoc AUTHORS NEWS README
100 prepgamesdirs
101 }
102
103 pkg_postinst() {
104 games_pkg_postinst
105 elog "You now can make the maps with the following commands:"
106 elog "${GAMES_BINDIR}/Map --atlas=${GAMES_DATADIR}/FlightGear/Atlas"
107 elog
108 elog "To run Atlas concurrently with FlightGear use the following:"
109 elog "Atlas --path=[path of map images] --udp=[port number]"
110 elog "and start fgfs with the following switch (or in .fgfsrc):"
111 elog "--nmea=socket,out,0.5,[host that you run Atlas on],[port number],udp"
112 echo
113 }
114
115 pkg_postrm() {
116 elog "You must manually remove the maps if you don't want them around."
117 elog "They are found in the following directory:"
118 echo
119 elog "${GAMES_DATADIR}/FlightGear/Atlas"
120 echo
121 }