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-action/clanbomber: ChangeLog clanbomber-2.1.1.ebuild
Date: Tue, 12 Jul 2011 17:43:02
Message-Id: 20110712174251.D7AAA2004B@flycatcher.gentoo.org
1 mr_bones_ 11/07/12 17:42:51
2
3 Modified: ChangeLog clanbomber-2.1.1.ebuild
4 Log:
5 clean up deps and install (bug #374865)
6
7 (Portage version: 2.1.10.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.15 games-action/clanbomber/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/clanbomber/ChangeLog?rev=1.15&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/clanbomber/ChangeLog?rev=1.15&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/clanbomber/ChangeLog?r1=1.14&r2=1.15
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-action/clanbomber/ChangeLog,v
19 retrieving revision 1.14
20 retrieving revision 1.15
21 diff -u -r1.14 -r1.15
22 --- ChangeLog 5 Jul 2011 05:40:33 -0000 1.14
23 +++ ChangeLog 12 Jul 2011 17:42:51 -0000 1.15
24 @@ -1,6 +1,9 @@
25 # ChangeLog for games-action/clanbomber
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-action/clanbomber/ChangeLog,v 1.14 2011/07/05 05:40:33 tupone Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-action/clanbomber/ChangeLog,v 1.15 2011/07/12 17:42:51 mr_bones_ Exp $
29 +
30 + 12 Jul 2011; Michael Sterrett <mr_bones_@g.o> clanbomber-2.1.1.ebuild:
31 + clean up deps and install (bug #374865)
32
33 *clanbomber-2.1.1 (05 Jul 2011)
34
35
36
37
38 1.2 games-action/clanbomber/clanbomber-2.1.1.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/clanbomber/clanbomber-2.1.1.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/clanbomber/clanbomber-2.1.1.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/clanbomber/clanbomber-2.1.1.ebuild?r1=1.1&r2=1.2
43
44 Index: clanbomber-2.1.1.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/games-action/clanbomber/clanbomber-2.1.1.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- clanbomber-2.1.1.ebuild 5 Jul 2011 05:40:33 -0000 1.1
51 +++ clanbomber-2.1.1.ebuild 12 Jul 2011 17:42:51 -0000 1.2
52 @@ -1,10 +1,9 @@
53 # Copyright 1999-2011 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/games-action/clanbomber/clanbomber-2.1.1.ebuild,v 1.1 2011/07/05 05:40:33 tupone Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/games-action/clanbomber/clanbomber-2.1.1.ebuild,v 1.2 2011/07/12 17:42:51 mr_bones_ Exp $
57
58 EAPI=2
59 -
60 -inherit base eutils games
61 +inherit autotools base eutils flag-o-matic games
62
63 DESCRIPTION="Bomberman-like multiplayer game"
64 HOMEPAGE="http://savannah.nongnu.org/projects/clanbomber/"
65 @@ -15,18 +14,45 @@
66 KEYWORDS="~amd64 ~ppc ~x86"
67 IUSE=""
68
69 -DEPEND="media-libs/sdl-image
70 +RDEPEND="media-libs/libsdl[audio,joystick,video]
71 + media-libs/sdl-image[png]
72 + media-libs/sdl-mixer
73 media-libs/sdl-ttf
74 - media-libs/sdl-gfx"
75 -RDEPEND="${DEPEND}
76 - dev-libs/boost"
77 -
78 -DOCS=( AUTHORS ChangeLog ChangeLog.hg IDEAS LICENSE.DEJAVU NEWS QUOTES README
79 - TODO )
80 + media-libs/sdl-gfx
81 + >dev-libs/boost-1.36
82 + <dev-libs/boost-1.46
83 + media-fonts/dejavu"
84 +DEPEND="${RDEPEND}
85 + dev-util/pkgconfig"
86 +
87 +DOCS=( AUTHORS ChangeLog ChangeLog.hg IDEAS NEWS QUOTES README TODO )
88 +
89 +src_prepare() {
90 + local boost_ver=$(best_version "<dev-libs/boost-1.46")
91 +
92 + boost_ver=${boost_ver/*boost-/}
93 + boost_ver=${boost_ver%.*}
94 + boost_ver=${boost_ver/./_}
95 +
96 + einfo "Using boost version ${boost_ver}"
97 + append-cxxflags \
98 + -I/usr/include/boost-${boost_ver}
99 + append-ldflags \
100 + -L/usr/$(get_libdir)/boost-${boost_ver}
101 + append-flags -DBOOST_FILESYSTEM_VERSION=2
102 +
103 + export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}"
104 + export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}"
105 + sed -i -e 's/menuentry//' src/Makefile.am || die
106 + eautoreconf
107 +}
108
109 src_install() {
110 base_src_install
111 newicon src/pics/cup2.png ${PN}.png
112 make_desktop_entry ${PN}2 ClanBomber2
113 + rm -f "${D}${GAMES_DATADIR}"/${PN}/fonts/DejaVuSans-Bold.ttf
114 + dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
115 + "${GAMES_DATADIR}"/${PN}/fonts/
116 prepgamesdirs
117 }