diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-30 11:19:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-30 11:19:18 +0100 |
commit | 62f67115b5c46134c34f88f4b1cbdacc19384c0a (patch) | |
tree | 0a76b14de203a4c23040e5665e39df8de9867745 /games-action/bzflag | |
parent | 265dbe5dbc14c199299496c6db8fce3f76647015 (diff) |
gentoo resync : 30.09.2018
Diffstat (limited to 'games-action/bzflag')
-rw-r--r-- | games-action/bzflag/Manifest | 2 | ||||
-rw-r--r-- | games-action/bzflag/bzflag-2.4.16.ebuild | 71 |
2 files changed, 73 insertions, 0 deletions
diff --git a/games-action/bzflag/Manifest b/games-action/bzflag/Manifest index a892b89fc516..b81de9cfa212 100644 --- a/games-action/bzflag/Manifest +++ b/games-action/bzflag/Manifest @@ -3,6 +3,8 @@ AUX bzflag-2.4.12-sdl2-cppflags.patch 437 BLAKE2B e7abcaf318a67f9252e32be1215b1e 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 +DIST bzflag-2.4.16.tar.bz2 14010330 BLAKE2B fc19e068c43c18bd38445b48ca0ca38669f956da1540e3255420cb7f36a42349aa3aa881dfeed2b2a1a7e163ee832a510fde658edd38b6ac038b62229baf8306 SHA512 809adc39088f3fc8ca0d2ead9c7172cfbe582789bc80b3ac55fabe078a0868f0cf7cfa8027ac696718e9983a19386933fd370684a0bd33e63c3106f2ce8a9d63 EBUILD bzflag-2.4.12.ebuild 1230 BLAKE2B 7d423cbadd4cd97d1cf8802d3cb27e92b96adaeedfddbab68b04b0fa184dd601facfde0359817826fff49ab5bb8f881c02474c1740e334cb684c56072b308530 SHA512 6d4701f797524170ba701d576d3e754374d9b161d56715f9ad677b65153e11030ff56186259d93424c62a5f96eda2329585c895ae179cfd28eeec33b940b7bfd EBUILD bzflag-2.4.14.ebuild 1374 BLAKE2B 2d3489f7d979a9450361c2f326866b5991078441accd95a43b35193a117231bd6939071369415360fedc559fb202d7d97676015a77a9622137dc31b44e02c478 SHA512 77b2b00b66c71cb779c059a8adf81e74454c87d0d51f48831dc51c9ee2ec715e89f378a782c242dd8cac237210ad6aa0fbfac4edbfd216e058ac22f05d44550e +EBUILD bzflag-2.4.16.ebuild 1389 BLAKE2B e5f2aaaa41c6b7e95333c1e62fda97fd689a79a158eadb896a0db02470ce23600be8b99c48dab389b2b8a06f3c8fd102d8daa82db14ee68979ccc1b9aec146b0 SHA512 a69233216af2ac803dbdf03d981ffc82473e970aa8492e3e58550631a1bd849df8e5c2257811a284eb70df44f322c9201bed2c7974bf859dd60582b49e3c536e MISC metadata.xml 329 BLAKE2B 045c2426f059b10e768ba5764ec7c26ad95f98ca1754358df18faa4ec58d3b26c02d905222c877c6d508eeb47f3ae3f22dd319b1d719f169e91ab31d824ab30d SHA512 4f9e157aef5067fb6a97fd7d7e68f758a280a37b8093c7291b45ada10169ca8c79ee0e7770fdbcc4d2de517b7bf05f1e3585585c72c1fdf7692d4e568f5d8301 diff --git a/games-action/bzflag/bzflag-2.4.16.ebuild b/games-action/bzflag/bzflag-2.4.16.ebuild new file mode 100644 index 000000000000..84a0bef4a27a --- /dev/null +++ b/games-action/bzflag/bzflag-2.4.16.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop flag-o-matic + +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 +) + +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() { + 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 + + find "${D}"/ -name \*.la -delete +} |