1 |
commit: 3439118ee68f40cfbe2cb415ff7222d00ce5ff8f |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 22 23:56:59 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 23 02:22:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3439118e |
7 |
|
8 |
games-action/bzflag: drop 2.4.20 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
games-action/bzflag/Manifest | 1 - |
13 |
games-action/bzflag/bzflag-2.4.20.ebuild | 73 -------------------------------- |
14 |
2 files changed, 74 deletions(-) |
15 |
|
16 |
diff --git a/games-action/bzflag/Manifest b/games-action/bzflag/Manifest |
17 |
index 878f716476d..376b5c67689 100644 |
18 |
--- a/games-action/bzflag/Manifest |
19 |
+++ b/games-action/bzflag/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST bzflag-2.4.20.tar.bz2 14032356 BLAKE2B 278b0f0d970f103a7b00953e60bda6962706dea27a8695bae8e902bdbb1364158ace03dafc778871e89444fe44f16e7d2fceec36b67982ad7f18fc916484260d SHA512 6140123d37065bead3021ef9c36db1210ad2c71a4a7deb6894bb3f856a571197a7eac37d16b8e3b587549dc201c4ac8d7bbe03d1a05d067dc452861924005169 |
22 |
DIST bzflag-2.4.22.tar.bz2 14169079 BLAKE2B e3020d161326215b721e142198295314fce60212322d787389ee47519a8f20a64065ec2744799b8dc282fb343af1b2c5ae54bdab93827a5716ad5ac2363f8978 SHA512 c78ad0e9e861d0c922ef73dd1e040d998836efaab3a48d5a3cd8392835ce37392b1b9438aed7483ea48c6bce672bb937aeba40553553dce0c0fd3cce38bf10cf |
23 |
|
24 |
diff --git a/games-action/bzflag/bzflag-2.4.20.ebuild b/games-action/bzflag/bzflag-2.4.20.ebuild |
25 |
deleted file mode 100644 |
26 |
index 0639921ed52..00000000000 |
27 |
--- a/games-action/bzflag/bzflag-2.4.20.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,73 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-inherit autotools desktop |
36 |
- |
37 |
-DESCRIPTION="3D tank combat simulator game" |
38 |
-HOMEPAGE="https://www.bzflag.org/" |
39 |
-SRC_URI="https://download.bzflag.org/bzflag/source/${PV}/${P}.tar.bz2" |
40 |
- |
41 |
-LICENSE="LGPL-2.1" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="~amd64 ~x86" |
44 |
-IUSE="dedicated upnp" |
45 |
- |
46 |
-RDEPEND=" |
47 |
- net-dns/c-ares |
48 |
- >=net-misc/curl-7.15.0 |
49 |
- sys-libs/ncurses:0 |
50 |
- sys-libs/zlib |
51 |
- !dedicated? ( |
52 |
- media-libs/libsdl2[joystick,sound,video] |
53 |
- media-libs/glew:= |
54 |
- virtual/glu |
55 |
- virtual/opengl ) |
56 |
- upnp? ( net-libs/miniupnpc ) |
57 |
-" |
58 |
-DEPEND=" |
59 |
- ${RDEPEND} |
60 |
- virtual/pkgconfig |
61 |
-" |
62 |
-PATCHES=( |
63 |
- "${FILESDIR}"/${PN}-2.4.12-configure.patch |
64 |
- "${FILESDIR}"/${PN}-2.4.12-tinfo.patch |
65 |
- "${FILESDIR}"/${PN}-2.4.12-sdl2-cppflags.patch |
66 |
-) |
67 |
- |
68 |
-DOCS=( AUTHORS ChangeLog DEVINFO PORTING README README.Linux ) |
69 |
- |
70 |
-src_prepare() { |
71 |
- default |
72 |
- eautoreconf |
73 |
-} |
74 |
- |
75 |
-src_configure() { |
76 |
- local myconf=( |
77 |
- $(use_enable upnp UPnP) |
78 |
- --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} |
79 |
- ) |
80 |
- |
81 |
- if use dedicated ; then |
82 |
- ewarn |
83 |
- ewarn "You are building a server-only copy of BZFlag" |
84 |
- ewarn |
85 |
- myconf+=( --disable-client --without-SDL ) |
86 |
- else |
87 |
- myconf=( --with-SDL=2 ) |
88 |
- fi |
89 |
- |
90 |
- econf "${myconf[@]}" |
91 |
-} |
92 |
- |
93 |
-src_install() { |
94 |
- default |
95 |
- |
96 |
- if ! use dedicated ; then |
97 |
- newicon data/bzflag-48x48.png ${PN}.png |
98 |
- make_desktop_entry ${PN} "BZFlag" |
99 |
- fi |
100 |
- |
101 |
- find "${ED}" -name '*.la' -delete || die |
102 |
-} |