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/gnubg: ChangeLog gnubg-20100107.ebuild gnubg-0.14.3-r1.ebuild
Date: Thu, 07 Jan 2010 08:17:48
Message-Id: E1NSnYv-0001wE-Fk@stork.gentoo.org
1 mr_bones_ 10/01/07 08:17:45
2
3 Modified: ChangeLog
4 Added: gnubg-20100107.ebuild
5 Removed: gnubg-0.14.3-r1.ebuild
6 Log:
7 version bump; clean old
8 (Portage version: 2.1.6.13/cvs/Linux i686)
9
10 Revision Changes Path
11 1.51 games-board/gnubg/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnubg/ChangeLog?rev=1.51&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnubg/ChangeLog?rev=1.51&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnubg/ChangeLog?r1=1.50&r2=1.51
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v
20 retrieving revision 1.50
21 retrieving revision 1.51
22 diff -u -r1.50 -r1.51
23 --- ChangeLog 6 Jan 2010 19:52:41 -0000 1.50
24 +++ ChangeLog 7 Jan 2010 08:17:45 -0000 1.51
25 @@ -1,6 +1,15 @@
26 # ChangeLog for games-board/gnubg
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.50 2010/01/06 19:52:41 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.51 2010/01/07 08:17:45 mr_bones_ Exp $
30 +
31 +*gnubg-20100107 (07 Jan 2010)
32 +
33 + 07 Jan 2010; Michael Sterrett <mr_bones_@g.o>
34 + -gnubg-0.14.3-r1.ebuild, -files/gnubg-0.14.3-64bits.patch,
35 + -files/gnubg-0.14.3-as-needed.patch, -files/gnubg-0.14.3-blas.patch,
36 + -files/gnubg-0.14.3-gcc4.patch, +gnubg-20100107.ebuild,
37 + +files/gnubg-20100107-build.patch:
38 + version bump; clean old
39
40 06 Jan 2010; Brent Baude <ranger@g.o> gnubg-20090817.ebuild:
41 Marking gnubg-20090817 ppc64 for bug 288644
42
43
44
45 1.1 games-board/gnubg/gnubg-20100107.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnubg/gnubg-20100107.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnubg/gnubg-20100107.ebuild?rev=1.1&content-type=text/plain
49
50 Index: gnubg-20100107.ebuild
51 ===================================================================
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-20100107.ebuild,v 1.1 2010/01/07 08:17:45 mr_bones_ Exp $
55
56 EAPI=2
57 inherit autotools eutils games
58
59 DESCRIPTION="GNU BackGammon"
60 HOMEPAGE="http://www.gnubg.org/"
61 SRC_URI="http://www.gnubg.org/media/sources/${PN}-source-SNAPSHOT-${PV}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
66 IUSE="gtk opengl python threads"
67
68 GTK_DEPS="
69 x11-libs/gtk+:2
70 x11-libs/cairo
71 x11-libs/pango"
72 RDEPEND="dev-libs/glib:2
73 media-libs/libpng
74 dev-libs/libxml2
75 media-libs/freetype:2
76 media-libs/libcanberra
77 gtk? ( ${GTK_DEPS} )
78 opengl? (
79 ${GTK_DEPS}
80 x11-libs/gtkglext
81 >=media-libs/ftgl-2.1.2-r1
82 )
83 sys-libs/readline
84 python? ( dev-lang/python )
85 media-fonts/ttf-bitstream-vera
86 virtual/libintl
87 dev-db/sqlite:3"
88 DEPEND="${RDEPEND}
89 dev-util/pkgconfig
90 sys-devel/gettext"
91
92 S=${WORKDIR}/${PN}
93
94 src_prepare() {
95 # use ${T} instead of /tmp for constructing credits (bug #298275)
96 sed -i \
97 -e 's:/tmp:${T}:' \
98 credits.sh \
99 || die 'sed failed'
100 epatch "${FILESDIR}"/${P}-build.patch
101 eautoreconf
102 }
103
104 src_configure() {
105 egamesconf \
106 --disable-dependency-tracking \
107 --localedir=/usr/share/locale \
108 --docdir=/usr/share/doc/${PF}/html \
109 $(use_enable threads) \
110 $(use_with python) \
111 $(use gtk || use opengl && echo --with-gtk) \
112 $(use_with opengl board3d)
113 }
114
115 src_install() {
116 emake DESTDIR="${D}" install || die "emake install failed"
117 insinto "${GAMES_DATADIR}/${PN}"
118 doins ${PN}.weights *bd || die "doins failed"
119 dodoc AUTHORS README NEWS
120 dosym /usr/share/fonts/ttf-bitstream-vera "${GAMES_DATADIR}"/${PN}/fonts
121 newicon textures/logo.png gnubg.png
122 make_desktop_entry "gnubg -w" "GNU Backgammon"
123 prepgamesdirs
124 }