summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2014-07-07 19:40:32 +0000
committerIan Stakenvicius <axs@gentoo.org>2014-07-07 19:40:32 +0000
commitbbc37017692417902a3bcd020e43704b2f7643fe (patch)
treed52c9c01b6c4b1e8005cbde4fb86b86dff6db9be /games-fps/legends
parentAdd 5.20 version of IO to perl-5.20 mask (diff)
downloadgentoo-2-bbc37017692417902a3bcd020e43704b2f7643fe.tar.gz
gentoo-2-bbc37017692417902a3bcd020e43704b2f7643fe.tar.bz2
gentoo-2-bbc37017692417902a3bcd020e43704b2f7643fe.zip
Bumped EAPi to 5, re-keyworded for amd64, adjusted deps for gx86-multilib, added missing deps and dropped indirect deps
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
Diffstat (limited to 'games-fps/legends')
-rw-r--r--games-fps/legends/ChangeLog11
-rw-r--r--games-fps/legends/legends-0.4.1.43-r1.ebuild83
2 files changed, 92 insertions, 2 deletions
diff --git a/games-fps/legends/ChangeLog b/games-fps/legends/ChangeLog
index 1e856e27842f..829c8b5bcf93 100644
--- a/games-fps/legends/ChangeLog
+++ b/games-fps/legends/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-fps/legends
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/ChangeLog,v 1.28 2013/04/21 10:10:53 ulm Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/ChangeLog,v 1.29 2014/07/07 19:40:32 axs Exp $
+
+*legends-0.4.1.43-r1 (07 Jul 2014)
+
+ 07 Jul 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
+ +legends-0.4.1.43-r1.ebuild:
+ Bumped EAPi to 5, re-keyworded for amd64, adjusted deps for gx86-multilib,
+ added missing deps and dropped indirect deps
21 Apr 2013; Ulrich Müller <ulm@gentoo.org> legends-0.4.1.43.ebuild:
Fix LICENSE, see ReadMe_legals.txt, bug 466066.
diff --git a/games-fps/legends/legends-0.4.1.43-r1.ebuild b/games-fps/legends/legends-0.4.1.43-r1.ebuild
new file mode 100644
index 000000000000..a3d20692a041
--- /dev/null
+++ b/games-fps/legends/legends-0.4.1.43-r1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/legends-0.4.1.43-r1.ebuild,v 1.1 2014/07/07 19:40:31 axs Exp $
+
+EAPI=5
+inherit eutils unpacker games
+
+MY_P=${PN}_linux-${PV}
+dir=${GAMES_PREFIX_OPT}/${PN}
+
+DESCRIPTION="Fast-paced first-person-shooter online multiplayer game, similar to Tribes"
+HOMEPAGE="http://legendsthegame.net/"
+SRC_URI="http://legendsthegame.net/files/${MY_P}.run
+ mirror://gentoo/${PN}.png"
+
+LICENSE="Legends LGPL-2.1+"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="+dedicated"
+RESTRICT="strip"
+
+QA_TEXTRELS="${dir:1}/libSDL-1.3.so.0"
+
+DEPEND=""
+RDEPEND="sys-libs/glibc
+ amd64? ( sys-libs/glibc[multilib] )
+ media-fonts/font-adobe-75dpi
+ || (
+ (
+ media-libs/libsdl[video,sound,opengl,abi_x86_32(-)]
+ x11-libs/libX11[abi_x86_32(-)]
+ x11-libs/libXext[abi_x86_32(-)]
+ media-libs/libogg[abi_x86_32(-)]
+ media-libs/libvorbis[abi_x86_32(-)]
+ media-libs/openal[abi_x86_32(-)]
+ )
+ (
+ >=app-emulation/emul-linux-x86-sdl-2.1[-abi_x86_32(-)]
+ >=app-emulation/emul-linux-x86-soundlibs-2.1[-abi_x86_32(-)]
+ app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
+ app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
+ ) )
+"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_makeself ${MY_P}.run
+ cd "${S}"
+
+ # keep libSDL-1.3.so because legends requires it as of 0.4.0, and
+ # 1.2.6 is highest in portage
+ # rm libSDL-*.so*
+ rm runlegends libSDL-1.2.so.0 libopenal.so libogg.so.0 libvorbis.so.0 *.DLL
+}
+
+src_install() {
+ insinto "${dir}"
+ doins -r * || die "doins * failed"
+
+ rm "${D}/${dir}/"/{lindedicated,LinLegends,*.so.0}
+ exeinto "${dir}"
+ doexe lindedicated LinLegends *.so.0 || die "doexe failed"
+
+ games_make_wrapper ${PN} "./LinLegends" "${dir}" "${dir}"
+ if use dedicated ; then
+ games_make_wrapper ${PN}-ded "./lindedicated" "${dir}" "${dir}"
+ fi
+
+ doicon "${DISTDIR}"/${PN}.png || die "doicon failed"
+ make_desktop_entry legends "Legends"
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ ewarn "Version ${PV} of ${PN} may give problems if there are"
+ ewarn "config-files from earlier versions. Removing the ~/.legends dir"
+ ewarn "and restarting will solve this."
+ echo
+}