Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/xonotic/
Date: Fri, 18 Dec 2015 00:47:44
Message-Id: 1450399166.430ae049c98b52999c2263c249a29caab3af193c.mr_bones_@gentoo
1 commit: 430ae049c98b52999c2263c249a29caab3af193c
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 17 20:09:26 2015 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 18 00:39:26 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=430ae049
7
8 clean old
9
10 Package-Manager: portage-2.2.24
11
12 games-fps/xonotic/Manifest | 1 -
13 games-fps/xonotic/xonotic-0.8.0.ebuild | 116 ---------------------------------
14 2 files changed, 117 deletions(-)
15
16 diff --git a/games-fps/xonotic/Manifest b/games-fps/xonotic/Manifest
17 index 5dcf3af..79b609a 100644
18 --- a/games-fps/xonotic/Manifest
19 +++ b/games-fps/xonotic/Manifest
20 @@ -1,2 +1 @@
21 -DIST xonotic-0.8.0.zip 999151784 SHA256 0a87c808827a8b234f2324b468ecb643aa48a6fd43322a29e616610dca316370 SHA512 49ae728f9269ff642540ec8a7ab52fb9624f3d05cab2b07c5a1aa87d4103d3acffad4e2a1f266d3976cd457e742a3a7a1fd4a774cbcde934b123ae3baa747332 WHIRLPOOL 85e747bb2fb5ad5394896a08055028439a2f1a154305d7101be8cb5a44a1e50bdb9b36fac526ff12c9db93915a8b5253a40cf7dc654271f20240e1f92e0b4cb5
22 DIST xonotic-0.8.1.zip 984854761 SHA256 be8bcc41e2993a2f26d4d04c65a7eab810443bd98b11b45e482ffdbbf284c46f SHA512 adfce546257bdc7cfebe94f53eaa9cc9b19eaa546c6405e31ed6af080e3948732c960a024126202e5853cb98b955daadeeb5a96c602a6d4d83e284d3540214a4 WHIRLPOOL 4359263c98352a8b5d169147d9bfecb4258628f212d9a965f0d1577d0a8b2469648ae1ce21d8dc0ff622d20e126ea52e1464363f69fcf514991aefad71c1bee7
23
24 diff --git a/games-fps/xonotic/xonotic-0.8.0.ebuild b/games-fps/xonotic/xonotic-0.8.0.ebuild
25 deleted file mode 100644
26 index 4fa4fed..0000000
27 --- a/games-fps/xonotic/xonotic-0.8.0.ebuild
28 +++ /dev/null
29 @@ -1,116 +0,0 @@
30 -# Copyright 1999-2015 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -# $Id$
33 -
34 -EAPI=5
35 -inherit eutils check-reqs games
36 -
37 -# Switch to ^ when we switch to EAPI=6.
38 -MY_PN="X${PN:1}"
39 -DESCRIPTION="Fork of Nexuiz, Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine"
40 -HOMEPAGE="http://www.xonotic.org/"
41 -SRC_URI="http://dl.xonotic.org/${P}.zip"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="amd64 x86"
46 -IUSE="alsa debug dedicated doc ode sdl"
47 -
48 -UIRDEPEND="
49 - media-libs/libogg
50 - media-libs/libtheora
51 - media-libs/libvorbis
52 - media-libs/libmodplug
53 - x11-libs/libX11
54 - x11-libs/libXau
55 - x11-libs/libXpm
56 - x11-libs/libXext
57 - x11-libs/libXdmcp
58 - x11-libs/libXxf86dga
59 - x11-libs/libXxf86vm
60 - virtual/opengl
61 - media-libs/freetype:2
62 - alsa? ( media-libs/alsa-lib )
63 - ode? ( dev-games/ode[double-precision] )
64 - sdl? ( media-libs/libsdl[X,sound,joystick,opengl,video,alsa?] )"
65 -UIDEPEND="
66 - x11-proto/xextproto
67 - x11-proto/xf86dgaproto
68 - x11-proto/xf86vidmodeproto
69 - x11-proto/xproto"
70 -RDEPEND="
71 - sys-libs/zlib
72 - virtual/jpeg
73 - media-libs/libpng
74 - net-misc/curl
75 - ~dev-libs/d0_blind_id-0.5
76 - !dedicated? ( ${UIRDEPEND} )"
77 -DEPEND="${RDEPEND}
78 - !dedicated? ( ${UIDEPEND} )"
79 -
80 -CHECKREQS_DISK_BUILD="1200M"
81 -CHECKREQS_DISK_USR="950M"
82 -
83 -S=${WORKDIR}/${MY_PN}
84 -
85 -pkg_pretend() {
86 - check-reqs_pkg_pretend
87 -}
88 -
89 -pkg_setup() {
90 - check-reqs_pkg_setup
91 - games_pkg_setup
92 -}
93 -
94 -src_prepare() {
95 - sed -i \
96 - -e "/^EXE_/s:darkplaces:${PN}:" \
97 - -e "s:-O3:${CFLAGS}:" \
98 - -e "/-lm/s:$: ${LDFLAGS}:" \
99 - -e '/^STRIP/s/strip/true/' \
100 - source/darkplaces/makefile.inc || die
101 -
102 - if ! use alsa; then
103 - sed -i \
104 - -e "/DEFAULT_SNDAPI/s:ALSA:OSS:" \
105 - source/darkplaces/makefile || die
106 - fi
107 -}
108 -
109 -src_compile() {
110 - local t="$(use debug && echo debug || echo release)"
111 - local i
112 -
113 - # use a for-loop wrt bug 473352
114 - for i in sv-${t} $(use !dedicated && echo "cl-${t} $(use sdl && echo sdl-${t})") ; do
115 - emake \
116 - -C source/darkplaces \
117 - DP_LINK_TO_LIBJPEG=1 \
118 - DP_FS_BASEDIR="${GAMES_DATADIR}/${PN}" \
119 - ${i}
120 - done
121 -}
122 -
123 -src_install() {
124 - if ! use dedicated; then
125 - dogamesbin source/darkplaces/${PN}-glx
126 - newicon misc/logos/${PN}_icon.svg ${PN}.svg
127 - make_desktop_entry ${PN}-glx "${MY_PN} (GLX)"
128 -
129 - if use sdl; then
130 - dogamesbin source/darkplaces/${PN}-sdl
131 - make_desktop_entry ${PN}-sdl "${MY_PN} (SDL)"
132 - fi
133 - fi
134 - dogamesbin source/darkplaces/${PN}-dedicated
135 -
136 - dodoc Docs/*.txt
137 - use doc && dohtml -r Docs
138 -
139 - insinto "${GAMES_DATADIR}/${PN}"
140 - doins -r key_0.d0pk server data
141 - prepgamesdirs
142 -
143 - elog "If you are using opensource drivers you should consider installing: "
144 - elog " media-libs/libtxc_dxtn"
145 -}