summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-12-23 09:17:23 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-12-23 09:17:23 +0000
commitc555a96485b0949bb544ddde1eb825b28e9f4259 (patch)
tree2fd3cf9fc9a5022aed475549e89219a0f0341a49 /games-action
parentRemove EPREFIX usage. (diff)
downloadgentoo-2-c555a96485b0949bb544ddde1eb825b28e9f4259.tar.gz
gentoo-2-c555a96485b0949bb544ddde1eb825b28e9f4259.tar.bz2
gentoo-2-c555a96485b0949bb544ddde1eb825b28e9f4259.zip
QA_PREBUILT. Bug #429278
(Portage version: 2.1.11.38/cvs/Linux i686, signed Manifest commit with key 0145142D)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/descent3-demo/ChangeLog6
-rw-r--r--games-action/descent3-demo/descent3-demo-1.4.0a.ebuild14
2 files changed, 14 insertions, 6 deletions
diff --git a/games-action/descent3-demo/ChangeLog b/games-action/descent3-demo/ChangeLog
index 7b56bc88377f..5de3fec0501b 100644
--- a/games-action/descent3-demo/ChangeLog
+++ b/games-action/descent3-demo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/descent3-demo
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/descent3-demo/ChangeLog,v 1.10 2012/02/08 21:27:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/descent3-demo/ChangeLog,v 1.11 2012/12/23 09:17:23 tupone Exp $
+
+ 23 Dec 2012; Tupone Alfredo <tupone@gentoo.org> descent3-demo-1.4.0a.ebuild:
+ Move to EAPI 4.
+ Use QA_PREBUILT. Bug #429278 by Diego Elio Pettenò
08 Feb 2012; Mike Frysinger <vapier@gentoo.org> descent3-demo-1.4.0a.ebuild:
Move to new unpacker eclass for unpack_makeself.
diff --git a/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild b/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild
index 568ec834372e..b54c71097d01 100644
--- a/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild
+++ b/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild
@@ -1,6 +1,7 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild,v 1.11 2012/02/08 21:27:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/descent3-demo/descent3-demo-1.4.0a.ebuild,v 1.12 2012/12/23 09:17:23 tupone Exp $
+EAPI=4
inherit eutils unpacker games
@@ -27,10 +28,13 @@ RDEPEND="sys-libs/glibc
app-emulation/emul-linux-x86-sdl
>=sys-libs/lib-compat-loki-0.2 )"
+dir="${GAMES_PREFIX_OPT}/${PN}"
+QA_PREBUILT="${dir:1}/descent3_demo.x86
+ ${dir:1}/netgames/*.d3m"
+
S=${WORKDIR}
src_install() {
- local dir="${GAMES_PREFIX_OPT}/${PN}"
local demo="data/demos/descent3_demo"
local exe="descent3_demo.x86"
@@ -38,8 +42,8 @@ src_install() {
insinto "${dir}"
exeinto "${dir}"
- doins -r "${demo}"/* || die "doins failed"
- doexe "${demo}/${exe}" || die "doexe failed"
+ doins -r "${demo}"/*
+ doexe "${demo}/${exe}"
# Required directory
keepdir "${dir}"/missions
@@ -49,7 +53,7 @@ src_install() {
ln -sf ppics.hog PPics.Hog
games_make_wrapper ${PN} "./${exe}" "${dir}"
- newicon "${demo}"/launch/box.png ${PN}.png || die "newicon failed"
+ newicon "${demo}"/launch/box.png ${PN}.png
make_desktop_entry ${PN} "Descent 3 (Demo)" ${PN}
prepgamesdirs