From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D80B4139083 for ; Sun, 5 Mar 2017 17:59:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F040E21C03E; Sun, 5 Mar 2017 17:59:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C220521C03E for ; Sun, 5 Mar 2017 17:59:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A73C333BE19 for ; Sun, 5 Mar 2017 17:59:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 486AA5CCC for ; Sun, 5 Mar 2017 17:59:43 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1488736767.c40d471900c935a8d777b94d1eb3a95e3aff67bd.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/bzflag/files/, games-action/bzflag/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/bzflag/Manifest games-action/bzflag/bzflag-2.4.8.ebuild games-action/bzflag/files/bzflag-2.4.8-configure.patch X-VCS-Directories: games-action/bzflag/ games-action/bzflag/files/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: c40d471900c935a8d777b94d1eb3a95e3aff67bd X-VCS-Branch: master Date: Sun, 5 Mar 2017 17:59:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: efd43034-37e8-4dbf-bba9-d1454657e6bd X-Archives-Hash: 30459c69bbf21ae6d7bca8bdce56ecbf commit: c40d471900c935a8d777b94d1eb3a95e3aff67bd Author: Tupone Alfredo gentoo org> AuthorDate: Sun Mar 5 17:59:27 2017 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Sun Mar 5 17:59:27 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c40d4719 games-action/bzflag: bump to 2.4.8 Package-Manager: portage-2.3.3 games-action/bzflag/Manifest | 1 + games-action/bzflag/bzflag-2.4.8.ebuild | 62 ++++++++++++++++++++++ .../bzflag/files/bzflag-2.4.8-configure.patch | 37 +++++++++++++ 3 files changed, 100 insertions(+) diff --git a/games-action/bzflag/Manifest b/games-action/bzflag/Manifest index 901cff34046..9fbf24612be 100644 --- a/games-action/bzflag/Manifest +++ b/games-action/bzflag/Manifest @@ -1,3 +1,4 @@ DIST bzflag-2.4.2.tar.bz2 15971448 SHA256 4f7bc52284cc4b39fc352855e555b2b064c1de6a18f7474e249073070762c811 SHA512 e5645e825f19896ad4dc1e3bf97c9b52ed3838210d97d5532936a9306623283330c9535288af90f86e32c88a1a7996b2c872b9c081558eea48400b86b3a1a6ff WHIRLPOOL 82a5e543a8fdcb80c516394c63901c80c77fc659090f952cb36f65a9fb14c5ca06d6547dc9d347c6abf0ee706c40437f80edf20c424775bf6e202423e025794c DIST bzflag-2.4.4.tar.bz2 13922761 SHA256 5842941e53440d2e88c955ddb594964fc5145912f61100832d224c1a017e2ecb SHA512 ee9eefe6a24250f1aa0ac808755f2e3700ea97c559019ca8beefb8d236afd1571314f07a8f19662677526ae364d38617a1a62b356e851c27669cb9acef1a8fd3 WHIRLPOOL c96853e3f1053a9b53c9d6ba27a6f638c2913e87a26d6188151a66f8f78aeeb78fac28e8cefde10d23d65fe02e49b93cd4516993e5b48a6f3f240ec67ab0fc8e DIST bzflag-2.4.6.tar.bz2 13919761 SHA256 a44506828d09fe26f06658aae7f579080ecbaef5bd19a938dfed604e0c8afb45 SHA512 b2c82b75a99aa47975d98030104654da6ae3943582a22e18faf157c8929d96ab255a4343e044baa76714b8564c60194b6edbc7b8e28a3352848c471365678205 WHIRLPOOL 069dc60acc93b6159bac330c81a63493e370590ce09b871a17acdfcdf8b9ac6f84c6937ecc29df5d826a475f527f6fdaabf3b26f31ec5ef29824964f43c232de +DIST bzflag-2.4.8.tar.bz2 14048447 SHA256 43ca4d1775dac4180feb67cc4450b5db82aab9a63e460ac769c8f40d22e03122 SHA512 b83eb4d5297ff8a75193b898a3de6eef7354196cb46f97f4828d7611e72476c3c7f1369dca80f8f3222b9e3a689cbcd7c735652b483b635e7422e18689bb9b82 WHIRLPOOL 9c1c49961e40dcf8d2219329c8448f60e0e0c307e854bc3d04047fe6ab1927e90a27d4e540fe0a2c0308b10fa2c4a123441921c03e4bfad9983595fa0e1da7cb diff --git a/games-action/bzflag/bzflag-2.4.8.ebuild b/games-action/bzflag/bzflag-2.4.8.ebuild new file mode 100644 index 00000000000..d63f9d37f34 --- /dev/null +++ b/games-action/bzflag/bzflag-2.4.8.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 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="http://www.bzflag.org/" +SRC_URI="https://download.bzflag.org/bzflag/source/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~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/libsdl[joystick,sound,video] + virtual/glu + virtual/opengl ) + upnp? ( net-libs/miniupnpc )" +RDEPEND=${DEPEND} + +PATCHES=( + "${FILESDIR}"/${P}-configure.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 +} diff --git a/games-action/bzflag/files/bzflag-2.4.8-configure.patch b/games-action/bzflag/files/bzflag-2.4.8-configure.patch new file mode 100644 index 00000000000..b280621f6ec --- /dev/null +++ b/games-action/bzflag/files/bzflag-2.4.8-configure.patch @@ -0,0 +1,37 @@ +diff -ru bzflag-2.4.4.orig/configure.ac bzflag-2.4.4/configure.ac +--- bzflag-2.4.4.orig/configure.ac 2016-02-14 19:09:51.000000000 -0500 ++++ bzflag-2.4.4/configure.ac 2016-05-05 16:35:35.475935345 -0400 +@@ -215,7 +215,7 @@ + AC_SUBST(AR) + AC_SUBST(AR_FLAGS) + +-AC_PATH_PROG(CCACHE, ccache) ++AC_PATH_PROG(CCACHE, ccachex) + if test "$CCACHE" ; then + CC="ccache $CC" + CXX="ccache $CXX" +@@ -747,13 +747,13 @@ + # + # the GCC version is known to be at least 4.3 because it has C++0x support + # possible future warnings: -Wconversion (1894) -Wfloat-equal (317) +-FLAGS="-Wall -Wextra -Wcast-qual -Wredundant-decls -Wshadow -Wundef -pedantic" ++FLAGSx="-Wall -Wextra -Wcast-qual -Wredundant-decls -Wshadow -Wundef -pedantic" + case $host_os in + linux*) + AC_DEFINE(HALF_RATE_AUDIO, 1, [Half rate Audio]) + CONF_CFLAGS="$CONF_CFLAGS $FLAGS" + CONF_CXXFLAGS="$CONF_CXXFLAGS $FLAGS" +- case $host_vendor in ++ case $host_vendorx in + pc) + if expr `$CC -dumpversion` \>= "3.4" > /dev/null ; then + FLAGS=-mtune +@@ -836,7 +836,7 @@ + CXXFLAGS="$user_CXXFLAGS" + AC_DEFINE(DEBUG, 1, [Debugging enabled]) + else +- if test "$GCC" = yes ; then ++ if test "$GCC" = yesx ; then + case "`$CC --version 2>&1`" in + *LLVM*) + # Apple LLVM falsely claims to be GCC