summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/freedroid/ChangeLog7
-rw-r--r--games-rpg/freedroid/freedroid-1.0.2.ebuild22
2 files changed, 17 insertions, 12 deletions
diff --git a/games-rpg/freedroid/ChangeLog b/games-rpg/freedroid/ChangeLog
index a9c1c485f59f..d20c395963a0 100644
--- a/games-rpg/freedroid/ChangeLog
+++ b/games-rpg/freedroid/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-rpg/freedroid
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroid/ChangeLog,v 1.10 2011/02/26 15:29:53 signals Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroid/ChangeLog,v 1.11 2015/02/11 04:50:46 mr_bones_ Exp $
+
+ 11 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org> freedroid-1.0.2.ebuild:
+ EAPI=5
26 Feb 2011; Kevin McCarthy <signals@gentoo.org> freedroid-1.0.2.ebuild:
Updated depends from media-libs/jpeg to virtual/jpeg
diff --git a/games-rpg/freedroid/freedroid-1.0.2.ebuild b/games-rpg/freedroid/freedroid-1.0.2.ebuild
index ef545ea5e0d1..b699c53bd091 100644
--- a/games-rpg/freedroid/freedroid-1.0.2.ebuild
+++ b/games-rpg/freedroid/freedroid-1.0.2.ebuild
@@ -1,7 +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/freedroid/freedroid-1.0.2.ebuild,v 1.12 2011/02/26 15:29:53 signals Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroid/freedroid-1.0.2.ebuild,v 1.13 2015/02/11 04:50:46 mr_bones_ Exp $
+EAPI=5
inherit eutils games
DESCRIPTION="Freedroid - a Paradroid clone"
@@ -11,19 +12,20 @@ SRC_URI="mirror://sourceforge/freedroid/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc x86"
-IUSE="vorbis"
+IUSE=""
-DEPEND=">=media-libs/libsdl-1.2.3
+DEPEND="media-libs/libsdl[joystick,sound,video]
virtual/jpeg
sys-libs/zlib
- media-libs/libpng
- media-libs/sdl-image
- media-libs/sdl-mixer
- vorbis? ( media-libs/libvorbis )"
+ media-libs/libpng:0
+ media-libs/sdl-image[jpeg,png]
+ media-libs/sdl-mixer[mod,vorbis]
+ media-libs/libvorbis"
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS README
+ default
+ find "${D}" -name "Makefile*" -exec rm -f '{}' +
+ rm -rf "${D}${GAMES_DATADIR}/${PN}/"{freedroid.6,mac-osx} || die
newicon graphics/paraicon.bmp ${PN}.bmp
make_desktop_entry freedroid Freedroid /usr/share/pixmaps/${PN}.bmp
prepgamesdirs