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