From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 327831384B4 for ; Sat, 2 Jan 2016 23:10:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F01CB21C0B7; Sat, 2 Jan 2016 23:10:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85C4421C0B7 for ; Sat, 2 Jan 2016 23:10:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2D30133BF0B for ; Sat, 2 Jan 2016 23:10:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8625CB0 for ; Sat, 2 Jan 2016 23:10:28 +0000 (UTC) From: "Michael Sterrett" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Sterrett" Message-ID: <1451776192.afb682000551c3bb42636260e4b2daef8d18543a.mr_bones_@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/freedroidrpg/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-rpg/freedroidrpg/Manifest games-rpg/freedroidrpg/freedroidrpg-0.16.ebuild X-VCS-Directories: games-rpg/freedroidrpg/ X-VCS-Committer: mr_bones_ X-VCS-Committer-Name: Michael Sterrett X-VCS-Revision: afb682000551c3bb42636260e4b2daef8d18543a X-VCS-Branch: master Date: Sat, 2 Jan 2016 23:10:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 614c35ce-ae51-408f-9621-912b63e35980 X-Archives-Hash: b480e12fc4a313627c0a45e8884ca2e3 commit: afb682000551c3bb42636260e4b2daef8d18543a Author: Michael Sterrett gentoo org> AuthorDate: Sat Jan 2 23:09:26 2016 +0000 Commit: Michael Sterrett gentoo org> CommitDate: Sat Jan 2 23:09:52 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afb68200 games-rpg/freedroidrpg: version bump Package-Manager: portage-2.2.24 games-rpg/freedroidrpg/Manifest | 1 + games-rpg/freedroidrpg/freedroidrpg-0.16.ebuild | 88 +++++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/games-rpg/freedroidrpg/Manifest b/games-rpg/freedroidrpg/Manifest index d37f49a..dfe3e3b 100644 --- a/games-rpg/freedroidrpg/Manifest +++ b/games-rpg/freedroidrpg/Manifest @@ -1 +1,2 @@ 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 diff --git a/games-rpg/freedroidrpg/freedroidrpg-0.16.ebuild b/games-rpg/freedroidrpg/freedroidrpg-0.16.ebuild new file mode 100644 index 0000000..bb5d56b --- /dev/null +++ b/games-rpg/freedroidrpg/freedroidrpg-0.16.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~ppc ~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 +}