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 | c8e73a457456f3a1e49d160513c813e5f280a56a (patch) | |
tree | ff271988ccaade60c266fa5fc97698ad870aa1bd /games-puzzle/brainparty | |
parent | Add append-libs() function (diff) | |
download | historical-c8e73a457456f3a1e49d160513c813e5f280a56a.tar.gz historical-c8e73a457456f3a1e49d160513c813e5f280a56a.tar.bz2 historical-c8e73a457456f3a1e49d160513c813e5f280a56a.zip |
initial commit - ebuild submitted by Chris Coleman via bug #312473
Package-Manager: portage-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/Manifest | 4 | ||||
-rw-r--r-- | games-puzzle/brainparty/brainparty-0.5.ebuild | 45 | ||||
-rw-r--r-- | games-puzzle/brainparty/metadata.xml | 5 |
4 files changed, 64 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/Manifest b/games-puzzle/brainparty/Manifest new file mode 100644 index 000000000000..b57b39bd4cfa --- /dev/null +++ b/games-puzzle/brainparty/Manifest @@ -0,0 +1,4 @@ +DIST brainparty0.5.tar.gz 40660328 RMD160 a14b14c25ea5ead104f6d1ad2332ee63a2936b4c SHA1 07f70f6c6ff544149f73eb5e3287f9b01328e670 SHA256 db373cf2657ee3cbea235fe6ef2dd6cb8f3e3651895f62e7b69d85bacad795c6 +EBUILD brainparty-0.5.ebuild 1189 RMD160 1ffcbae44158217b505b314f0dd866debc34a8b8 SHA1 0947064bbebf98e96fddb0bff0eaad8b17c620cd SHA256 829b72b408741db90539e8a59101e1442aace3d2916b8af365f6ff513ea48995 +MISC ChangeLog 419 RMD160 89b1738a5ea4147c96ece33dcb209807bf2514ce SHA1 f9082c7feba651c5112ce4592bb11336e4e26fad SHA256 7168fcccd40674cef43e35a92329b7009e7c074eef23ec8033161ffd6fb294bf +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 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> |