Gentoo Archives: gentoo-commits

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