* [gentoo-commits] repo/gentoo:master commit in: games-fps/alienarena/, games-fps/alienarena/files/
@ 2018-04-29 17:13 99% Pacho Ramos
0 siblings, 0 replies; 1+ results
From: Pacho Ramos @ 2018-04-29 17:13 UTC (permalink / raw
To: gentoo-commits
commit: 6b8369377971c2503071bc38d68413ae11243b50
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 29 16:37:15 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Apr 29 17:13:04 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b836937
games-fps/alienarena: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
games-fps/alienarena/alienarena-20130827-r1.ebuild | 73 ++++++++++++++++++++++
.../files/alienarena-20130827-format.patch | 4 +-
2 files changed, 75 insertions(+), 2 deletions(-)
diff --git a/games-fps/alienarena/alienarena-20130827-r1.ebuild b/games-fps/alienarena/alienarena-20130827-r1.ebuild
new file mode 100644
index 00000000000..fabaaecffeb
--- /dev/null
+++ b/games-fps/alienarena/alienarena-20130827-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop gnome2-utils
+
+MY_PN="alienarena-7.66"
+
+DESCRIPTION="Fast-paced multiplayer deathmatch game"
+HOMEPAGE="http://red.planetarena.org/"
+SRC_URI="http://icculus.org/alienarena/Files/${MY_PN}-linux${PV}.tar.gz
+ http://red.planetarena.org/files/${MY_PN}-linux${PV}.tar.gz"
+
+LICENSE="GPL-2 free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dedicated +dga +vidmode +zlib"
+
+UIRDEPEND="
+ virtual/jpeg:0
+ media-libs/openal
+ media-libs/libvorbis
+ media-libs/freetype:2
+ virtual/glu
+ virtual/opengl
+ dga? ( x11-libs/libXxf86dga )
+ vidmode? ( x11-libs/libXxf86vm )
+ zlib? ( sys-libs/zlib )
+ net-misc/curl
+"
+UIDEPEND="
+ dga? ( x11-proto/xf86dgaproto )
+ vidmode? ( x11-proto/xf86vidmodeproto )
+"
+RDEPEND="!dedicated? ( ${UIRDEPEND} )"
+DEPEND="${RDEPEND}
+ !dedicated? ( ${UIDEPEND} )
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/${MY_PN/_/.}"
+
+PATCHES=( "${FILESDIR}"/${P}-format.patch )
+
+src_configure() {
+ econf \
+ --with-icondir=/usr/share/icons/hicolor/48x48/apps/ \
+ --without-system-libode \
+ --disable-documents \
+ $(use_enable !dedicated client) \
+ $(use_with zlib) \
+ $(use_with vidmode xf86vm) \
+ $(use_with dga xf86dga)
+}
+
+src_install() {
+ DOCS="docs/README.txt README" default
+ if ! use dedicated ; then
+ make_desktop_entry ${PN} "Alien Arena"
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-fps/alienarena/files/alienarena-20130827-format.patch b/games-fps/alienarena/files/alienarena-20130827-format.patch
index 4a88eab840f..3162a558afa 100644
--- a/games-fps/alienarena/files/alienarena-20130827-format.patch
+++ b/games-fps/alienarena/files/alienarena-20130827-format.patch
@@ -1,5 +1,5 @@
---- source/game/p_client.c.old 2016-01-18 20:13:25.147714704 +0100
-+++ source/game/p_client.c 2016-01-18 20:13:38.776476727 +0100
+--- a/source/game/p_client.c.old 2016-01-18 20:13:25.147714704 +0100
++++ b/source/game/p_client.c 2016-01-18 20:13:38.776476727 +0100
@@ -2123,7 +2123,7 @@
#else
ent->ctype = 0; //alien is default
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-04-29 17:13 99% [gentoo-commits] repo/gentoo:master commit in: games-fps/alienarena/, games-fps/alienarena/files/ Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox