summaryrefslogtreecommitdiff
path: root/games-action/bzflag
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /games-action/bzflag
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'games-action/bzflag')
-rw-r--r--games-action/bzflag/Manifest2
-rw-r--r--games-action/bzflag/bzflag-2.4.24.ebuild73
2 files changed, 75 insertions, 0 deletions
diff --git a/games-action/bzflag/Manifest b/games-action/bzflag/Manifest
index f34e78f32610..e9cdb948693b 100644
--- a/games-action/bzflag/Manifest
+++ b/games-action/bzflag/Manifest
@@ -2,5 +2,7 @@ AUX bzflag-2.4.12-configure.patch 1113 BLAKE2B 922feac9bb501d21a0b5decbc3ae8aff9
AUX bzflag-2.4.12-sdl2-cppflags.patch 437 BLAKE2B e7abcaf318a67f9252e32be1215b1e80edfbe0926bdf5533849f39b5366a3acaf19bec88428bb700a7be2fe2a63053006c69d1284e4050adbf71e0f34d853394 SHA512 eb59f965b716869168cc5dc40f8b4e55d27abe997e83f2434de5e54802b6b29410e43b3fb00e5ede7da56e631bb4e0daaabd3072b4577e14127e54aa2fab9428
AUX bzflag-2.4.12-tinfo.patch 683 BLAKE2B 720a6b5aa97a474c2e37bb2927cd9680a55249e732f6f07cc894e114c745b15886325a2d56a7731d397580a1dedba6be1acb71086e146bb8af2f983c908b3bb0 SHA512 f670e7362fc81055d3996a16c213746fa55338aed0756c36565c856eae4e7f9ed8bed3b2b2955b659f83bf03d4b4249b53a7ea02e614409fe38dbcd215c805da
DIST bzflag-2.4.22.tar.bz2 14169079 BLAKE2B e3020d161326215b721e142198295314fce60212322d787389ee47519a8f20a64065ec2744799b8dc282fb343af1b2c5ae54bdab93827a5716ad5ac2363f8978 SHA512 c78ad0e9e861d0c922ef73dd1e040d998836efaab3a48d5a3cd8392835ce37392b1b9438aed7483ea48c6bce672bb937aeba40553553dce0c0fd3cce38bf10cf
+DIST bzflag-2.4.24.tar.bz2 14094506 BLAKE2B 4b14f00ce071d69b75091d0492ce26862e1f01356c61048ba46381f60f091b5dbf144d979e1f07bc87f4bd1159df3fc48c739fa370c92b7cf630308c8478ce24 SHA512 2e6c620e39e65058397515f309b58b0338ee972a63b241546f9947889a43b6274ce313fe5551517d1a099963d0ce877c67e29dfb70d424626926e77b9562c3f7
EBUILD bzflag-2.4.22.ebuild 1381 BLAKE2B 7b3a9de69b7d270e672a409a7fb318111ad20fc6c6e3dfa09e943c251f9dadf3b743570301a22cb58e4f8917096c9c77d903a203dd0fb8e22cd51677a0fabba9 SHA512 d0ea410d2413ebc3ba709b9c9a76e1316b60a0b86f0a9c0e483e5ab19f290512e6ca9b4c3842d6ca6fd247a8767496b3b393991224964eeec281c2d92eed7db2
+EBUILD bzflag-2.4.24.ebuild 1381 BLAKE2B c5246ded3fa9a980540ea07677c408d961a6cc7d64bafcff330a5b98ab46e3a6f1cb7bfa3de40fe1f49693079f63e8cad4899c0c9359d7b2e412060142cd7299 SHA512 2ec5c96689016700e0adf3a8b61c2c5ce5c50afa3a16cbe702ca6e949c8afdc0f99184abb167b83ca7dd6274d856017ed5382f14ff3133ed6a687eb5bf57bbd0
MISC metadata.xml 330 BLAKE2B 790c851882ad78f7df7572b461eaea63a0f047fc113e71162bb84bbbae84cbf2d0766afc5c56ca55d258077a89639fd37d2e5ac6133d6377095ac6e6a7743d4c SHA512 724aacf97ccfc2e43445cf9ee366c15653fc10e7f0dab4f48bd942fe6bc4e6e3710c6fe9afcc2bf9c88c50b2adbf04d610a727d612f631c4b1ed9acd7b796851
diff --git a/games-action/bzflag/bzflag-2.4.24.ebuild b/games-action/bzflag/bzflag-2.4.24.ebuild
new file mode 100644
index 000000000000..704daa557b95
--- /dev/null
+++ b/games-action/bzflag/bzflag-2.4.24.ebuild
@@ -0,0 +1,73 @@
+# 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
+}