Gentoo Archives: gentoo-commits

From: "Ian Stakenvicius (axs)" <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-fps/doom3: doom3-1.3.1304-r1.ebuild ChangeLog
Date: Thu, 03 Jul 2014 21:32:13
Message-Id: 20140703213208.AE0822004E@flycatcher.gentoo.org
1 axs 14/07/03 21:32:08
2
3 Modified: ChangeLog
4 Added: doom3-1.3.1304-r1.ebuild
5 Log:
6 bumped EAPI to 5, adjusted deps for gx86-mulitlib, dropped bundled glibc libs, dropped hardware-accellerated x11-driver deps for amd64. Could not confirm everything is as it should be because I don't have access to the missing PAK files.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
9
10 Revision Changes Path
11 1.40 games-fps/doom3/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doom3/ChangeLog?rev=1.40&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doom3/ChangeLog?rev=1.40&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doom3/ChangeLog?r1=1.39&r2=1.40
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-fps/doom3/ChangeLog,v
20 retrieving revision 1.39
21 retrieving revision 1.40
22 diff -u -r1.39 -r1.40
23 --- ChangeLog 5 Feb 2012 06:02:13 -0000 1.39
24 +++ ChangeLog 3 Jul 2014 21:32:08 -0000 1.40
25 @@ -1,6 +1,15 @@
26 # ChangeLog for games-fps/doom3
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/ChangeLog,v 1.39 2012/02/05 06:02:13 vapier Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/ChangeLog,v 1.40 2014/07/03 21:32:08 axs Exp $
31 +
32 +*doom3-1.3.1304-r1 (03 Jul 2014)
33 +
34 + 03 Jul 2014; Ian Stakenvicius (_AxS_) <axs@g.o>
35 + +doom3-1.3.1304-r1.ebuild:
36 + bumped EAPI to 5, adjusted deps for gx86-mulitlib, dropped bundled glibc libs,
37 + dropped hardware-accellerated x11-driver deps for amd64. Could not confirm
38 + everything is as it should be because I don't have access to the missing PAK
39 + files.
40
41 05 Feb 2012; Mike Frysinger <vapier@g.o> doom3-1.3.1304.ebuild:
42 Move to new unpacker eclass for unpack_makeself.
43
44
45
46 1.1 games-fps/doom3/doom3-1.3.1304-r1.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doom3/doom3-1.3.1304-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doom3/doom3-1.3.1304-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: doom3-1.3.1304-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/doom3-1.3.1304-r1.ebuild,v 1.1 2014/07/03 21:32:08 axs Exp $
56
57 EAPI=5
58 inherit eutils unpacker games
59
60 MY_PV="1.3.1.1304"
61
62 DESCRIPTION="3rd installment of the classic iD 3D first-person shooter"
63 HOMEPAGE="http://www.doom3.com/"
64 SRC_URI="mirror://idsoftware/doom3/linux/doom3-linux-${MY_PV}.x86.run
65 http://zerowing.idsoftware.com/linux/${PN}.png"
66
67 LICENSE="DOOM3"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="alsa cdinstall dedicated opengl roe"
71 RESTRICT="strip"
72
73 DEPEND="app-arch/bzip2
74 app-arch/tar"
75 RDEPEND="sys-libs/glibc
76 amd64? ( sys-libs/glibc[multilib] )
77 || (
78 (
79 >=x11-libs/libX11-1.6.2[abi_x86_32(-)]
80 >=x11-libs/libXext-1.3.2[abi_x86_32(-)]
81 )
82 app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
83 )
84 opengl? ( || (
85 >=virtual/opengl-7.0-r1[abi_x86_32(-)]
86 app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
87 ) )
88 alsa? ( || (
89 >=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)]
90 app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
91 ) )
92 cdinstall? (
93 >=games-fps/doom3-data-1.1.1282-r1
94 roe? ( games-fps/doom3-roe ) )"
95
96 S=${WORKDIR}
97 dir=${GAMES_PREFIX_OPT}/${PN}
98
99 QA_TEXTRELS="${dir:1}/pb/pbcl.so
100 ${dir:1}/pb/pbcls.so
101 ${dir:1}/pb/pbag.so
102 ${dir:1}/pb/pbsv.so
103 ${dir:1}/pb/pbags.so"
104
105 QA_EXECSTACK="${dir:1}/doom.x86
106 ${dir:1}/doomded.x86"
107
108 src_unpack() {
109 unpack_makeself ${PN}-linux-${MY_PV}.x86.run
110 }
111
112 src_install() {
113 insinto "${dir}"
114 doins License.txt CHANGES README version.info ${PN}.png || die
115
116 exeinto "${dir}"
117 # skip these, they are on the system -- doexe *.so.? || die "doexe libs"
118 doexe openurl.sh || die "openurl.sh"
119
120 if use amd64 ; then
121 doexe bin/Linux/amd64/doom{,ded}.x86 || die "doexe amd64"
122 else
123 doexe bin/Linux/x86/doom{,ded}.x86 || die "doexe x86"
124 fi
125
126 doins -r base d3xp pb || die "doins base d3xp pb"
127
128 games_make_wrapper ${PN} ./doom.x86 "${dir}" "${dir}"
129 if use dedicated ; then
130 games_make_wrapper ${PN}-ded ./doomded.x86 "${dir}" "${dir}"
131 fi
132
133 doicon "${DISTDIR}"/${PN}.png || die "doicon"
134 make_desktop_entry ${PN} "Doom III"
135
136 prepgamesdirs
137 }
138
139 pkg_postinst() {
140 games_pkg_postinst
141
142 if ! use cdinstall; then
143 elog "You need to copy pak000.pk4, pak001.pk4, pak002.pk4, pak003.pk4, and"
144 elog "pak004.pk4 from either your installation media or your hard drive to"
145 elog "${dir}/base before running the game,"
146 elog "or 'emerge games-fps/doom3-data' to install from CD."
147 echo
148 if use roe ; then
149 elog "To use the Resurrection of Evil expansion pack, you also need to copy"
150 elog "pak000.pk4 to ${dir}/d3xp from the RoE CD before running the game,"
151 elog "or 'emerge doom3-roe' to install from CD."
152 fi
153 fi
154
155 echo
156 elog "To play the game, run:"
157 elog " doom3"
158 echo
159 }