1 |
mr_bones_ 10/09/09 07:14:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openarena-0.8.5.ebuild |
5 |
Log: |
6 |
version bump with work from Cesar Garcia in bug #306617 |
7 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.18 games-fps/openarena/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/openarena/ChangeLog?rev=1.18&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/openarena/ChangeLog?rev=1.18&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/openarena/ChangeLog?r1=1.17&r2=1.18 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-fps/openarena/ChangeLog,v |
19 |
retrieving revision 1.17 |
20 |
retrieving revision 1.18 |
21 |
diff -u -r1.17 -r1.18 |
22 |
--- ChangeLog 23 May 2010 21:25:31 -0000 1.17 |
23 |
+++ ChangeLog 9 Sep 2010 07:14:12 -0000 1.18 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for games-fps/openarena |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/games-fps/openarena/ChangeLog,v 1.17 2010/05/23 21:25:31 pacho Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-fps/openarena/ChangeLog,v 1.18 2010/09/09 07:14:12 mr_bones_ Exp $ |
29 |
+ |
30 |
+*openarena-0.8.5 (09 Sep 2010) |
31 |
+ |
32 |
+ 09 Sep 2010; Michael Sterrett <mr_bones_@g.o> |
33 |
+ +openarena-0.8.5.ebuild, +files/openarena-0.8.5-bots-strcpy-fix.patch, |
34 |
+ +files/openarena-0.8.5-makefile.patch, |
35 |
+ +files/openarena-0.8.5-unbundling.patch: |
36 |
+ version bump with work from Cesar Garcia in bug #306617 |
37 |
|
38 |
23 May 2010; Pacho Ramos <pacho@g.o> openarena-0.8.1-r1.ebuild: |
39 |
stable amd64, bug 315299 |
40 |
|
41 |
|
42 |
|
43 |
1.1 games-fps/openarena/openarena-0.8.5.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/openarena/openarena-0.8.5.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/openarena/openarena-0.8.5.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: openarena-0.8.5.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/games-fps/openarena/openarena-0.8.5.ebuild,v 1.1 2010/09/09 07:14:12 mr_bones_ Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
inherit eutils flag-o-matic versionator games |
56 |
|
57 |
MY_PV=$(delete_all_version_separators) |
58 |
BASE_PV="0.8.1" |
59 |
OLD_PV=$(delete_all_version_separators $BASE_PV) |
60 |
|
61 |
DESCRIPTION="Open-source replacement for Quake 3 Arena" |
62 |
HOMEPAGE="http://openarena.ws/" |
63 |
SRC_URI="http://download.tuxfamily.org/openarena/rel/${OLD_PV}/oa${OLD_PV}.zip |
64 |
http://download.tuxfamily.org/openarena/rel/${MY_PV}/oa${MY_PV}p.zip |
65 |
http://openarena.ws/svn/source/${OLD_PV}/${PN}-engine-${BASE_PV}-1.tar.bz2" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
IUSE="+curl +openal +vorbis" |
71 |
|
72 |
RDEPEND="virtual/opengl |
73 |
media-libs/libsdl[joystick,opengl,video] |
74 |
media-libs/speex |
75 |
media-libs/jpeg |
76 |
x11-libs/libXext |
77 |
x11-libs/libX11 |
78 |
x11-libs/libXau |
79 |
x11-libs/libXdmcp |
80 |
curl? ( net-misc/curl ) |
81 |
openal? ( media-libs/openal ) |
82 |
vorbis? ( media-libs/libvorbis )" |
83 |
DEPEND="${RDEPEND} |
84 |
app-arch/unzip" |
85 |
|
86 |
MY_S=${WORKDIR}/${PN}-engine-${BASE_PV} |
87 |
S=${WORKDIR}/${PN}-${BASE_PV} |
88 |
BUILD_DIR=${PN}-build |
89 |
DIR=${GAMES_DATADIR}/${PN} |
90 |
|
91 |
src_prepare() { |
92 |
cd "${WORKDIR}" |
93 |
epatch "${FILESDIR}"/${P}-makefile.patch \ |
94 |
"${FILESDIR}"/${P}-unbundling.patch |
95 |
sed -i \ |
96 |
-e '/ALDRIVER_DEFAULT/s/libopenal.so.0/libopenal.so/' \ |
97 |
"${MY_S}"/code/client/snd_openal.c \ |
98 |
|| die "sed failed" |
99 |
cd "${MY_S}" |
100 |
epatch "${FILESDIR}"/${P}-bots-strcpy-fix.patch |
101 |
touch jpegint.h |
102 |
} |
103 |
|
104 |
src_compile() { |
105 |
local myopts |
106 |
|
107 |
# enable voip, disable mumble |
108 |
# also build always server and use smp by default |
109 |
myopts="USE_INTERNAL_SPEEX=0 USE_VOIP=1 USE_MUMBLE=0 |
110 |
BUILD_SERVER=1 BUILD_CLIENT_SMP=1 USE_LOCAL_HEADERS=0" |
111 |
use curl || myopts="${myopts} USE_CURL=0" |
112 |
use openal || myopts="${myopts} USE_OPENAL=0" |
113 |
use vorbis || myopts="${myopts} USE_CODEC_VORBIS=0" |
114 |
|
115 |
cd "${MY_S}" |
116 |
emake \ |
117 |
V=1 \ |
118 |
DEFAULT_BASEDIR="${DIR}" \ |
119 |
BR="${BUILD_DIR}" \ |
120 |
${myopts} \ |
121 |
|| die "emake failed" |
122 |
} |
123 |
|
124 |
src_install() { |
125 |
cd "${MY_S}"/"${BUILD_DIR}" |
126 |
newgamesbin openarena-smp.* "${PN}" || die "binary install failed" |
127 |
newgamesbin oa_ded.* "${PN}-ded" || die "dedicated binary not found" |
128 |
cd "${S}" |
129 |
|
130 |
insinto "${DIR}" |
131 |
doins -r baseoa missionpack || die "doins -r failed" |
132 |
|
133 |
dodoc CHANGES CREDITS LINUXNOTES README |
134 |
newicon "${MY_S}"/misc/quake3.png ${PN}.png |
135 |
make_desktop_entry ${PN} "OpenArena" |
136 |
|
137 |
prepgamesdirs |
138 |
} |