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-fps/quakeforge: ChangeLog quakeforge-0.7.0.ebuild
Date: Wed, 21 Nov 2012 21:17:04
Message-Id: 20121121211653.1572820C65@flycatcher.gentoo.org
1 tupone 12/11/21 21:16:53
2
3 Modified: ChangeLog
4 Added: quakeforge-0.7.0.ebuild
5 Log:
6 Version bump to 0.7.0 Bug #405287
7
8 (Portage version: 2.1.11.31/cvs/Linux i686, signed Manifest commit with key 0145142D)
9
10 Revision Changes Path
11 1.33 games-fps/quakeforge/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/quakeforge/ChangeLog?rev=1.33&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/quakeforge/ChangeLog?rev=1.33&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/quakeforge/ChangeLog?r1=1.32&r2=1.33
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-fps/quakeforge/ChangeLog,v
20 retrieving revision 1.32
21 retrieving revision 1.33
22 diff -u -r1.32 -r1.33
23 --- ChangeLog 23 Jun 2012 14:17:57 -0000 1.32
24 +++ ChangeLog 21 Nov 2012 21:16:52 -0000 1.33
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-fps/quakeforge
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/ChangeLog,v 1.32 2012/06/23 14:17:57 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/ChangeLog,v 1.33 2012/11/21 21:16:52 tupone Exp $
30 +
31 +*quakeforge-0.7.0 (21 Nov 2012)
32 +
33 + 21 Nov 2012; Tupone Alfredo <tupone@g.o> +quakeforge-0.7.0.ebuild,
34 + +files/quakeforge-0.7.0-gentoo.patch:
35 + Version bump to 0.7.0 Bug #405287 by Tim
36
37 23 Jun 2012; Samuli Suominen <ssuominen@g.o> -quakeforge-0.5.5.ebuild:
38 old
39
40
41
42 1.1 games-fps/quakeforge/quakeforge-0.7.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/quakeforge/quakeforge-0.7.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/quakeforge/quakeforge-0.7.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: quakeforge-0.7.0.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.7.0.ebuild,v 1.1 2012/11/21 21:16:52 tupone Exp $
52
53 EAPI=4
54 inherit base eutils autotools games
55
56 DESCRIPTION="A new 3d engine based off of id Softwares's legendary Quake and QuakeWorld game engine"
57 HOMEPAGE="http://www.quakeforge.net/"
58 SRC_URI="mirror://sourceforge/quake/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="cdinstall debug fbcon flac opengl sdl svga X ncurses png vorbis zlib ipv6 xv dga alsa oss"
64 RESTRICT="userpriv"
65
66 RDEPEND="
67 media-libs/libsamplerate
68 net-misc/curl
69 png? ( media-libs/libpng )
70 flac? ( media-libs/flac )
71 opengl? ( virtual/opengl )
72 sdl? ( media-libs/libsdl )
73 svga? ( media-libs/svgalib )
74 X? (
75 x11-libs/libX11
76 x11-libs/libXext
77 )
78 ncurses? ( sys-libs/ncurses )
79 vorbis? ( media-libs/libogg media-libs/libvorbis )
80 zlib? ( sys-libs/zlib )
81 xv? (
82 x11-libs/libX11
83 x11-libs/libXext
84 x11-libs/libXxf86vm
85 )
86 dga? ( x11-libs/libXxf86dga )
87 alsa? ( media-libs/alsa-lib )"
88 DEPEND="${RDEPEND}
89 cdinstall? ( games-fps/quake1-data )
90 sys-devel/bison
91 sys-devel/flex"
92
93 src_prepare() {
94 epatch "${FILESDIR}"/${P}-gentoo.patch
95 eautoreconf
96 }
97
98 src_configure() {
99 local debugopts
100 use debug \
101 && debugopts="--enable-debug --disable-optimize --enable-profile" \
102 || debugopts="--disable-debug --disable-profile"
103
104 local clients=${QF_CLIENTS}
105 use fbcon && clients="${clients},fbdev"
106 use opengl && clients="${clients},glx"
107 use sdl && clients="${clients},sdl,sdl32"
108 use sdl && use opengl && clients="${clients},sgl"
109 use svga && clients="${clients},svga"
110 use X && clients="${clients},x11"
111 use X && use opengl && clients="${clients},wgl"
112 [ "${clients:0:1}" == "," ] && clients=${clients:1}
113
114 local servers=${QF_SERVERS:-master,nq,qw,qtv}
115
116 local tools=${QF_TOOLS:-all}
117
118 local svgaconf # use old school way for broken conf opts
119 use svga \
120 && svgaconf="--with-svga=/usr" \
121 || svgaconf="--without-svga"
122
123 addpredict "$(games_get_libdir)"
124 egamesconf \
125 $(use_enable ncurses curses) \
126 $(use_enable vorbis) \
127 $(use_enable png) \
128 $(use_enable zlib) \
129 $(use_with ipv6) \
130 $(use_with fbcon fbdev) \
131 ${svgaconf} \
132 $(use_with X x) \
133 $(use_enable xv vidmode) \
134 $(use_enable dga) \
135 $(use_enable sdl) \
136 --disable-xmms \
137 $(use_enable alsa) \
138 $(use_enable flac) \
139 $(use_enable oss) \
140 --enable-sound \
141 --disable-optimize \
142 ${debugopts} \
143 --with-global-cfg="${GAMES_SYSCONFDIR}"/quakeforge.conf \
144 --with-sharepath="${GAMES_DATADIR}"/quake1 \
145 --with-clients=${clients} \
146 --with-servers=${servers} \
147 --with-tools=${tools}
148 }
149
150 src_install() {
151 emake -j1 DESTDIR="${D}" install
152 mv "${D}/${GAMES_PREFIX}"/include "${D}"/usr/
153 dodoc ChangeLog NEWS TODO
154 prepgamesdirs
155 }
156
157 pkg_postinst() {
158 # same warning used in quake1 / quakeforge / nprquake-sdl
159 games_pkg_postinst
160 echo
161 elog "Before you can play, you must make sure"
162 elog "${PN} can find your Quake .pak files"
163 elog
164 elog "You have 2 choices to do this"
165 elog "1 Copy pak*.pak files to ${GAMES_DATADIR}/quake1/id1"
166 elog "2 Symlink pak*.pak files in ${GAMES_DATADIR}/quake1/id1"
167 elog
168 elog "Example:"
169 elog "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/"
170 elog "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak ${GAMES_DATADIR}/quake1/id1/pak0.pak"
171 elog
172 elog "You only need pak0.pak to play the demo version,"
173 elog "the others are needed for registered version"
174 }