diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-04 11:22:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-04 11:22:40 +0100 |
commit | fe1c8b732bd548b699d4c2ef725f67f8b8c8911c (patch) | |
tree | 84c0b6ca01b7cb63c7d6e685a63823200ce1007f /games-action/bzflag | |
parent | 7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (diff) |
gentoo resync : 04.05.2018
Diffstat (limited to 'games-action/bzflag')
-rw-r--r-- | games-action/bzflag/Manifest | 2 | ||||
-rw-r--r-- | games-action/bzflag/bzflag-2.4.14.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/games-action/bzflag/Manifest b/games-action/bzflag/Manifest index 153af898095a..6f155d14394f 100644 --- a/games-action/bzflag/Manifest +++ b/games-action/bzflag/Manifest @@ -1,5 +1,7 @@ AUX bzflag-2.4.12-configure.patch 1278 BLAKE2B 1db48df25ce19df2d3fb81fc60ffc7b51ef6621e8e85237f620447e64ed4139453b3b720d0d28f78ec6cd616f3b40c3f4732cb98e8b464f20ab3e7e5814b2e73 SHA512 177d73ee047984e18dff2f2f15e8e679485a166a51303f61e1a7411e6c330c04d813a824e3d727aa95b251cd9a27a00dc41c229af56f927a9a4adabc96e4813e AUX bzflag-2.4.12-tinfo.patch 683 BLAKE2B 720a6b5aa97a474c2e37bb2927cd9680a55249e732f6f07cc894e114c745b15886325a2d56a7731d397580a1dedba6be1acb71086e146bb8af2f983c908b3bb0 SHA512 f670e7362fc81055d3996a16c213746fa55338aed0756c36565c856eae4e7f9ed8bed3b2b2955b659f83bf03d4b4249b53a7ea02e614409fe38dbcd215c805da DIST bzflag-2.4.12.tar.bz2 14042357 BLAKE2B eb18072f459549b18bf99fbe0b635aea24568ad39494082f443e8eb7a604db0341aa18f1d458a950b5344f34278599215b351bcad35bd88f33f01449b89489b8 SHA512 9b5fa6b7ab7eb13043242defcc86cbed083e98306b2f611932b48d6d833a37bbe2ab05a0a3d1a2c9b861bfbd834fc6e86783ba82d8a841527d0eedb06f3bde9f +DIST bzflag-2.4.14.tar.bz2 14066129 BLAKE2B 7ec44bc9b7ccb644b98dac0b99770471b488b9e34b12a34e4fa76cdc22a4e7b14324915b83db76a69bb4b8ebd928018e69145aa6b87e48a379d37c23ce84c575 SHA512 c092a869813bd300e5eff5bf17ea46708b566a9e4f56cb6c4ccd92346ab1e87c8837efb8295d3b4485cd8d4de5b0d92b079c70390d06a481cfee693d393aca21 EBUILD bzflag-2.4.12.ebuild 1188 BLAKE2B d8fe7e188582f9f65da7bc72632e514e2b37b2c088ad751c4d417ff588c32a49fabe1587da1d36f60e1eff5d7888628fcc2b69ca7750e5bb9bffa7f199f23145 SHA512 a219fa56a5fe4d0c1b2b15330c140d52bdb8b08474b6bdc6cc26fd590c2c11ba9654a2d76d7b0889e3ad100622ed544306436b8445f8b00c235cd3f75e6b7343 +EBUILD bzflag-2.4.14.ebuild 1204 BLAKE2B d6d98b5cbf51e11c324db9a404f3795ce7a8a36d0eb71c0e26ece880cff4da30222b60e794b0405a074e2b959a13b06f78d9b74a610011546af8ca2d3f5a2f5b SHA512 282999e7a9c381364d97a2d7c7477e9af2fac7d961a9825be69c0f31881978b4e44e70dc40d6d7cf06fe3c423e1f9e7146d1d78f1e666a3a52e3b841cb1af27f MISC metadata.xml 329 BLAKE2B 045c2426f059b10e768ba5764ec7c26ad95f98ca1754358df18faa4ec58d3b26c02d905222c877c6d508eeb47f3ae3f22dd319b1d719f169e91ab31d824ab30d SHA512 4f9e157aef5067fb6a97fd7d7e68f758a280a37b8093c7291b45ada10169ca8c79ee0e7770fdbcc4d2de517b7bf05f1e3585585c72c1fdf7692d4e568f5d8301 diff --git a/games-action/bzflag/bzflag-2.4.14.ebuild b/games-action/bzflag/bzflag-2.4.14.ebuild new file mode 100644 index 000000000000..cf647d42a263 --- /dev/null +++ b/games-action/bzflag/bzflag-2.4.14.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils flag-o-matic autotools + +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" + +DEPEND=" + net-dns/c-ares + >=net-misc/curl-7.15.0 + sys-libs/ncurses:0 + sys-libs/zlib + !dedicated? ( + media-libs/libsdl2[joystick,sound,video] + virtual/glu + virtual/opengl ) + upnp? ( net-libs/miniupnpc )" +RDEPEND=${DEPEND} +PATCHES=( + "${FILESDIR}"/${PN}-2.4.12-configure.patch + "${FILESDIR}"/${PN}-2.4.12-tinfo.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf + + if use dedicated ; then + ewarn + ewarn "You are building a server-only copy of BZFlag" + ewarn + myconf="--disable-client --without-SDL" + fi + + econf \ + $(use_enable upnp UPnP) \ + ${myconf} +} + +src_install() { + DOCS="AUTHORS ChangeLog DEVINFO PORTING README README.Linux" \ + default + + if ! use dedicated ; then + newicon data/bzflag-48x48.png ${PN}.png + make_desktop_entry ${PN} "BZFlag" + fi + + prune_libtool_files --modules +} |