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 8C323139695 for ; Sat, 25 Mar 2017 12:48:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0DFA21C097; Sat, 25 Mar 2017 12:48:18 +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 89EA521C09E for ; Sat, 25 Mar 2017 12:48:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C1D034165C for ; Sat, 25 Mar 2017 12:48:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9EBD73C4 for ; Sat, 25 Mar 2017 12:48:15 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1490446055.a3f18aaa61a2e2b0ce2e97bb4082d66fb794197c.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/brainparty/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-puzzle/brainparty/brainparty-0.61-r1.ebuild X-VCS-Directories: games-puzzle/brainparty/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: a3f18aaa61a2e2b0ce2e97bb4082d66fb794197c X-VCS-Branch: master Date: Sat, 25 Mar 2017 12:48:15 +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: ede851a2-d368-4c0e-889b-8b0115234906 X-Archives-Hash: def3a30c96c394326d6be1447029ad2b commit: a3f18aaa61a2e2b0ce2e97bb4082d66fb794197c Author: Peter-Levine gmail com> AuthorDate: Fri Mar 24 16:58:20 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Mar 25 12:47:35 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3f18aaa games-puzzle/brainparty: Revbump for EAPI 6 support Package-Manager: Portage-2.3.5, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4220 games-puzzle/brainparty/brainparty-0.61-r1.ebuild | 55 +++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/games-puzzle/brainparty/brainparty-0.61-r1.ebuild b/games-puzzle/brainparty/brainparty-0.61-r1.ebuild new file mode 100644 index 00000000000..97d4b35c28a --- /dev/null +++ b/games-puzzle/brainparty/brainparty-0.61-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="A puzzle-solving, brain-stretching game for all ages" +HOMEPAGE="http://www.tuxradar.com/brainparty" +SRC_URI="https://launchpad.net/brainparty/trunk/${PV}/+download/${PN}${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + media-libs/libsdl[sound,opengl,video] + media-libs/sdl-gfx + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} + +PATCHES=( + "${FILESDIR}"/${P}-savegame.patch + "${FILESDIR}"/${P}-gcc49.patch + "${FILESDIR}"/${P}-gnu_cxx-hash.patch +) + +src_prepare() { + default + + sed -i \ + -e 's/$(LIBS) $(OSXCOMPAT) $(OBJFILES)/$(OSXCOMPAT) $(OBJFILES) $(LIBS)/' \ + -e 's/CXXFLAGS = .*/CXXFLAGS+=-c/' \ + -e '/^CXX =/d' \ + -e '/-o brainparty/s/INCLUDES) /&$(LDFLAGS) /' \ + Makefile || die + sed -i \ + "/^int main(/ a\\\\tchdir(\"/usr/share/${PN}\");\n" \ + main.cpp || die +} + +src_install() { + dobin brainparty + + insinto /usr/share/${PN}/Content + doins -r Content/. + + newicon Content/icon.bmp ${PN}.bmp + make_desktop_entry brainparty "Brain Party" /usr/share/pixmaps/${PN}.bmp +}