From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 41F98138DB2 for ; Sat, 15 Oct 2016 10:17:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4BB63E0B02; Sat, 15 Oct 2016 10:17:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 345C0E0B02 for ; Sat, 15 Oct 2016 10:17:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34551341134 for ; Sat, 15 Oct 2016 10:17:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 485A0307 for ; Sat, 15 Oct 2016 10:17:27 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1476526599.a533bb32b21779478a403c742d1913818d6098d8.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/gwiz/, games-rpg/gwiz/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-rpg/gwiz/files/gwiz-0.8-buffer.patch games-rpg/gwiz/gwiz-0.8-r1.ebuild X-VCS-Directories: games-rpg/gwiz/files/ games-rpg/gwiz/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: a533bb32b21779478a403c742d1913818d6098d8 X-VCS-Branch: master Date: Sat, 15 Oct 2016 10:17:27 +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: 92d902f7-6d6a-4fd2-87f3-4ff2361f5295 X-Archives-Hash: bec17e4d9d6700bc1e30e2304e9d88e6 commit: a533bb32b21779478a403c742d1913818d6098d8 Author: Austin English gentoo org> AuthorDate: Sat Oct 15 10:11:21 2016 +0000 Commit: Austin English gentoo org> CommitDate: Sat Oct 15 10:16:39 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a533bb32 games-rpg/gwiz: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 games-rpg/gwiz/files/gwiz-0.8-buffer.patch | 8 +++---- games-rpg/gwiz/gwiz-0.8-r1.ebuild | 37 ++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 4 deletions(-) diff --git a/games-rpg/gwiz/files/gwiz-0.8-buffer.patch b/games-rpg/gwiz/files/gwiz-0.8-buffer.patch index 7c9eb02..44ee9ae 100644 --- a/games-rpg/gwiz/files/gwiz-0.8-buffer.patch +++ b/games-rpg/gwiz/files/gwiz-0.8-buffer.patch @@ -1,5 +1,5 @@ ---- src/equip.c.orig -+++ src/equip.c +--- a/src/equip.c ++++ b/src/equip.c @@ -120,7 +120,7 @@ return (i); @@ -9,8 +9,8 @@ if (pawn->item[i].usage & USAGE_EQUIPPABLE) return (i); return (-1); ---- src/shop.c.orig -+++ src/shop.c +--- a/src/shop.c ++++ b/src/shop.c @@ -290,8 +290,7 @@ SDL_BlitSurface (name, NULL, area, &dest); diff --git a/games-rpg/gwiz/gwiz-0.8-r1.ebuild b/games-rpg/gwiz/gwiz-0.8-r1.ebuild new file mode 100644 index 00000000..01b725c --- /dev/null +++ b/games-rpg/gwiz/gwiz-0.8-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 flag-o-matic + +DESCRIPTION="clone of old-school Wizardry(tm) games by SirTech" +HOMEPAGE="http://icculus.org/gwiz/" +SRC_URI="http://icculus.org/gwiz/${P}.tar.bz2" + +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.2.3[joystick,video] + >=media-libs/sdl-image-1.2.1-r1[png] + >=media-libs/sdl-ttf-2.0.4" +RDEPEND=${DEPEND} + +PATCHES=( + "${FILESDIR}"/${P}-buffer.patch +) + +src_prepare() { + default + + append-cflags -std=gnu89 # build with gcc5 (bug #572532) +} + +src_install() { + DOCS="AUTHORS ChangeLog README doc/HOWTO-PLAY" \ + default + newicon pixmaps/gwiz_icon.xpm ${PN}.xpm + make_desktop_entry gwiz Gwiz +}