Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/avp/
Date: Tue, 07 Feb 2017 00:51:40
Message-Id: 1486428684.1c2f35d069049c89331abfbc69aab52790537ded.wizardedit@gentoo
1 commit: 1c2f35d069049c89331abfbc69aab52790537ded
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 6 23:41:44 2017 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 7 00:51:24 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c2f35d0
7
8 games-fps/avp: remove deprecated games eclass
9
10 Also update to EAPI 6
11
12 Gentoo-Bug: https://bugs.gentoo.org/574082
13
14 Package-Manager: Portage-2.3.2, Repoman-2.3.1
15
16 games-fps/avp/avp-20150214-r1.ebuild | 47 ++++++++++++++++++++++++++++++++++++
17 1 file changed, 47 insertions(+)
18
19 diff --git a/games-fps/avp/avp-20150214-r1.ebuild b/games-fps/avp/avp-20150214-r1.ebuild
20 new file mode 100644
21 index 00000000..889aedc
22 --- /dev/null
23 +++ b/games-fps/avp/avp-20150214-r1.ebuild
24 @@ -0,0 +1,47 @@
25 +# Copyright 1999-2017 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=6
30 +inherit eutils cmake-utils
31 +
32 +DESCRIPTION="Linux port of Aliens vs Predator"
33 +HOMEPAGE="http://www.icculus.org/avp/"
34 +SRC_URI="http://www.icculus.org/avp/files/${P}.tar.gz"
35 +
36 +LICENSE="AvP"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE=""
40 +
41 +RDEPEND="
42 + media-libs/libsdl[video,joystick,opengl]
43 + media-libs/openal"
44 +DEPEND="${RDEPEND}
45 + virtual/pkgconfig"
46 +
47 +CMAKE_BUILD_TYPE=Release
48 +
49 +src_configure() {
50 + local mycmakeargs=(
51 + "-DCMAKE_VERBOSE_MAKEFILE=TRUE"
52 + -DSDL_TYPE=SDL
53 + -DOPENGL_TYPE=OPENGL
54 + )
55 +
56 + cmake-utils_src_configure
57 +}
58 +
59 +src_compile() {
60 + cmake-utils_src_compile
61 +}
62 +
63 +src_install() {
64 + dobin "${BUILD_DIR}/${PN}"
65 + dodoc README
66 +}
67 +
68 +pkg_postinst() {
69 + elog "Please follow the instructions in /usr/share/doc/${PF}"
70 + elog "to install the rest of the game."
71 +}