From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-901373-garchives=archives.gentoo.org@lists.gentoo.org> 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 486E3138331 for <garchives@archives.gentoo.org>; Wed, 14 Sep 2016 19:12:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97F88E0B5B; Wed, 14 Sep 2016 19:12:47 +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 4A3A7E0B2F for <gentoo-commits@lists.gentoo.org>; Wed, 14 Sep 2016 19:12:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 D70C3340ADB for <gentoo-commits@lists.gentoo.org>; Wed, 14 Sep 2016 19:12:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B36C2485 for <gentoo-commits@lists.gentoo.org>; Wed, 14 Sep 2016 19:12:44 +0000 (UTC) From: "Austin English" <wizardedit@gentoo.org> 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" <wizardedit@gentoo.org> Message-ID: <1473880351.3e8d4debb48c83d315329375597c87ff6f944a30.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-roguelike/scourge/, games-roguelike/scourge/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-roguelike/scourge/files/scourge-0.21.1-automake-1.13.patch games-roguelike/scourge/files/scourge-0.21.1-gcc47.patch games-roguelike/scourge/scourge-0.21.1-r1.ebuild X-VCS-Directories: games-roguelike/scourge/files/ games-roguelike/scourge/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 3e8d4debb48c83d315329375597c87ff6f944a30 X-VCS-Branch: master Date: Wed, 14 Sep 2016 19:12:44 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b6dcdd10-dfa2-4ce9-aae3-af6c4e0bf8b8 X-Archives-Hash: c06a3fffffc6ec469ef4cc02d0eff553 commit: 3e8d4debb48c83d315329375597c87ff6f944a30 Author: Austin English <wizardedit <AT> gentoo <DOT> org> AuthorDate: Wed Sep 14 19:11:53 2016 +0000 Commit: Austin English <wizardedit <AT> gentoo <DOT> org> CommitDate: Wed Sep 14 19:12:31 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e8d4deb games-roguelike/scourge: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 .../files/scourge-0.21.1-automake-1.13.patch | 4 +- .../scourge/files/scourge-0.21.1-gcc47.patch | 4 +- games-roguelike/scourge/scourge-0.21.1-r1.ebuild | 64 ++++++++++++++++++++++ 3 files changed, 68 insertions(+), 4 deletions(-) diff --git a/games-roguelike/scourge/files/scourge-0.21.1-automake-1.13.patch b/games-roguelike/scourge/files/scourge-0.21.1-automake-1.13.patch index 44b817e..5c2bc20 100644 --- a/games-roguelike/scourge/files/scourge-0.21.1-automake-1.13.patch +++ b/games-roguelike/scourge/files/scourge-0.21.1-automake-1.13.patch @@ -1,5 +1,5 @@ ---- scourge-0.21.1.src/scourge/configure.in -+++ scourge-0.21.1.src/scourge/configure.in +--- a/configure.in ++++ b/configure.in @@ -4,7 +4,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(src/scourge.h) diff --git a/games-roguelike/scourge/files/scourge-0.21.1-gcc47.patch b/games-roguelike/scourge/files/scourge-0.21.1-gcc47.patch index 50c5cac..6f3f7b3 100644 --- a/games-roguelike/scourge/files/scourge-0.21.1-gcc47.patch +++ b/games-roguelike/scourge/files/scourge-0.21.1-gcc47.patch @@ -1,5 +1,5 @@ ---- src/squirrel/squtils.h.old 2012-08-30 18:06:43.474037926 +0200 -+++ src/squirrel/squtils.h 2012-08-30 18:14:13.300261523 +0200 +--- a/src/squirrel/squtils.h 2012-08-30 18:06:43.474037926 +0200 ++++ b/src/squirrel/squtils.h 2012-08-30 18:14:13.300261523 +0200 @@ -8,6 +8,9 @@ #define SQ_FREE(__ptr,__size) sq_vm_free(__ptr,__size); #define SQ_REALLOC(__ptr,__oldsize,__size) sq_vm_realloc(__ptr,__oldsize,__size); diff --git a/games-roguelike/scourge/scourge-0.21.1-r1.ebuild b/games-roguelike/scourge/scourge-0.21.1-r1.ebuild new file mode 100644 index 00000000..22ee6cf --- /dev/null +++ b/games-roguelike/scourge/scourge-0.21.1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit autotools eutils wxwidgets + +DESCRIPTION="A graphical rogue-like adventure game" +HOMEPAGE="https://sourceforge.net/projects/scourge/" +SRC_URI="mirror://sourceforge/${PN}/${P}.src.tar.gz + mirror://sourceforge/${PN}/${P}.data.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=" + media-libs/freetype:2 + media-libs/libsdl[joystick,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-net + media-libs/sdl-ttf + virtual/libintl + virtual/opengl + virtual/glu" +DEPEND="${RDEPEND} + sys-devel/gettext" + +S=${WORKDIR}/${PN} + +PATCHES=( + "${FILESDIR}"/${P}-gcc47.patch + "${FILESDIR}"/${P}-automake-1.13.patch +) + +src_prepare() { + default + + # bug #257601 + sed -i \ + -e '/AC_CHECK_HEADERS.*glext/ s:):, [#include <GL/gl.h>] ):' \ + configure.in || die + sed -i \ + -e '/snprintf/s/tmp, 256/tmp, sizeof(tmp)/' \ + src/scourgehandler.cpp || die + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf \ + --with-data-dir=/usr/share/${PN} \ + --localedir=/usr/share/locale +} + +src_install() { + default + insinto /usr/share/${PN} + doins -r ../scourge_data/* + doicon assets/scourge.png + make_desktop_entry scourge S.C.O.U.R.G.E. +}