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-strategy/naev: ChangeLog naev-0.5.2.ebuild
Date: Tue, 03 Apr 2012 10:55:16
Message-Id: 20120403105501.568DC2004B@flycatcher.gentoo.org
1 ssuominen 12/04/03 10:55:01
2
3 Modified: ChangeLog
4 Added: naev-0.5.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha98/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.10 games-strategy/naev/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/naev/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/naev/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/naev/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-strategy/naev/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 2 Mar 2012 02:12:46 -0000 1.9
24 +++ ChangeLog 3 Apr 2012 10:55:01 -0000 1.10
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-strategy/naev
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/naev/ChangeLog,v 1.9 2012/03/02 02:12:46 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/naev/ChangeLog,v 1.10 2012/04/03 10:55:01 ssuominen Exp $
30 +
31 +*naev-0.5.2 (03 Apr 2012)
32 +
33 + 03 Apr 2012; Samuli Suominen <ssuominen@g.o> +naev-0.5.2.ebuild:
34 + Version bump.
35
36 *naev-0.5.1 (02 Mar 2012)
37
38
39
40
41 1.1 games-strategy/naev/naev-0.5.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/naev/naev-0.5.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/naev/naev-0.5.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: naev-0.5.2.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-strategy/naev/naev-0.5.2.ebuild,v 1.1 2012/04/03 10:55:01 ssuominen Exp $
51
52 EAPI=2
53 inherit gnome2-utils games
54
55 DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity"
56 HOMEPAGE="http://code.google.com/p/naev/"
57 SRC_URI="mirror://sourceforge/naev/${P}.tar.bz2
58 mirror://sourceforge/naev/ndata-${PV}"
59
60 LICENSE="GPL-2 GPL-3 public-domain CCPL-Attribution-3.0 CCPL-Attribution-ShareAlike-3.0"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="debug +mixer +openal"
64
65 RDEPEND="media-libs/libsdl[X,audio,video]
66 dev-libs/libxml2
67 >=media-libs/freetype-2
68 >=media-libs/libvorbis-1.2.1
69 >=media-libs/libpng-1.2:0
70 media-libs/sdl-image[png]
71 virtual/glu
72 virtual/opengl
73 mixer? ( media-libs/sdl-mixer )
74 openal? ( media-libs/openal )"
75 DEPEND="${RDEPEND}
76 dev-util/pkgconfig"
77
78 src_unpack() {
79 unpack ${P}.tar.bz2
80 }
81
82 src_configure() {
83 egamesconf \
84 --docdir=/usr/share/doc/${PF} \
85 --disable-dependency-tracking \
86 $(use_enable debug) \
87 $(use_with openal) \
88 $(use_with mixer sdlmixer)
89 }
90
91 src_install() {
92 emake \
93 DESTDIR="${D}" \
94 appicondir=/usr/share/pixmaps \
95 Graphicsdir=/usr/share/applications \
96 install || die
97
98 insinto "${GAMES_DATADIR}"/${PN}
99 newins "${DISTDIR}"/ndata-${PV} ndata || die
100
101 local res
102 for res in 16 32 64 128; do
103 insinto /usr/share/icons/hicolor/${res}x${res}/apps
104 newins extras/logos/logo${res}.png naev.png || die
105 done
106
107 rm -f "${D}"/usr/share/doc/${PF}/LICENSE
108 prepalldocs
109
110 prepgamesdirs
111 }
112
113 pkg_preinst() {
114 games_pkg_preinst
115 gnome2_icon_savelist
116 }
117
118 pkg_postinst() {
119 games_pkg_postinst
120 gnome2_icon_cache_update
121 }
122
123 pkg_postrm() {
124 gnome2_icon_cache_update
125 }