games-rpg/freedroidrpg: clean old

Package-Manager: portage-2.2.26
This commit is contained in:
Michael Sterrett
2016-03-20 16:18:32 -04:00
parent ae667bbe58
commit 30edf36855
2 changed files with 0 additions and 70 deletions

View File

@@ -1,2 +1 @@
DIST freedroidRPG-0.15.1.tar.gz 209427247 SHA256 3e0e0e901f05386f49b8dfa1a8b3582ea82347deb7fb8e94fc15bf8ad058ba08 SHA512 3e38753a040e507229b87235e449fc77db2457a4eb0129f8866a58e3863baa08304feb846828be95183a0b9e46f11761c706571ea68500203c953e1467e108a4 WHIRLPOOL 42f0d6e5ae48437ad0fb00d38966904601de80f2d7dbf6d93d40da5cf4897cc12fc82ec1b9ce500947ed4f1f583eb736fbfc2cdf7619f22999c0e28a007b0aac
DIST freedroidRPG-0.16.tar.gz 225570013 SHA256 c11f28b69eed3e8e40528442d9e840847502ccd4d3d95d3f8182abc2b3b18135 SHA512 039ee4bfcd58e29a3cfa26ae7f2bc8aed7c289119476bb8f8486006910cf6a2127ba49f7526fac887392ca9e5320fb1a59ba068834e162348905423908b0755a WHIRLPOOL cc8e812515c9f0ce979558c8307fc2f7d30597c198fecd42e43e927b1969b8cacff0db4eed71a41b4119ddb64829d729593ee4151ca69c776f45b9295cda0978

View File

@@ -1,69 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils gnome2-utils python-any-r1 games
DESCRIPTION="A modification of the classical Freedroid engine into an RPG"
HOMEPAGE="http://freedroid.sourceforge.net/"
SRC_URI="mirror://sourceforge/freedroid/freedroidRPG-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="opengl vorbis"
RDEPEND="media-libs/libsdl[opengl?,video]
dev-lang/lua:0
virtual/jpeg:0
media-libs/libpng:0
media-libs/sdl-image[jpeg,png]
media-libs/sdl-mixer[vorbis?]
>=media-libs/sdl-gfx-2.0.21
vorbis? ( media-libs/libogg media-libs/libvorbis )
x11-libs/libX11
opengl? ( virtual/opengl )"
DEPEND="${RDEPEND}
${PYTHON_DEPS}"
pkg_setup() {
python-any-r1_pkg_setup
games_pkg_setup
}
src_prepare() {
# No need for executable game resources
find sound graphics -type f -execdir chmod -c a-x '{}' +
}
src_configure() {
egamesconf \
--disable-dependency-tracking \
--disable-fastmath \
$(use_enable opengl) \
$(use_enable vorbis)
}
src_install() {
emake DESTDIR="${D}" install || die
rm -f "${D}/${GAMES_BINDIR}/"{croppy,pngtoico,*glue*,explode*,make_atlas}
newicon -s 64 win32/w32icon2_64x64.png ${PN}.png
make_desktop_entry freedroidRPG "Freedroid RPG"
prepgamesdirs
}
pkg_preinst() {
games_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
games_pkg_postinst
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}