Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-board/xboard: ChangeLog xboard-4.4.3.ebuild
Date: Sun, 25 Apr 2010 23:30:48
Message-Id: 20100425233046.980E22C04B@corvid.gentoo.org
1 mr_bones_ 10/04/25 23:30:46
2
3 Modified: ChangeLog
4 Added: xboard-4.4.3.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.30 games-board/xboard/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/xboard/ChangeLog?rev=1.30&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/xboard/ChangeLog?rev=1.30&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/xboard/ChangeLog?r1=1.29&r2=1.30
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v
19 retrieving revision 1.29
20 retrieving revision 1.30
21 diff -u -r1.29 -r1.30
22 --- ChangeLog 4 Apr 2010 13:35:58 -0000 1.29
23 +++ ChangeLog 25 Apr 2010 23:30:46 -0000 1.30
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-board/xboard
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.29 2010/04/04 13:35:58 hwoarang Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.30 2010/04/25 23:30:46 mr_bones_ Exp $
29 +
30 +*xboard-4.4.3 (25 Apr 2010)
31 +
32 + 25 Apr 2010; Michael Sterrett <mr_bones_@g.o> +xboard-4.4.3.ebuild,
33 + +files/xboard-4.4.3-gentoo.patch:
34 + version bump
35
36 04 Apr 2010; Markos Chandras <hwoarang@g.o> xboard-4.4.1.ebuild:
37 Revert my previous commit as this app fails to run properly
38
39
40
41 1.1 games-board/xboard/xboard-4.4.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/xboard/xboard-4.4.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/xboard/xboard-4.4.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xboard-4.4.3.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-board/xboard/xboard-4.4.3.ebuild,v 1.1 2010/04/25 23:30:46 mr_bones_ Exp $
51
52 EAPI=2
53 inherit autotools eutils games
54
55 DESCRIPTION="GUI for gnuchess and for internet chess servers"
56 HOMEPAGE="http://www.gnu.org/software/xboard/"
57 SRC_URI="mirror://gnu/xboard/${P}.tar.gz
58 mirror://gentoo/${PN}.png
59 http://dev.gentoo.org/~wolf31o2/sources/dump/${PN}.png"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
64 IUSE="Xaw3d +default-font zippy"
65 RESTRICT="test" #124112
66
67 RDEPEND="Xaw3d? ( x11-libs/Xaw3d )
68 x11-libs/libXpm
69 x11-libs/libXaw
70 x11-libs/libSM
71 x11-libs/libX11
72 x11-libs/libXt
73 x11-libs/libXmu
74 x11-libs/libXext
75 x11-libs/libICE
76 default-font? ( media-fonts/font-adobe-100dpi )"
77 DEPEND="${RDEPEND}
78 x11-proto/xproto"
79
80 src_unpack() {
81 unpack ${P}.tar.gz
82 }
83
84 src_prepare() {
85 epatch "${FILESDIR}"/${P}*
86 sed -i \
87 -e '/icons/s:\$(datadir):/usr/share:' \
88 Makefile.am \
89 || die 'sed failed'
90 eautoreconf
91 }
92
93 src_configure() {
94 egamesconf \
95 --disable-dependency-tracking \
96 $(use_with Xaw3d) \
97 $(use_enable zippy)
98 }
99
100 src_install() {
101 emake DESTDIR="${D}" install || die "emake install failed"
102 dodoc AUTHORS COPYRIGHT ChangeLog NEWS README TODO ics-parsing.txt
103 use zippy && dodoc zippy.README
104 dohtml FAQ.html
105 doicon "${DISTDIR}"/xboard.png
106 make_desktop_entry ${PN} "Xboard (Chess)"
107 prepgamesdirs
108 }
109
110 pkg_postinst() {
111 games_pkg_postinst
112 elog "No chess engines are emerged by default! If you want a chess engine"
113 elog "to play with, you can emerge gnuchess or crafty."
114 elog "Read xboard FAQ for information."
115 if ! use default-font ; then
116 ewarn "Read the xboard(6) man page for specifying the font for xboard to use."
117 fi
118 }