Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-util/glbsp: glbsp-2.24.ebuild ChangeLog
Date: Thu, 25 Nov 2010 10:59:06
Message-Id: 20101125105900.0F78620051@flycatcher.gentoo.org
1 tupone 10/11/25 10:59:00
2
3 Modified: ChangeLog
4 Added: glbsp-2.24.ebuild
5 Log:
6 Version bump to 2.24 Bug #188153
7
8 (Portage version: 2.1.9.24/cvs/Linux i686)
9
10 Revision Changes Path
11 1.11 games-util/glbsp/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/glbsp/ChangeLog?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/glbsp/ChangeLog?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/glbsp/ChangeLog?r1=1.10&r2=1.11
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-util/glbsp/ChangeLog,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- ChangeLog 1 Oct 2010 08:04:07 -0000 1.10
24 +++ ChangeLog 25 Nov 2010 10:58:59 -0000 1.11
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-util/glbsp
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-util/glbsp/ChangeLog,v 1.10 2010/10/01 08:04:07 tupone Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-util/glbsp/ChangeLog,v 1.11 2010/11/25 10:58:59 tupone Exp $
30 +
31 +*glbsp-2.24 (25 Nov 2010)
32 +
33 + 25 Nov 2010; Tupone Alfredo <tupone@g.o> +glbsp-2.24.ebuild,
34 + +files/glbsp-2.24-fltk.patch, +files/glbsp-2.24-ldflags.patch:
35 + Version bump to 2.24 Bug #188153 by Davide Cendron
36
37 01 Oct 2010; Tupone Alfredo <tupone@g.o> glbsp-2.20.ebuild,
38 +files/glbsp-2.20-ldflags.patch:
39
40
41
42 1.1 games-util/glbsp/glbsp-2.24.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/glbsp/glbsp-2.24.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/glbsp/glbsp-2.24.ebuild?rev=1.1&content-type=text/plain
46
47 Index: glbsp-2.24.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-util/glbsp/glbsp-2.24.ebuild,v 1.1 2010/11/25 10:58:59 tupone Exp $
52
53 EAPI=2
54 inherit eutils toolchain-funcs versionator
55
56 MY_PV=$(delete_version_separator 1)
57 DESCRIPTION="A node builder specially designed for OpenGL ports of the DOOM game engine"
58 HOMEPAGE="http://glbsp.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/glbsp/${PN}_src_${MY_PV}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="fltk"
65
66 RDEPEND="fltk? ( x11-libs/fltk:1.1 )"
67 DEPEND="${RDEPEND}"
68 S="${WORKDIR}"/${P}-source
69
70 src_prepare() {
71 epatch "${FILESDIR}"/${P}-ldflags.patch
72 sed -i \
73 -e "/^CC=/s:=.*:=$(tc-getCC):" \
74 -e "/^CXX=/s:=.*:=$(tc-getCXX):" \
75 -e "/^AR=/s:ar:$(tc-getAR):" \
76 -e "/^RANLIB=/s:=.*:=$(tc-getRANLIB):" \
77 -e "s:-O2:${CFLAGS}:" \
78 -e "s:-O -g3:${CFLAGS}:" \
79 Makefile.unx \
80 nodeview/Makefile.unx \
81 || die "sed failed"
82 }
83
84 src_compile() {
85 emake -f Makefile.unx || die "emake failed"
86 if use fltk ; then
87 emake -f Makefile.unx glBSPX \
88 FLTK_FLAGS="$(fltk-config --cflags)" \
89 FLTK_LIBS="$(fltk-config --use-images --ldflags)" \
90 || die "emake failed"
91 emake -f Makefile.unx -C nodeview \
92 FLTK_CFLAGS="$(fltk-config --cflags)" \
93 FLTK_LIBS="$(fltk-config --use-images --ldflags)" \
94 || die "emake failed"
95 fi
96 }
97
98 src_install() {
99 dobin glbsp || die "dobin failed"
100 dolib.a libglbsp.a || die "dolib.a failed"
101 doman glbsp.1
102 dodoc AUTHORS.txt glbsp.txt
103 insinto "/usr/include"
104 doins "src/glbsp.h" || die "doins failed"
105
106 if use fltk ; then
107 newbin glBSPX glbspx || die "newbin failed"
108 newicon gui/icon.xpm glbspx.xpm
109 make_desktop_entry glbspx glBSPX glbspx
110
111 dobin nodeview/nodeview || die "dobin failed"
112 docinto nodeview
113 dodoc nodeview/{README,TODO}.txt || die "dodoc failed"
114 fi
115 }