public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/freedroidrpg/
Date: Sat, 15 Oct 2016 10:17:27 +0000 (UTC)	[thread overview]
Message-ID: <1476526599.19624cdd9dff4a9305ab1ec6bb5a00c7505b019d.wizardedit@gentoo> (raw)

commit:     19624cdd9dff4a9305ab1ec6bb5a00c7505b019d
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 15 10:16:17 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 10:16:39 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19624cdd

games-rpg/freedroidrpg: remove deprecated games eclass

Also update to EAPI 6

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

Package-Manager: portage-2.3.0

 games-rpg/freedroidrpg/freedroidrpg-0.16-r1.ebuild | 87 ++++++++++++++++++++++
 1 file changed, 87 insertions(+)

diff --git a/games-rpg/freedroidrpg/freedroidrpg-0.16-r1.ebuild b/games-rpg/freedroidrpg/freedroidrpg-0.16-r1.ebuild
new file mode 100644
index 00000000..3e10af3
--- /dev/null
+++ b/games-rpg/freedroidrpg/freedroidrpg-0.16-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+inherit autotools eutils gnome2-utils python-any-r1
+
+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 ~ppc ~x86"
+IUSE="nls opengl sound"
+
+RDEPEND="
+	virtual/jpeg:0
+	media-libs/libpng:0
+	media-libs/libsdl[opengl?,sound?,video]
+	>=media-libs/sdl-gfx-2.0.21
+	media-libs/sdl-image[jpeg,png]
+	nls? ( virtual/libintl )
+	opengl? ( virtual/opengl )
+	sound? (
+		media-libs/libogg
+		media-libs/libvorbis
+		media-libs/sdl-mixer[vorbis] )
+	x11-libs/libX11"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+	python-any-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+
+	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() {
+	econf \
+		--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
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+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
+}


             reply	other threads:[~2016-10-15 10:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-15 10:17 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-05 23:44 [gentoo-commits] repo/gentoo:master commit in: games-rpg/freedroidrpg/ Ionen Wolkens
2023-01-24 23:29 Ionen Wolkens
2023-01-24 23:29 Ionen Wolkens
2022-11-16 18:57 Ionen Wolkens
2022-11-16 18:57 Ionen Wolkens
2021-12-13  2:06 Sam James
2021-06-08  7:10 Ionen Wolkens
2021-06-03  6:09 Ionen Wolkens
2021-05-04 19:10 Sam James
2020-09-13 12:50 James Le Cuirot
2019-11-11 22:51 Andrew Savchenko
2016-03-20 20:51 Michael Sterrett
2016-02-13 15:33 Agostino Sarubbo
2016-01-02 23:10 Michael Sterrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1476526599.19624cdd9dff4a9305ab1ec6bb5a00c7505b019d.wizardedit@gentoo \
    --to=wizardedit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox