summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-10-15 05:15:46 -0500
committerAustin English <wizardedit@gentoo.org>2016-10-15 05:16:39 -0500
commitbfe83a032fd992fc6e05ac20aaad65051a7ea1d3 (patch)
tree841a03ca8fb7edf636d145f98333c5e0bd6d56df /games-rpg/freedroid/freedroid-1.0.2-r1.ebuild
parentgames-rpg/eschalon-book-1-demo: remove deprecated games eclass (diff)
downloadgentoo-bfe83a032fd992fc6e05ac20aaad65051a7ea1d3.tar.gz
gentoo-bfe83a032fd992fc6e05ac20aaad65051a7ea1d3.tar.bz2
gentoo-bfe83a032fd992fc6e05ac20aaad65051a7ea1d3.zip
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
Diffstat (limited to 'games-rpg/freedroid/freedroid-1.0.2-r1.ebuild')
-rw-r--r--games-rpg/freedroid/freedroid-1.0.2-r1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/games-rpg/freedroid/freedroid-1.0.2-r1.ebuild b/games-rpg/freedroid/freedroid-1.0.2-r1.ebuild
new file mode 100644
index 000000000000..17a817aa472a
--- /dev/null
+++ b/games-rpg/freedroid/freedroid-1.0.2-r1.ebuild
@@ -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
+}