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