games-action/bzflag: drop 2.4.26, EAPI=7--

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2025-09-25 20:23:12 +03:00
parent 357e704e28
commit a41f92a508
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504
2 changed files with 0 additions and 74 deletions

View File

@ -1,2 +1 @@
DIST bzflag-2.4.26.tar.bz2 14107130 BLAKE2B f7fe50910f49f82c7316d19f7b5dba2de26cbe2b928c29158b725be6424d5a55423e2d390c8c0d96cc40ff90191c6d1ab0d378014381ef44f6fcd534c06fc9a9 SHA512 1ca039d840440098ea788009ad94fccec20710f621967843b5f95dc4ee054cb1d5d9b94326687008cf7a11020889225ffe9001aac1c7c4339f6761961f422a78
DIST bzflag-2.4.30.tar.bz2 14131760 BLAKE2B 87fa0ee00247f96d1cc383f5495b1ad6a4d0b1403fbb0894942413017410dc7d0397aaca59fd665422dd344fd27506a3e426be7503637b4a02c45fcb113e749c SHA512 66361b4b1419876d3350fa773aa86822f5adfc4fac282a1061dfbcc3ee5e95505ce80a54379250ca24f41550a15d2eb77487e5fa8cd6a78b3efc0d79167e2d5c

View File

@ -1,73 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools desktop
DESCRIPTION="3D tank combat simulator game"
HOMEPAGE="https://www.bzflag.org/"
SRC_URI="https://download.bzflag.org/bzflag/source/${PV}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="dedicated upnp"
RDEPEND="
net-dns/c-ares
>=net-misc/curl-7.15.0
sys-libs/ncurses:0
sys-libs/zlib
!dedicated? (
media-libs/libsdl2[joystick,sound,video]
media-libs/glew:=
virtual/glu
virtual/opengl )
upnp? ( net-libs/miniupnpc )
"
DEPEND="
${RDEPEND}
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-2.4.12-configure.patch
"${FILESDIR}"/${PN}-2.4.12-tinfo.patch
"${FILESDIR}"/${PN}-2.4.12-sdl2-cppflags.patch
)
DOCS=( AUTHORS ChangeLog DEVINFO PORTING README README.Linux )
src_prepare() {
default
eautoreconf
}
src_configure() {
local myconf=(
$(use_enable upnp UPnP)
--libdir="${EPREFIX}"/usr/$(get_libdir)/${PN}
)
if use dedicated ; then
ewarn
ewarn "You are building a server-only copy of BZFlag"
ewarn
myconf+=( --disable-client --without-SDL )
else
myconf=( --with-SDL=2 )
fi
econf "${myconf[@]}"
}
src_install() {
default
if ! use dedicated ; then
newicon data/bzflag-48x48.png ${PN}.png
make_desktop_entry ${PN} "BZFlag"
fi
find "${ED}" -name '*.la' -delete || die
}