Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-fps/ezquake-bin: ezquake-bin-2.2.ebuild ChangeLog ezquake-bin-1.9.ebuild
Date: Tue, 01 Jul 2014 15:56:43
Message-Id: 20140701155639.08FB92004E@flycatcher.gentoo.org
1 mr_bones_ 14/07/01 15:56:38
2
3 Modified: ChangeLog
4 Added: ezquake-bin-2.2.ebuild
5 Removed: ezquake-bin-1.9.ebuild
6 Log:
7 version bump; clean old
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
10
11 Revision Changes Path
12 1.14 games-fps/ezquake-bin/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/ezquake-bin/ChangeLog?rev=1.14&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/ezquake-bin/ChangeLog?rev=1.14&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/ezquake-bin/ChangeLog?r1=1.13&r2=1.14
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/games-fps/ezquake-bin/ChangeLog,v
21 retrieving revision 1.13
22 retrieving revision 1.14
23 diff -u -r1.13 -r1.14
24 --- ChangeLog 5 Feb 2013 08:58:54 -0000 1.13
25 +++ ChangeLog 1 Jul 2014 15:56:38 -0000 1.14
26 @@ -1,6 +1,12 @@
27 # ChangeLog for games-fps/ezquake-bin
28 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/games-fps/ezquake-bin/ChangeLog,v 1.13 2013/02/05 08:58:54 tupone Exp $
30 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/games-fps/ezquake-bin/ChangeLog,v 1.14 2014/07/01 15:56:38 mr_bones_ Exp $
32 +
33 +*ezquake-bin-2.2 (01 Jul 2014)
34 +
35 + 01 Jul 2014; Michael Sterrett <mr_bones_@g.o> +ezquake-bin-2.2.ebuild,
36 + -ezquake-bin-1.9.ebuild:
37 + version bump; clean old
38
39 05 Feb 2013; Tupone Alfredo <tupone@g.o> ezquake-bin-1.9.3.ebuild:
40 Use QA_PREBUILT. Bug #454986 by Diego
41 @@ -58,4 +64,3 @@
42 +ezquake-bin-1517.ebuild:
43 Initial import. Ebuild by Patryk Rzadzinski <rzadzins@×××××××.pl> and
44 modified by me. Closing bug #130823.
45 -
46
47
48
49 1.1 games-fps/ezquake-bin/ezquake-bin-2.2.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/ezquake-bin/ezquake-bin-2.2.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/ezquake-bin/ezquake-bin-2.2.ebuild?rev=1.1&content-type=text/plain
53
54 Index: ezquake-bin-2.2.ebuild
55 ===================================================================
56 # Copyright 1999-2014 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/games-fps/ezquake-bin/ezquake-bin-2.2.ebuild,v 1.1 2014/07/01 15:56:38 mr_bones_ Exp $
59
60 EAPI=5
61 inherit games
62
63 MY_FULL_PV=1.9.3
64 MY_PN="${PN/-bin/}"
65 DESCRIPTION="Quakeworld client with mqwcl functionality and many more features."
66 HOMEPAGE="http://ezquake.sf.net/"
67 SRC_URI="
68 amd64? ( mirror://sourceforge/${MY_PN}/${MY_PN}_linux-x86_64.${MY_FULL_PV}.tar.gz
69 mirror://sourceforge/${MY_PN}/${MY_PN}_linux64_${PV}.tar.gz )
70 x86? ( mirror://sourceforge/${MY_PN}/${MY_PN}_linux-x86_${MY_FULL_PV}.tar.gz
71 mirror://sourceforge/${MY_PN}/${MY_PN}_linux32_${PV}.tar.gz )"
72
73 LICENSE="GPL-2"
74 SLOT="0"
75 KEYWORDS="~amd64 ~x86"
76 RESTRICT="strip mirror"
77 IUSE="cdinstall"
78
79 DEPEND="cdinstall? ( games-fps/quake1-data )"
80 RDEPEND="${DEPEND}
81 virtual/opengl
82 x11-libs/libXxf86dga
83 x11-libs/libXxf86vm"
84
85 S=${WORKDIR}/${MY_PN}
86
87 dir=${GAMES_PREFIX_OPT}/${PN}
88
89 QA_PREBUILT="${dir:1}/ezquake*"
90
91 src_unpack() {
92 unpack ${A}
93 if use amd64; then
94 mv ${MY_PN}_linux-x86_64.${MY_FULL_PV} "${MY_PN}"
95 mv ezquake-gl_linux-x64.glx "${MY_PN}"/ezquake-gl.glx
96 else
97 mv ${MY_PN}_linux-x86.${MY_FULL_PV} "${MY_PN}"
98 mv ezquake-gl_linux-x86.glx "${MY_PN}"/ezquake-gl.glx
99 fi
100 }
101
102 src_install() {
103 exeinto "${dir}"
104 insinto "${dir}"
105
106 doexe ezquake-gl.glx
107 doins -r ezquake qw
108 dosym "${GAMES_DATADIR}"/quake1/id1 "${dir}"/id1
109 games_make_wrapper ezquake-gl.glx ./ezquake-gl.glx "${dir}" "${dir}"
110
111 prepgamesdirs
112 }
113
114 pkg_postinst() {
115 games_pkg_postinst
116
117 if ! use cdinstall; then
118 elog "NOTE that this client doesn't include .pak files. You *should*"
119 elog "enable \"cdinstall\" flag or install quake1-demodata with the symlink use flag."
120 elog "You can also copy the files from your Quake1 CD to"
121 elog " ${dir}/quake1/id1 (all names lowercase)"
122 elog ""
123 elog "You may also want to check:"
124 elog " http://fuhquake.quakeworld.nu - complete howto on commands and variables"
125 elog " http://equake.quakeworld.nu - free package containing various files"
126 fi
127 }