summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-20 22:30:27 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-21 02:50:05 +0100
commitabccd502c07c5b5d4bdeb89816ee47e73aa8b4fd (patch)
treeb7a2a6373a8ebf6d4dd48884a47eab3dd0d1805b /games-rpg
parentgames-rpg/freedroid: Remove old (diff)
downloadgentoo-abccd502c07c5b5d4bdeb89816ee47e73aa8b4fd.tar.gz
gentoo-abccd502c07c5b5d4bdeb89816ee47e73aa8b4fd.tar.bz2
gentoo-abccd502c07c5b5d4bdeb89816ee47e73aa8b4fd.zip
games-rpg/freedroidrpg: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/freedroidrpg/freedroidrpg-0.16.ebuild87
1 files changed, 0 insertions, 87 deletions
diff --git a/games-rpg/freedroidrpg/freedroidrpg-0.16.ebuild b/games-rpg/freedroidrpg/freedroidrpg-0.16.ebuild
deleted file mode 100644
index a3b8bceea46e..000000000000
--- a/games-rpg/freedroidrpg/freedroidrpg-0.16.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-inherit autotools 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="ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-${PV}//freedroidRPG-${PV}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="nls opengl sound"
-
-RDEPEND="media-libs/libsdl[opengl?,sound?,video]
- virtual/jpeg:0
- media-libs/libpng:0
- media-libs/sdl-image[jpeg,png]
- >=media-libs/sdl-gfx-2.0.21
- sound? (
- media-libs/sdl-mixer[vorbis]
- media-libs/libogg
- media-libs/libvorbis )
- x11-libs/libX11
- opengl? ( virtual/opengl )
- nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
- ${PYTHON_DEPS}
- nls? ( sys-devel/gettext )"
-
-pkg_setup() {
- python-any-r1_pkg_setup
- games_pkg_setup
-}
-
-src_prepare() {
- sed -i \
- -e '/^dist_doc_DATA/d' \
- -e '/-pipe/d' \
- -e '/^SUBDIRS/s/pkgs//' \
- Makefile.am || die
- python_fix_shebang src sound
- eautoreconf
-}
-
-src_configure() {
- egamesconf \
- --disable-fastmath \
- --with-embedded-lua \
- --localedir=/usr/share/locale \
- $(use_enable nls) \
- $(use_enable opengl) \
- $(use_enable sound)
-}
-
-src_install() {
- local i
-
- default
- for i in 48 64 96 128
- do
- doicon -s ${i} pkgs/freedesktop/icons/hicolor/${i}x${i}/apps/freedroidRPG.png
- done
- doicon -s scalable pkgs/freedesktop/icons/hicolor/scalable/apps/freedroidRPG.svg
- make_desktop_entry freedroidRPG "Freedroid RPG" freedroidRPG
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
- echo
- ewarn "${P} is not compatible with old save games."
- ewarn "Please start a new character."
- echo
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}