games-rpg/freedroid: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0
This commit is contained in:
Austin English
2016-10-15 05:16:39 -05:00
parent 3d0919a21f
commit bfe83a032f
2 changed files with 41 additions and 4 deletions
@@ -1,5 +1,5 @@
--- src/init.c.old 2015-10-24 17:37:24.431514375 +0200
+++ src/init.c 2015-10-24 17:37:43.057157826 +0200
--- a/src/init.c 2015-10-24 17:37:24.431514375 +0200
+++ b/src/init.c 2015-10-24 17:37:43.057157826 +0200
@@ -554,13 +554,13 @@
* following gnu-coding standards for command line interfaces */
case 'v':
@@ -16,8 +16,8 @@
exit (0);
break;
--- src/misc.c.old 2015-10-24 17:37:54.368941282 +0200
+++ src/misc.c 2015-10-24 17:38:10.202638172 +0200
--- a/src/misc.c 2015-10-24 17:37:54.368941282 +0200
+++ b/src/misc.c 2015-10-24 17:38:10.202638172 +0200
@@ -889,7 +889,7 @@
if (db_level <= debug_level)
{
@@ -0,0 +1,37 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils
DESCRIPTION="Freedroid - a Paradroid clone"
HOMEPAGE="http://freedroid.sourceforge.net/"
SRC_URI="mirror://sourceforge/freedroid/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="
virtual/jpeg:0
media-libs/libpng:0
media-libs/libsdl[joystick,sound,video]
media-libs/libvorbis
media-libs/sdl-image[jpeg,png]
media-libs/sdl-mixer[mod,vorbis]
sys-libs/zlib"
RDEPEND=${DEPEND}
PATCHES=(
"${FILESDIR}"/${P}-format.patch
)
src_install() {
default
find "${D}" -name "Makefile*" -exec rm -f '{}' + || die
rm -rf "${D}/usr/share/${PN}/"{freedroid.6,mac-osx} || die
newicon graphics/paraicon.bmp ${PN}.bmp
make_desktop_entry freedroid Freedroid /usr/share/pixmaps/${PN}.bmp
}