From 12756552a0112994b8a82fff815c1142443c6b3a Mon Sep 17 00:00:00 2001 From: root Date: Tue, 6 Sep 2016 01:55:56 +0300 Subject: [PATCH] add OpenArena working version --- games-fps/openarena/ChangeLog | 80 ++++++++++++ games-fps/openarena/ChangeLog-2015 | 123 ++++++++++++++++++ games-fps/openarena/Manifest | 7 + .../files/openarena-0.8.8-makefile.patch | 36 +++++ games-fps/openarena/metadata.xml | 11 ++ games-fps/openarena/openarena-0.8.8-r1.ebuild | 77 +++++++++++ 6 files changed, 334 insertions(+) create mode 100644 games-fps/openarena/ChangeLog create mode 100644 games-fps/openarena/ChangeLog-2015 create mode 100644 games-fps/openarena/Manifest create mode 100644 games-fps/openarena/files/openarena-0.8.8-makefile.patch create mode 100644 games-fps/openarena/metadata.xml create mode 100644 games-fps/openarena/openarena-0.8.8-r1.ebuild diff --git a/games-fps/openarena/ChangeLog b/games-fps/openarena/ChangeLog new file mode 100644 index 0000000..e36a447 --- /dev/null +++ b/games-fps/openarena/ChangeLog @@ -0,0 +1,80 @@ +# ChangeLog for games-fps/openarena +# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 +# (auto-generated from git log) + +*openarena-0.8.8 (09 Aug 2015) + + 09 Aug 2015; Robin H. Johnson + +files/openarena-0.8.8-makefile.patch, + +files/openarena-0.8.8-unbundling.patch, +metadata.xml, + +openarena-0.8.8.ebuild: + proj/gentoo: Initial commit + + This commit represents a new era for Gentoo: + Storing the gentoo-x86 tree in Git, as converted from CVS. + + This commit is the start of the NEW history. + Any historical data is intended to be grafted onto this point. + + Creation process: + 1. Take final CVS checkout snapshot + 2. Remove ALL ChangeLog* files + 3. Transform all Manifests to thin + 4. Remove empty Manifests + 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ + 5.1. Do not touch files with -kb/-ko keyword flags. + + Signed-off-by: Robin H. Johnson + X-Thanks: Alec Warner - did the GSoC 2006 migration + tests + X-Thanks: Robin H. Johnson - infra guy, herding this + project + X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo + developer, wrote Git features for the migration + X-Thanks: Brian Harring - wrote much python to improve + cvs2svn + X-Thanks: Rich Freeman - validation scripts + X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 + work in migration + X-Thanks: Michał Górny - scripts, QA, nagging + X-Thanks: All of other Gentoo developers - many ideas and lots of paint on + the bikeshed + + 24 Aug 2015; Justin Lecher metadata.xml: + Use https by default + + Convert all URLs for sites supporting encrypted connections from http to + https + + Signed-off-by: Justin Lecher + + 24 Aug 2015; Mike Gilbert metadata.xml: + Revert DOCTYPE SYSTEM https changes in metadata.xml + + repoman does not yet accept the https version. + This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450. + + Bug: https://bugs.gentoo.org/552720 + + 21 Dec 2015; Michael Sterrett openarena-0.8.8.ebuild: + mask games-fps/ut2004-ultraduel for removal + + 21 Dec 2015; Michael Sterrett openarena-0.8.8.ebuild: + Revert "mask games-fps/ut2004-ultraduel for removal" + + This reverts commit cf00534e64f93c0992faf2584a970f1910afcc5a. + + 03 Jan 2016; Michael Sterrett openarena-0.8.8.ebuild: + add slot dep for virtual/jpeg + + Package-Manager: portage-2.2.24 + + 24 Jan 2016; Michał Górny metadata.xml: + Replace all herds with appropriate projects (GLEP 67) + + Replace all uses of herd with appropriate project maintainers, or no + maintainers in case of herds requested to be disbanded. + + 24 Jan 2016; Michał Górny metadata.xml: + Set appropriate maintainer types in metadata.xml (GLEP 67) + diff --git a/games-fps/openarena/ChangeLog-2015 b/games-fps/openarena/ChangeLog-2015 new file mode 100644 index 0000000..70ab987 --- /dev/null +++ b/games-fps/openarena/ChangeLog-2015 @@ -0,0 +1,123 @@ +# ChangeLog for games-fps/openarena +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/openarena/ChangeLog,v 1.27 2015/01/31 06:38:58 tupone Exp $ + + 30 Jan 2015; Tupone Alfredo openarena-0.8.8.ebuild: + EAPI 5 + + 31 Jan 2013; Michael Sterrett + -files/openarena-0.8.5-bots-strcpy-fix.patch, + -files/openarena-0.8.5-makefile.patch, + -files/openarena-0.8.5-unbundling.patch, -openarena-0.8.5.ebuild: + old + + 04 Jul 2012; Jeff Horelick openarena-0.8.8.ebuild: + marked x86 per bug 422123 + + 20 Jun 2012; Agostino Sarubbo openarena-0.8.8.ebuild: + Stable for amd64, wrt bug #422123 + +*openarena-0.8.8 (18 May 2012) + + 18 May 2012; Michael Sterrett +openarena-0.8.8.ebuild, + +files/openarena-0.8.8-makefile.patch, + +files/openarena-0.8.8-unbundling.patch: + version bump (bug #306617) with patches from hasufell + + 25 Sep 2011; Michael Sterrett openarena-0.8.5.ebuild: + sed patch to build against newer zlib (bug #384395) + + 26 Feb 2011; Kevin McCarthy openarena-0.8.5.ebuild: + Updated depends from media-libs/jpeg to virtual/jpeg + + 22 Oct 2010; Christian Faulhammer + openarena-0.8.5.ebuild: + stable x86, bug 341415 + + 19 Oct 2010; Markos Chandras openarena-0.8.5.ebuild: + Stable on amd64 wrt bug #341415 + +*openarena-0.8.5 (09 Sep 2010) + + 09 Sep 2010; Michael Sterrett + +openarena-0.8.5.ebuild, +files/openarena-0.8.5-bots-strcpy-fix.patch, + +files/openarena-0.8.5-makefile.patch, + +files/openarena-0.8.5-unbundling.patch: + version bump with work from Cesar Garcia in bug #306617 + + 23 May 2010; Pacho Ramos openarena-0.8.1-r1.ebuild: + stable amd64, bug 315299 + + 20 May 2010; Tupone Alfredo openarena-0.8.1-r1.ebuild, + files/openarena-0.8.1-makefile.patch: + Fix build with gcc-4.5. Bug #318495 by flameeyes@gentoo.org + + 27 Apr 2010; Pawel Hajdan jr + openarena-0.8.1-r1.ebuild: + x86 stable wrt bug #315299 + + 12 Mar 2010; Tupone Alfredo openarena-0.8.1-r1.ebuild, + files/openarena-0.8.1-makefile.patch, + files/openarena-0.8.1-unbundling.patch: + Fixing CFLAGS and LDFLAGS issues raised on bug #255453 by Zeev Tarantov + + 11 Mar 2010; Tupone Alfredo + files/openarena-0.8.1-makefile.patch: + Fix usage of vm for amd64 arch. Bug #255453 by Zeev Tarantov + + 10 Mar 2010; Tupone Alfredo openarena-0.8.1-r1.ebuild, + +files/openarena-0.8.1-unbundling.patch, + -files/openarena-0.8.1-zlib.patch: + Unbundle media-libs/jpeg. Bug #255453 by flameeyes@gentoo.org + +*openarena-0.8.1-r1 (06 Mar 2010) + + 06 Mar 2010; Tupone Alfredo + +openarena-0.8.1-r1.ebuild, files/openarena-0.8.1-makefile.patch, + +files/openarena-0.8.1-zlib.patch: + Unbundling speex and zlib. Partially fix bug #255453 by + flameeyes@gentoo.org + + 12 Oct 2009; Michael Sterrett + openarena-0.8.1.ebuild: + more SDL use flags (bug #288709) + + 10 Jun 2009; Michael Sterrett + openarena-0.8.1.ebuild: + add use dep for libsdl[joystick] (bug #273618) + + 03 Jun 2009; Michael Sterrett + openarena-0.8.1.ebuild: + use libopenal.so by default instead of libopenal.so.0 (bug #272192) + + 28 May 2009; Michael Sterrett + openarena-0.8.1.ebuild: + needs -fno-strict-aliasing for proper function - reported by Cesar Garcia (bug + #268851) + +*openarena-0.8.1 (07 Jan 2009) + + 07 Jan 2009; Michael Sterrett + +files/openarena-0.8.1-makefile.patch, +openarena-0.8.1.ebuild: + version bump with ebuild submitted by scarabeus (bug #245759) + + 05 Jun 2008; Chris Gianelloni metadata.xml: + Removing myself as maintainer. + + 29 Feb 2008; Carsten Lohrke openarena-0.7.1.ebuild: + Remove icon extension from desktop entry to match Icon Theme Specification. + + 10 Nov 2007; Chris Gianelloni +metadata.xml: + Adding metadata.xml so Mr_Bones_ will quit brow beating me. I'm sorry, sir. + It won't happen, again. *grin* + + 07 Nov 2007; Chris Gianelloni + openarena-0.7.1.ebuild: + Changed SRC_URI to A in pkg_nofetch so we don't get the full URI output. + +*openarena-0.7.1 (07 Nov 2007) + + 07 Nov 2007; Chris Gianelloni +files/openarena.xpm, + +openarena-0.7.1.ebuild: + Initial import. Ebuild by Paul Bredbury and modified by me. + Icon provided by Rémy Dupont . Closing bug #144705. diff --git a/games-fps/openarena/Manifest b/games-fps/openarena/Manifest new file mode 100644 index 0000000..158a220 --- /dev/null +++ b/games-fps/openarena/Manifest @@ -0,0 +1,7 @@ +AUX openarena-0.8.8-makefile.patch 763 SHA256 c91a6de3154d9b86da367fe4cc5f7ce0797a75dbb52ea1d26a11ffbfb371d931 SHA512 2cc60cfd43536f55690dd90346f11d383f39d20be4509167604d0506bddd6375a73e933eeed2c7fbbd0e2c2c9c7ce126943549a9e0194d0f831d0a9b9e59c376 WHIRLPOOL fb077c2016fdbfa9e5863e346ed850ad662cc714b3309827be7f7647c785821f6ca9a0629c433a5880c5d22315168fee633495fc038be6b6ce9d4a9488ffa156 +DIST openarena-0.8.8.zip 425189255 SHA256 5a8faf7f5b51f351b0a1618c06b6b98a5f1a6758f1d39818de2c87df2a0bac4a SHA512 9fa4dabe8a3428dc3cbec97f3b4d20c04569c14cdd00b60e6391c6dd61e310f246ff5ec97e7549821b3d6f5f94b140eb5411a2ddd83dafcad66937b7f78ea8dd WHIRLPOOL d9121b2e936063d02da7ed4de79f8d0da3fd3c9b196d3fbce9091be0d14c9f745317c833eed7ce9c0691cd8627396f0d3580eb244b7229500b44a03583612e4f +DIST openarena-engine-source-0.8.8.tar.bz2 3777830 SHA256 95aa500cb7e42e57fb1f6db7b97a254168f4fa2e3676d6cdc33180b69fde0e77 SHA512 d4ba3655fae500cf5b7475c83d39c81b6abc759da15cfb4ea9e1dc0f47ffb11c1bbbc2b6f85d613ab1d729978eda93d4d7677c9a45a33853e363c820d8b81c43 WHIRLPOOL 6093e6d209983a268d21ea487f99ab065f1b050a3af43fead3461e24dc629be8b84be56644a4ca5a35512015f187eb9880f1228b0d501de091c482e141086f2b +EBUILD openarena-0.8.8-r1.ebuild 1746 SHA256 3d7b6f08a1f971ef062b6fd71f8213410ef2e6279b139bcb96831bac38fd97f3 SHA512 22ef3aa540ea08b073e35611577d0c79b91c352c3ea245ecfef53a1bee6df895f52674007b2231a6c19891b9113aa4172816d7b33fd7d4521ad9605eb222d6be WHIRLPOOL c792e527358bee0863748089b734deae0c0f963ab24f6195463920a630f31b8c47c58824269aea58f9673b62f59d285a365834d40d6749eca986b7994d4c2597 +MISC ChangeLog 2991 SHA256 aa7d973b4807787f91517c8dd983d71179acf9d6a41ad2e4610357e0aef64bf9 SHA512 c84b74ef53d6610c6c6c0017b881a09a69421fb3419ac774dc9f95a779f73679354264b54ac0701002c9279840e778cf65a80c5fb1c455f89e0cf462ed605a80 WHIRLPOOL b6c4c271c9d48de0d3e6c2f06e10a5015560427f0b0f767902c78a8243ef15e373b3f4ff32a2132b9db2ce5cf9e6e5a0f0432ff925d3338e8d5ca7429cfd7774 +MISC ChangeLog-2015 4717 SHA256 7a04ba779b704e76ff8978302d9c0e6287e9997a6608760ac2aa7c79a8ea0477 SHA512 e43c71ff2c0b2e7248cc6508992b40748f5486e65f65a7dce7cf20f10eb9cf23082d67e3c32b124f7ee46b37445ba36a5fb0f78dfe7703b0c466cafe8c2e084a WHIRLPOOL e1ebc98ea28e07844d22cd25bcefb3925ef48c31bfbbdabfb6baf3aafd5af8b3d651e7649473ad55ddb43336216a5d58306834dfd0cacf79dc8416043e7a9567 +MISC metadata.xml 329 SHA256 2e1e2962e1f543f1a712c643e6dd221b885dd6141504c2d0d10b68f8bec8b64b SHA512 40e88c8cec824e6c3d815516c018292ec64e5b968ede35a4c3c235331cfb32370ceffa954f01ceedffbf64e182f4e6c753a5fe45ce2ed627b6383dfc6b0d39f7 WHIRLPOOL b3823a9d657134041ece2550afe7d9cc222dd102f1f441fb1cf44eab44f0724ba9580f432b6fcef05be1b24cbc2c351fba9c3aecb04179c86f0a800e7ce037f2 diff --git a/games-fps/openarena/files/openarena-0.8.8-makefile.patch b/games-fps/openarena/files/openarena-0.8.8-makefile.patch new file mode 100644 index 0000000..d72bbe7 --- /dev/null +++ b/games-fps/openarena/files/openarena-0.8.8-makefile.patch @@ -0,0 +1,36 @@ +From: Julian Ospald +Date: Thu May 17 23:34:20 UTC 2012 +Subject: flags, arch + +--- openarena-engine-source-0.8.8/Makefile ++++ openarena-engine-source-0.8.8/Makefile +@@ -73,6 +73,10 @@ + + ifndef ARCH + ARCH=$(COMPILE_ARCH) ++else ++ ifeq ($(ARCH),amd64) ++ ARCH=x86_64 ++ endif + endif + export ARCH + +@@ -263,8 +267,7 @@ + endif + endif + +- BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \ +- -pipe -DUSE_ICON ++ BASE_CFLAGS = -fno-strict-aliasing -DUSE_ICON -I. + CLIENT_CFLAGS = $(SDL_CFLAGS) + SERVER_CFLAGS = + +@@ -335,7 +338,7 @@ + THREAD_LIBS=-lpthread + LIBS=-ldl -lm + +- CLIENT_LIBS=$(SDL_LIBS) -lGL ++ CLIENT_LIBS=$(SDL_LIBS) -lGL -ljpeg + + ifeq ($(USE_OPENAL),1) + ifneq ($(USE_OPENAL_DLOPEN),1) \ No newline at end of file diff --git a/games-fps/openarena/metadata.xml b/games-fps/openarena/metadata.xml new file mode 100644 index 0000000..fb6c4d0 --- /dev/null +++ b/games-fps/openarena/metadata.xml @@ -0,0 +1,11 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + oarena + + diff --git a/games-fps/openarena/openarena-0.8.8-r1.ebuild b/games-fps/openarena/openarena-0.8.8-r1.ebuild new file mode 100644 index 0000000..8c875af --- /dev/null +++ b/games-fps/openarena/openarena-0.8.8-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic versionator games + +DESCRIPTION="Open-source replacement for Quake 3 Arena" +HOMEPAGE="http://openarena.ws/" +SRC_URI="mirror://sourceforge/oarena/${P}.zip + mirror://sourceforge/oarena/src/${PN}-engine-source-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+curl +openal +vorbis" + +RDEPEND="virtual/opengl + media-libs/libsdl[joystick,opengl,video] + media-libs/speex + virtual/jpeg:0 + x11-libs/libXext + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + curl? ( net-misc/curl ) + openal? ( media-libs/openal ) + vorbis? ( media-libs/libvorbis )" +DEPEND="${RDEPEND} + app-arch/unzip" + +MY_S=${WORKDIR}/${PN}-engine-source-${PV} +BUILD_DIR=${PN}-build +DIR=${GAMES_DATADIR}/${PN} + +src_prepare() { + cd "${WORKDIR}" + epatch "${FILESDIR}"/${P}-makefile.patch + cd "${MY_S}" + touch jpegint.h +} + +src_compile() { + local myopts + + # enable voip, disable mumble + # also build always server and use smp by default + myopts="USE_INTERNAL_SPEEX=0 USE_VOIP=1 USE_MUMBLE=0 + BUILD_SERVER=1 BUILD_CLIENT_SMP=1 USE_LOCAL_HEADERS=0" + use curl || myopts="${myopts} USE_CURL=0" + use openal || myopts="${myopts} USE_OPENAL=0" + use vorbis || myopts="${myopts} USE_CODEC_VORBIS=0" + + cd "${MY_S}" + emake \ + V=1 \ + DEFAULT_BASEDIR="${DIR}" \ + BR="${BUILD_DIR}" \ + ${myopts} \ + OPTIMIZE= +} + +src_install() { + cd "${MY_S}"/"${BUILD_DIR}" + newgamesbin openarena-smp.* "${PN}" + newgamesbin oa_ded.* "${PN}-ded" + cd "${S}" + + insinto "${DIR}" + doins -r baseoa missionpack + + dodoc CHANGES CREDITS LINUXNOTES README + newicon "${MY_S}"/misc/quake3.png ${PN}.png + make_desktop_entry ${PN} "OpenArena" + + prepgamesdirs +}