Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 306617 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-18 / +6 lines)
Line  Link Here
0
-- games-fps/openarena/openarena-0.8.5.ebuild
0
++ games-fps/openarena/openarena-0.8.8.ebuild
Lines 5-23 Link Here
5
EAPI=2
5
EAPI=2
6
inherit eutils flag-o-matic versionator games
6
inherit eutils flag-o-matic versionator games
7
7
8
MY_PV=$(delete_all_version_separators)
9
BASE_PV="0.8.1"
10
OLD_PV=$(delete_all_version_separators $BASE_PV)
11
12
DESCRIPTION="Open-source replacement for Quake 3 Arena"
8
DESCRIPTION="Open-source replacement for Quake 3 Arena"
13
HOMEPAGE="http://openarena.ws/"
9
HOMEPAGE="http://openarena.ws/"
14
SRC_URI="http://download.tuxfamily.org/openarena/rel/${OLD_PV}/oa${OLD_PV}.zip
10
SRC_URI="mirror://sourceforge/oarena/${P}.zip
15
	http://download.tuxfamily.org/openarena/rel/${MY_PV}/oa${MY_PV}p.zip
11
	mirror://sourceforge/oarena/src/${PN}-engine-source-${PV}.tar.bz2"
16
	http://openarena.ws/svn/source/${OLD_PV}/${PN}-engine-${BASE_PV}-1.tar.bz2"
17
12
18
LICENSE="GPL-2"
13
LICENSE="GPL-2"
19
SLOT="0"
14
SLOT="0"
20
KEYWORDS="amd64 x86"
15
KEYWORDS="~amd64 ~x86"
21
IUSE="+curl +openal +vorbis"
16
IUSE="+curl +openal +vorbis"
22
17
23
RDEPEND="virtual/opengl
18
RDEPEND="virtual/opengl
Lines 34-41 Link Here
34
DEPEND="${RDEPEND}
29
DEPEND="${RDEPEND}
35
	app-arch/unzip"
30
	app-arch/unzip"
36
31
37
MY_S=${WORKDIR}/${PN}-engine-${BASE_PV}
32
MY_S=${WORKDIR}/${PN}-engine-source-${PV}
38
S=${WORKDIR}/${PN}-${BASE_PV}
39
BUILD_DIR=${PN}-build
33
BUILD_DIR=${PN}-build
40
DIR=${GAMES_DATADIR}/${PN}
34
DIR=${GAMES_DATADIR}/${PN}
41
35
Lines 43-57 Link Here
43
	cd "${WORKDIR}"
37
	cd "${WORKDIR}"
44
	epatch "${FILESDIR}"/${P}-makefile.patch \
38
	epatch "${FILESDIR}"/${P}-makefile.patch \
45
		"${FILESDIR}"/${P}-unbundling.patch
39
		"${FILESDIR}"/${P}-unbundling.patch
46
	sed -i \
47
		-e '/ALDRIVER_DEFAULT/s/libopenal.so.0/libopenal.so/' \
48
		"${MY_S}"/code/client/snd_openal.c \
49
		|| die "sed failed"
50
	cd "${MY_S}"
40
	cd "${MY_S}"
51
	epatch "${FILESDIR}"/${P}-bots-strcpy-fix.patch
52
	touch jpegint.h
41
	touch jpegint.h
53
54
	sed -i -e '1i#define OF(x) x' $(find -name unzip.c) || die
55
}
42
}
56
43
57
src_compile() {
44
src_compile() {
Lines 71-76 Link Here
71
		DEFAULT_BASEDIR="${DIR}" \
58
		DEFAULT_BASEDIR="${DIR}" \
72
		BR="${BUILD_DIR}" \
59
		BR="${BUILD_DIR}" \
73
		${myopts} \
60
		${myopts} \
61
		OPTIMIZE= \
74
		|| die "emake failed"
62
		|| die "emake failed"
75
}
63
}
76
64

Return to bug 306617