From: | "Michael Sterrett (mr_bones_)" <mr_bones_@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-roguelike/crossfire-client: crossfire-client-1.70.0.ebuild ChangeLog |
Date: | Mon, 30 Jul 2012 21:44:06 |
Message-Id: | 20120730214351.BF2F92004B@flycatcher.gentoo.org |
1 | mr_bones_ 12/07/30 21:43:51 |
2 | |
3 | Modified: ChangeLog |
4 | Added: crossfire-client-1.70.0.ebuild |
5 | Log: |
6 | version bump (bug #410219) |
7 | |
8 | (Portage version: 2.1.10.65/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.29 games-roguelike/crossfire-client/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/crossfire-client/ChangeLog?rev=1.29&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/crossfire-client/ChangeLog?rev=1.29&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/crossfire-client/ChangeLog?r1=1.28&r2=1.29 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/games-roguelike/crossfire-client/ChangeLog,v |
20 | retrieving revision 1.28 |
21 | retrieving revision 1.29 |
22 | diff -u -r1.28 -r1.29 |
23 | --- ChangeLog 2 May 2012 21:06:17 -0000 1.28 |
24 | +++ ChangeLog 30 Jul 2012 21:43:51 -0000 1.29 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for games-roguelike/crossfire-client |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/crossfire-client/ChangeLog,v 1.28 2012/05/02 21:06:17 jdhore Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/crossfire-client/ChangeLog,v 1.29 2012/07/30 21:43:51 mr_bones_ Exp $ |
30 | + |
31 | +*crossfire-client-1.70.0 (30 Jul 2012) |
32 | + |
33 | + 30 Jul 2012; Michael Sterrett <mr_bones_@g.o> |
34 | + +crossfire-client-1.70.0.ebuild: |
35 | + version bump (bug #410219) |
36 | |
37 | 02 May 2012; Jeff Horelick <jdhore@g.o> |
38 | crossfire-client-1.12.0.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 games-roguelike/crossfire-client/crossfire-client-1.70.0.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/crossfire-client/crossfire-client-1.70.0.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/crossfire-client/crossfire-client-1.70.0.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: crossfire-client-1.70.0.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/games-roguelike/crossfire-client/crossfire-client-1.70.0.ebuild,v 1.1 2012/07/30 21:43:51 mr_bones_ Exp $ |
52 | |
53 | EAPI=2 |
54 | inherit gnome2-utils games |
55 | |
56 | DESCRIPTION="Client for the nethack-style but more in the line of UO" |
57 | HOMEPAGE="http://crossfire.real-time.com/" |
58 | SRC_URI="mirror://sourceforge/crossfire/${P}.tar.gz" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~ppc ~x86" |
63 | IUSE="alsa lua oss sdl" |
64 | |
65 | RDEPEND="alsa? ( media-libs/alsa-lib ) |
66 | virtual/opengl |
67 | x11-libs/gtk+:2 |
68 | sdl? ( media-libs/libsdl[video] |
69 | media-libs/sdl-image ) |
70 | lua? ( dev-lang/lua ) |
71 | net-misc/curl |
72 | media-libs/freeglut |
73 | media-libs/libpng:0 |
74 | sys-libs/zlib" |
75 | DEPEND="${RDEPEND} |
76 | virtual/pkgconfig" |
77 | |
78 | src_prepare() { |
79 | sed -ri -e '/^.TH/s:$: 6:' $(find . -name "*man") || die |
80 | } |
81 | |
82 | src_configure() { |
83 | # bugs in configure script so we cant use $(use_enable ...) |
84 | local myconf="--disable-dependency-tracking" |
85 | |
86 | use sdl || myconf="${myconf} --disable-sdl" |
87 | use alsa || myconf="${myconf} --disable-alsa9 --disable-alsa" |
88 | if ! use alsa && ! use oss ; then |
89 | myconf="${myconf} --disable-sound" |
90 | fi |
91 | egamesconf ${myconf} |
92 | } |
93 | |
94 | src_compile() { |
95 | # bug 139785 |
96 | if use alsa || use oss ; then |
97 | emake -j1 -C sound-src || die |
98 | fi |
99 | emake || die |
100 | } |
101 | |
102 | src_install() { |
103 | local s |
104 | |
105 | emake DESTDIR="${D}" install || die |
106 | dodoc AUTHORS ChangeLog README TODO |
107 | domenu gtk-v2/crossfire-client.desktop |
108 | for s in 16 32 48 |
109 | do |
110 | newicon -s ${s} pixmaps/${s}x${s}.png ${PN}.png |
111 | done |
112 | prepgamesdirs |
113 | } |
114 | |
115 | pkg_preinst() { |
116 | games_pkg_preinst |
117 | gnome2_icon_savelist |
118 | } |
119 | |
120 | pkg_postinst() { |
121 | games_pkg_postinst |
122 | gnome2_icon_cache_update |
123 | } |
124 | |
125 | pkg_postrm() { |
126 | gnome2_icon_cache_update |
127 | } |