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 5305B139085 for ; Tue, 7 Feb 2017 00:51:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C6EDE0EE6; Tue, 7 Feb 2017 00:51:37 +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 67565E0EE8 for ; Tue, 7 Feb 2017 00:51:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 EA5D8340C9D for ; Tue, 7 Feb 2017 00:51:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F1243DCA for ; Tue, 7 Feb 2017 00:51:34 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1486428686.f178e7de596cb82b630e8bfe51039223d69302ea.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/legends/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-fps/legends/legends-0.4.1.43-r2.ebuild X-VCS-Directories: games-fps/legends/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: f178e7de596cb82b630e8bfe51039223d69302ea X-VCS-Branch: master Date: Tue, 7 Feb 2017 00:51:34 +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: 484196d2-f230-4f54-9b38-56e2b019cf2a X-Archives-Hash: e66811dbf91ecf7fc108cba9acb84ee6 commit: f178e7de596cb82b630e8bfe51039223d69302ea Author: Austin English gentoo org> AuthorDate: Mon Feb 6 23:57:11 2017 +0000 Commit: Austin English gentoo org> CommitDate: Tue Feb 7 00:51:26 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f178e7de games-fps/legends: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: Portage-2.3.2, Repoman-2.3.1 games-fps/legends/legends-0.4.1.43-r2.ebuild | 70 ++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/games-fps/legends/legends-0.4.1.43-r2.ebuild b/games-fps/legends/legends-0.4.1.43-r2.ebuild new file mode 100644 index 00000000..71e8929 --- /dev/null +++ b/games-fps/legends/legends-0.4.1.43-r2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils unpacker + +MY_P=${PN}_linux-${PV} +dir=/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" +QA_FLAGS_IGNORED="${dir:1}/libSDL-1.3.so.0 ${dir:1}/LinLegends ${dir:1}/lindedicated" + +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(-)]" + +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 || die +} + +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" + + make_wrapper ${PN} "./LinLegends" "${dir}" "${dir}" + if use dedicated ; then + make_wrapper ${PN}-ded "./lindedicated" "${dir}" "${dir}" + fi + + doicon "${DISTDIR}"/${PN}.png || die "doicon failed" + make_desktop_entry legends "Legends" +} + +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 +}