summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-02-07 03:03:40 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-02-07 03:03:40 +0000
commitfc191dcdffac7761fa4fba7bb8813f205cca6d53 (patch)
tree075ddbaf2d684fa966790f0086db84e029a273d9 /games-rpg
parentStabilize for amd64/x86. (diff)
downloadgentoo-2-fc191dcdffac7761fa4fba7bb8813f205cca6d53.tar.gz
gentoo-2-fc191dcdffac7761fa4fba7bb8813f205cca6d53.tar.bz2
gentoo-2-fc191dcdffac7761fa4fba7bb8813f205cca6d53.zip
EAPI=5; add use deps for libsdl
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/openglad/ChangeLog8
-rw-r--r--games-rpg/openglad/openglad-0.98.ebuild26
2 files changed, 17 insertions, 17 deletions
diff --git a/games-rpg/openglad/ChangeLog b/games-rpg/openglad/ChangeLog
index ec9603e2259a..969b1b7bbcac 100644
--- a/games-rpg/openglad/ChangeLog
+++ b/games-rpg/openglad/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-rpg/openglad
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/openglad/ChangeLog,v 1.9 2011/07/23 20:31:05 tupone Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/openglad/ChangeLog,v 1.10 2015/02/07 03:03:40 mr_bones_ Exp $
+
+ 07 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org> openglad-0.98.ebuild:
+ EAPI=5; add use deps for libsdl
23 Jul 2011; Tupone Alfredo <tupone@gentoo.org> openglad-0.98.ebuild,
+files/openglad-0.98-ovfl.patch:
@@ -26,4 +29,3 @@
01 Aug 2003; Michael Sterrett <msterret@gentoo.org> openglad-0.98.ebuild:
initial commit. ebuild submitted by Rob Cakebread (modified) via bug 24844
-
diff --git a/games-rpg/openglad/openglad-0.98.ebuild b/games-rpg/openglad/openglad-0.98.ebuild
index 1f5907e47295..58a001dd1069 100644
--- a/games-rpg/openglad/openglad-0.98.ebuild
+++ b/games-rpg/openglad/openglad-0.98.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/openglad/openglad-0.98.ebuild,v 1.11 2011/07/23 20:31:05 tupone Exp $
-EAPI=2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/openglad/openglad-0.98.ebuild,v 1.12 2015/02/07 03:03:40 mr_bones_ Exp $
+EAPI=5
inherit eutils games
DESCRIPTION="An SDL clone of Gladiator, a classic RPG game"
@@ -17,28 +17,26 @@ IUSE=""
DEPEND="media-libs/sdl-mixer
media-libs/sdl-image
- media-libs/libsdl"
+ media-libs/libsdl[joystick,sound,video]"
-PATCHES=(
- "${FILESDIR}"/${PV}-gladpack.c.patch
- "${FILESDIR}"/${P}-gcc43.patch
- "${FILESDIR}"/${P}-ovfl.patch
-)
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PV}-gladpack.c.patch \
+ "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-ovfl.patch
+}
src_configure() {
egamesconf \
--prefix=/usr \
--bindir="${GAMES_BINDIR}" \
- --datadir="${GAMES_DATADIR}/${PN}" \
- || die
+ --datadir="${GAMES_DATADIR}/${PN}"
}
src_install() {
emake install \
DESTDIR="${D}" \
- docdir="${D}"/usr/share/doc/${PF} \
- || die "emake install failed"
- prepalldocs
+ docdir="${D}"/usr/share/doc/${PF}
doicon "${DISTDIR}"/${PN}.png
make_desktop_entry openglad OpenGladiator
prepgamesdirs