Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/quakeforge/files/, games-fps/quakeforge/
Date: Mon, 07 Jun 2021 08:21:30
Message-Id: 1623053860.c4fd12d731e9376cf79514b3d6715869cb9de7fc.ionen@gentoo
1 commit: c4fd12d731e9376cf79514b3d6715869cb9de7fc
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 7 07:18:53 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 7 08:17:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4fd12d7
7
8 games-fps/quakeforge: drop 0.7.2-r1
9
10 This hasn't built in a long time.
11
12 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
13
14 games-fps/quakeforge/Manifest | 1 -
15 .../quakeforge/files/quakeforge-0.7.2-gentoo.patch | 33 ------
16 games-fps/quakeforge/metadata.xml | 1 -
17 games-fps/quakeforge/quakeforge-0.7.2-r1.ebuild | 126 ---------------------
18 4 files changed, 161 deletions(-)
19
20 diff --git a/games-fps/quakeforge/Manifest b/games-fps/quakeforge/Manifest
21 index a4707ca31d2..63eb7a3b41d 100644
22 --- a/games-fps/quakeforge/Manifest
23 +++ b/games-fps/quakeforge/Manifest
24 @@ -1,2 +1 @@
25 -DIST quakeforge-0.7.2.tar.bz2 2887823 BLAKE2B 27526b0e5491cc9a052f70c387c46b0d5518c0d63264f799cac81e471a87b978c9edcf22f4a68db25b8c05b7b51371504459e8ba5de450719e92aae712940cc7 SHA512 d296e10b86466aee0a4be527a5fea7a44bae60ebef52ad86381744dc96e2bed2ad14d3b790b4514a5c59ac897662e91b80a9d49c822910930742a1d2b8a2ec55
26 DIST quakeforge-0.7.2_p20210601.tar.gz 3140318 BLAKE2B 4359c2e92a52bc314bca82dcf6f90aebe2fb7260e9c2e1444d3ca239c53adf1ca912093c5c0ccacb4cf9375e199c244f1b8787196c2f8f3bbc7eb00962b0d8da SHA512 a27e4317b3c01f129f1f32209c02b86abf7148c3e0b2e39306324d6b4758d9165883c169ebfde03fc7350b499088cd685991483911b5ae57ccb9b80baaefa733
27
28 diff --git a/games-fps/quakeforge/files/quakeforge-0.7.2-gentoo.patch b/games-fps/quakeforge/files/quakeforge-0.7.2-gentoo.patch
29 deleted file mode 100644
30 index 38fb0c18768..00000000000
31 --- a/games-fps/quakeforge/files/quakeforge-0.7.2-gentoo.patch
32 +++ /dev/null
33 @@ -1,33 +0,0 @@
34 ---- a/nq/source/Makefile.am 2012-11-18 16:57:56.658388682 +0100
35 -+++ b/nq/source/Makefile.am 2012-11-18 16:58:11.470268607 +0100
36 -@@ -138,7 +138,7 @@
37 - nq_x11_SOURCES= sys_unix.c
38 - nq_x11_LDADD= $(nq_x11_libs) \
39 - $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \
40 -- $(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS)
41 -+ $(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS) -ldl
42 - nq_x11_LDFLAGS= $(common_ldflags)
43 - nq_x11_DEPENDENCIES= $(nq_x11_libs)
44 -
45 ---- a/qw/source/Makefile.am 2012-11-18 17:10:59.148172332 +0100
46 -+++ b/qw/source/Makefile.am 2012-11-18 17:11:55.866876762 +0100
47 -@@ -168,7 +168,7 @@
48 - qw_client_x11_SOURCES= cl_sys_unix.c
49 - qw_client_x11_LDADD= $(qw_client_x11_libs) \
50 - $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \
51 -- $(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS) $(LIBCURL_LIBS)
52 -+ $(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS) $(LIBCURL_LIBS) -ldl
53 - qw_client_x11_LDFLAGS= $(common_ldflags)
54 - qw_client_x11_DEPENDENCIES= $(qw_client_x11_libs)
55 -
56 ---- a/tools/qwaq/Makefile.am 2012-11-18 17:15:16.024714317 +0100
57 -+++ b/tools/qwaq/Makefile.am 2012-11-18 17:15:41.955749660 +0100
58 -@@ -38,7 +38,7 @@
59 - qwaq_x11_SOURCES=qwaq.c qwaq-bi.c
60 - qwaq_x11_LDADD= $(qwaq_x11_libs) $(QWAQ_LIBS) \
61 - $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \
62 -- $(X_EXTRA_LIBS) $(X_SHM_LIB)
63 -+ $(X_EXTRA_LIBS) $(X_SHM_LIB) -ldl
64 - qwaq_x11_LDFLAGS=
65 - qwaq_x11_DEPENDENCIES= $(qwaq_x11_libs) $(QWAQ_DEPS)
66 -
67
68 diff --git a/games-fps/quakeforge/metadata.xml b/games-fps/quakeforge/metadata.xml
69 index 120ffed3507..a5c31dd9bfe 100644
70 --- a/games-fps/quakeforge/metadata.xml
71 +++ b/games-fps/quakeforge/metadata.xml
72 @@ -30,7 +30,6 @@ features, and improving the OpenGL renderer. And QuakeForge is still the
73 most portable source tree based on the id Software code.
74 </longdescription>
75 <use>
76 - <flag name="xdg">enable XDG support</flag>
77 <flag name="client">Build Normal and QuakeWorld clients alongside the servers</flag>
78 <flag name="wildmidi">Use <pkg>media-sound/wildmidi</pkg> for midi support</flag>
79 </use>
80
81 diff --git a/games-fps/quakeforge/quakeforge-0.7.2-r1.ebuild b/games-fps/quakeforge/quakeforge-0.7.2-r1.ebuild
82 deleted file mode 100644
83 index df5368e0a3a..00000000000
84 --- a/games-fps/quakeforge/quakeforge-0.7.2-r1.ebuild
85 +++ /dev/null
86 @@ -1,126 +0,0 @@
87 -# Copyright 1999-2021 Gentoo Authors
88 -# Distributed under the terms of the GNU General Public License v2
89 -
90 -EAPI=6
91 -inherit flag-o-matic autotools
92 -
93 -DESCRIPTION="New 3d engine based off of id Softwares's Quake and QuakeWorld game engine"
94 -HOMEPAGE="http://www.quakeforge.net/"
95 -SRC_URI="mirror://sourceforge/quake/${P}.tar.bz2"
96 -
97 -LICENSE="GPL-2"
98 -SLOT="0"
99 -KEYWORDS="~amd64 ~x86"
100 -IUSE="alsa cdinstall debug dga fbcon flac ipv6 ncurses oss png sdl vorbis wildmidi X xdg xv zlib"
101 -RESTRICT="userpriv"
102 -
103 -RDEPEND="
104 - media-libs/libsamplerate
105 - net-misc/curl
106 - virtual/opengl
107 - alsa? ( media-libs/alsa-lib )
108 - dga? ( x11-libs/libXxf86dga )
109 - flac? ( media-libs/flac )
110 - ncurses? ( sys-libs/ncurses:0 )
111 - png? ( media-libs/libpng:0 )
112 - sdl? ( media-libs/libsdl[video] )
113 - vorbis? (
114 - media-libs/libogg
115 - media-libs/libvorbis
116 - )
117 - wildmidi? ( media-sound/wildmidi )
118 - X? (
119 - x11-libs/libX11
120 - x11-libs/libXext
121 - x11-libs/libXxf86vm
122 - )
123 - xv? (
124 - x11-libs/libX11
125 - x11-libs/libXext
126 - x11-libs/libXxf86vm
127 - )
128 - zlib? ( sys-libs/zlib )"
129 -DEPEND="${RDEPEND}
130 - cdinstall? ( games-fps/quake1-data )
131 - >=sys-devel/bison-2.6
132 - sys-devel/flex
133 - virtual/pkgconfig"
134 -
135 -PATCHES=(
136 - "${FILESDIR}"/${P}-gentoo.patch
137 -)
138 -
139 -src_prepare() {
140 - default
141 - eautoreconf
142 - append-cflags -std=gnu89 # build with gcc5 (bug #570392)
143 -}
144 -
145 -src_configure() {
146 - local debugopts
147 - use debug \
148 - && debugopts="--enable-debug --disable-optimize --enable-profile" \
149 - || debugopts="--disable-debug --disable-profile"
150 -
151 - local clients=${QF_CLIENTS}
152 - use fbcon && clients="${clients},fbdev"
153 - use sdl && clients="${clients},sdl"
154 - use X && clients="${clients},x11"
155 - [ "${clients:0:1}" == "," ] && clients=${clients:1}
156 -
157 - local servers=${QF_SERVERS:-master,nq,qw,qtv}
158 -
159 - local tools=${QF_TOOLS:-all}
160 -
161 - econf \
162 - --enable-dependency-tracking \
163 - $(use_enable ncurses curses) \
164 - $(use_enable vorbis) \
165 - $(use_enable png) \
166 - $(use_enable zlib) \
167 - $(use_with ipv6) \
168 - $(use_with fbcon fbdev) \
169 - $(use_with X x) \
170 - $(use_enable xv vidmode) \
171 - $(use_enable dga) \
172 - $(use_enable sdl) \
173 - --disable-xmms \
174 - $(use_enable alsa) \
175 - $(use_enable flac) \
176 - $(use_enable oss) \
177 - $(use_enable xdg) \
178 - $(use_enable wildmidi) \
179 - --enable-sound \
180 - --disable-optimize \
181 - --disable-Werror \
182 - --without-svga \
183 - ${debugopts} \
184 - --with-global-cfg=/etc/quakeforge.conf \
185 - --with-sharepath=/usr/share/quake1 \
186 - --with-clients=${clients} \
187 - --with-servers=${servers} \
188 - --with-tools=${tools}
189 -}
190 -
191 -src_install() {
192 - emake -j1 DESTDIR="${D}" install
193 - dodoc ChangeLog NEWS TODO
194 -}
195 -
196 -pkg_postinst() {
197 - # same warning used in quake1 / quakeforge / nprquake-sdl
198 - echo
199 - elog "Before you can play, you must make sure"
200 - elog "${PN} can find your Quake .pak files"
201 - elog
202 - elog "You have 2 choices to do this"
203 - elog "1 Copy pak*.pak files to /usr/share/quake1/id1"
204 - elog "2 Symlink pak*.pak files in /usr/share/quake1/id1"
205 - elog
206 - elog "Example:"
207 - elog "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/"
208 - elog "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak /usr/share/quake1/id1/pak0.pak"
209 - elog
210 - elog "You only need pak0.pak to play the demo version,"
211 - elog "the others are needed for registered version"
212 -}