diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-04-02 03:23:17 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-04-02 03:23:17 +0000 |
commit | 59c095ca02cfdb9deec8cba13164e73da058fabd (patch) | |
tree | 75c149f16f4e3843cb3bb285ae70fa5fffe896d1 /games-puzzle/brainparty | |
parent | Add append-libs() function (diff) | |
download | gentoo-2-59c095ca02cfdb9deec8cba13164e73da058fabd.tar.gz gentoo-2-59c095ca02cfdb9deec8cba13164e73da058fabd.tar.bz2 gentoo-2-59c095ca02cfdb9deec8cba13164e73da058fabd.zip |
initial commit - ebuild submitted by Chris Coleman via bug #312473
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/brainparty')
-rw-r--r-- | games-puzzle/brainparty/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/brainparty/brainparty-0.5.ebuild | 45 | ||||
-rw-r--r-- | games-puzzle/brainparty/metadata.xml | 5 |
3 files changed, 60 insertions, 0 deletions
diff --git a/games-puzzle/brainparty/ChangeLog b/games-puzzle/brainparty/ChangeLog new file mode 100644 index 000000000000..e64fa8e74418 --- /dev/null +++ b/games-puzzle/brainparty/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-puzzle/brainparty +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/brainparty/ChangeLog,v 1.1 2010/04/02 03:23:17 mr_bones_ Exp $ + +*brainparty-0.5 (02 Apr 2010) + + 02 Apr 2010; Michael Sterrett <mr_bones_@gentoo.org> + +brainparty-0.5.ebuild, +metadata.xml: + initial commit - ebuild submitted by Chris Coleman via bug #312473 + diff --git a/games-puzzle/brainparty/brainparty-0.5.ebuild b/games-puzzle/brainparty/brainparty-0.5.ebuild new file mode 100644 index 000000000000..e3e17b0a8857 --- /dev/null +++ b/games-puzzle/brainparty/brainparty-0.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/brainparty/brainparty-0.5.ebuild,v 1.1 2010/04/02 03:23:17 mr_bones_ Exp $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="A puzzle-solving, brain-stretching game for all ages" +HOMEPAGE="http://www.tuxradar.com/brainparty" +SRC_URI="http://www.tuxradar.com/files/brainparty/brainparty${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[audio,opengl,video] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf + media-libs/sdl-image[png] + media-libs/sdl-gfx" + +S=${WORKDIR}/${PN} + +src_prepare() { + sed -i \ + -e 's/CXXFLAGS = .*/CXXFLAGS+=-c/' \ + -e '/^CXX =/d' \ + -e '/-o brainparty/s/INCLUDES) /&$(LDFLAGS) /' \ + Makefile \ + || die "sed failed" + sed -i \ + "/^int main(/ a\\\\tchdir(\"${GAMES_DATADIR}/${PN}\");\n" \ + main.cpp \ + || die "sed failed" +} + +src_install() { + dogamesbin brainparty || die + insinto "${GAMES_DATADIR}/${PN}/Content" + doins Content/* || die + newicon Content/icon.bmp ${PN}.bmp + make_desktop_entry brainparty "Brain Party" /usr/share/pixmaps/${PN}.bmp + prepgamesdirs +} diff --git a/games-puzzle/brainparty/metadata.xml b/games-puzzle/brainparty/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-puzzle/brainparty/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> |