From 7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 May 2018 14:13:35 +0100 Subject: gentoo resync : 02.05.2018 --- games-fps/openarena/Manifest | 2 +- games-fps/openarena/openarena-0.8.8-r1.ebuild | 80 +++++++++++++++++++++++++++ games-fps/openarena/openarena-0.8.8.ebuild | 79 -------------------------- 3 files changed, 81 insertions(+), 80 deletions(-) create mode 100644 games-fps/openarena/openarena-0.8.8-r1.ebuild delete mode 100644 games-fps/openarena/openarena-0.8.8.ebuild (limited to 'games-fps/openarena') diff --git a/games-fps/openarena/Manifest b/games-fps/openarena/Manifest index f3204a2a0964..523e9d5cc047 100644 --- a/games-fps/openarena/Manifest +++ b/games-fps/openarena/Manifest @@ -2,5 +2,5 @@ AUX openarena-0.8.8-makefile.patch 763 BLAKE2B 0e671cf5be41b48670954fa133d11806b AUX openarena-0.8.8-unbundling.patch 3054 BLAKE2B f1f90e3d61d77ec2d36fcc9ce55a53d456084b9862687b49037fceefca7758784e886bf66a689fba7a202a3ead60823311c9f31da804509dc3b60e4b12869964 SHA512 85a7300e78f741d0bcb4c949e17ffac13790bbdf0942fc739fa357ac5cec7a27c67393bb42342981a78fbb12141e3a9e1ffead352db6073bdf63b4135f4dbb43 DIST openarena-0.8.8.zip 425189255 BLAKE2B f8a8d20cee344a615907e85b8487b8211246888b63d001b5f0fe1b676a699d9268cdf15d7c749837e5789ef254e959f289d9026a1ea3924f50b291a4c7224f28 SHA512 9fa4dabe8a3428dc3cbec97f3b4d20c04569c14cdd00b60e6391c6dd61e310f246ff5ec97e7549821b3d6f5f94b140eb5411a2ddd83dafcad66937b7f78ea8dd DIST openarena-engine-source-0.8.8.tar.bz2 3777830 BLAKE2B c20e2ad37aeb3467e2ebd90eab599c4e25a2dc834df81286b01bde9c7081b1b954e3524e5c4110bddcbda5593a40e595aa0a1eae8f20b98a06b4410fcb93f4c8 SHA512 d4ba3655fae500cf5b7475c83d39c81b6abc759da15cfb4ea9e1dc0f47ffb11c1bbbc2b6f85d613ab1d729978eda93d4d7677c9a45a33853e363c820d8b81c43 -EBUILD openarena-0.8.8.ebuild 1803 BLAKE2B 83820d6aa6c6965cc9d384559febe17901b218cf39d5eb6f649c7df13f5f0fd7f5007156ea176e997b38a4a027c8741d91c553f9548fa96fcb20ac7b3c6e0486 SHA512 bd45e7eb583a40fd32bf98b56bb5fded460daa14d90e59ab3ead83b019ea3f3295c915dbfef8bbb57b2f9c3570402e766f1b90b3bd20571e1ab4885265019f74 +EBUILD openarena-0.8.8-r1.ebuild 1790 BLAKE2B 84b530c8efd5617b062b4194e885ad41dcb23cace4a48d5d5c6460e32839ccc99ccd1695c1322916418be6cfad4956c74d1c2eac86a9a93eb4b77b737622260c SHA512 fa0c3302527b579bde188c1c44d928026181d5ccf1e88a871583d1ad0394a56e5d6dc2cdd907e603e52b155e1ee76bc9a99cd43397fa6ed8081487890975d987 MISC metadata.xml 329 BLAKE2B e35a14a26bbcd2aa34d851acbc510d5e4ba3fa9ee9dc9ecc1c75995c6b8d3f0aea569f55c402295f1835e71d2d8609c226ccd20f9c4f5819c071c54e7d19e08b SHA512 40e88c8cec824e6c3d815516c018292ec64e5b968ede35a4c3c235331cfb32370ceffa954f01ceedffbf64e182f4e6c753a5fe45ce2ed627b6383dfc6b0d39f7 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 000000000000..7440f19e8ec0 --- /dev/null +++ b/games-fps/openarena/openarena-0.8.8-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop epatch flag-o-matic versionator + +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=" + media-libs/libsdl[joystick,opengl,video] + media-libs/speex + media-libs/speexdsp + virtual/jpeg:0 + virtual/opengl + 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="/usr/share/${PN}" + +src_prepare() { + default + cd "${WORKDIR}" + epatch "${FILESDIR}"/${P}-makefile.patch \ + "${FILESDIR}"/${P}-unbundling.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}" + newbin openarena-smp.* "${PN}" + newbin 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" +} diff --git a/games-fps/openarena/openarena-0.8.8.ebuild b/games-fps/openarena/openarena-0.8.8.ebuild deleted file mode 100644 index 63ae43948870..000000000000 --- a/games-fps/openarena/openarena-0.8.8.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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=" - media-libs/libsdl[joystick,opengl,video] - media-libs/speex - media-libs/speexdsp - virtual/jpeg:0 - virtual/opengl - 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 \ - "${FILESDIR}"/${P}-unbundling.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 -} -- cgit v1.2.3