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