summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago M. Mola <coldwind@gentoo.org>2007-02-09 17:16:55 +0000
committerSantiago M. Mola <coldwind@gentoo.org>2007-02-09 17:16:55 +0000
commit346d4b57d18cefa93e9a614bd81cbf61cab6af45 (patch)
treee9f0d08c194a3f9ded5e49df1b5929fca33c1efe /games-arcade
parentapp-text/pdfedit 0.2.5 version bump (diff)
downloadsunrise-346d4b57d18cefa93e9a614bd81cbf61cab6af45.tar.gz
sunrise-346d4b57d18cefa93e9a614bd81cbf61cab6af45.tar.bz2
sunrise-346d4b57d18cefa93e9a614bd81cbf61cab6af45.zip
games-arcade/diameter: Initial ebuild for bug #156084 Thanks to Paul Bredbury <brebs@sent.com>, Tristan Heaven <nyhm@gentoo.org> and Uriy Zhuravlev <stalkerg@mail.ru>
svn path=/sunrise/; revision=2980
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/diameter/ChangeLog9
-rw-r--r--games-arcade/diameter/Manifest16
-rw-r--r--games-arcade/diameter/diameter-0.4.0.1.ebuild52
-rw-r--r--games-arcade/diameter/files/digest-diameter-0.4.0.13
-rw-r--r--games-arcade/diameter/metadata.xml5
5 files changed, 85 insertions, 0 deletions
diff --git a/games-arcade/diameter/ChangeLog b/games-arcade/diameter/ChangeLog
new file mode 100644
index 000000000..e994bc2d1
--- /dev/null
+++ b/games-arcade/diameter/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for games-arcade/diameter
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 09 Feb 2007; Santiago M. Mola <cooldwind@gmail.com>
+ +diameter-0.4.0.1.ebuild, +metadata.xml:
+ Initial ebuild for bug #156084 Thanks to Paul Bredbury <brebs@sent.com>,
+ Tristan Heaven <nyhm@gentoo.org> and Uriy Zhuravlev <stalkerg@mail.ru>
+
diff --git a/games-arcade/diameter/Manifest b/games-arcade/diameter/Manifest
new file mode 100644
index 000000000..9a2b50e40
--- /dev/null
+++ b/games-arcade/diameter/Manifest
@@ -0,0 +1,16 @@
+DIST diameter-0.4.0.1.tar.bz2 4760022 RMD160 44f2d3f9551280e61af65bdb4fdeb708b7f790e4 SHA1 be201d0af76fd13ea5439a619476b9714e618e8f SHA256 c62687bbd469cec4ef99f73bf4682b645119943dbd4f55143f60cc7427afe68f
+EBUILD diameter-0.4.0.1.ebuild 1246 RMD160 69f6307f9eb2384d5227ed9827cc714a0d6566a7 SHA1 c11de0a65ff47bbfec5b1f1e758cb670e9753104 SHA256 9b5f98a4adf4b3fae39aba1cbb4b2e59a8e53a44bcd03c892a536ee29052a61d
+MD5 16dc21f1e058078fae5818fd6b3e6784 diameter-0.4.0.1.ebuild 1246
+RMD160 69f6307f9eb2384d5227ed9827cc714a0d6566a7 diameter-0.4.0.1.ebuild 1246
+SHA256 9b5f98a4adf4b3fae39aba1cbb4b2e59a8e53a44bcd03c892a536ee29052a61d diameter-0.4.0.1.ebuild 1246
+MISC ChangeLog 368 RMD160 e2f1737e435300a07bc087e560590d95ad5bec83 SHA1 bc1fefb8dacda898aabede709f13c8bffc75dc05 SHA256 815da29ac779eb4a4446ec211c098561a2d676ecffeb5940ab16bb17dcfb7873
+MD5 a8b237f0064645843a89bb958c9e39bd ChangeLog 368
+RMD160 e2f1737e435300a07bc087e560590d95ad5bec83 ChangeLog 368
+SHA256 815da29ac779eb4a4446ec211c098561a2d676ecffeb5940ab16bb17dcfb7873 ChangeLog 368
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 b5e255bafc2504b36f15772aeb6f4011 files/digest-diameter-0.4.0.1 256
+RMD160 a0b716aa58212b7ee6e5f33c0d65c424013d32e7 files/digest-diameter-0.4.0.1 256
+SHA256 e1f75c1bda3df8587144bde90381eebf4ca24e78f6f180d812d736ad5ff8ddfb files/digest-diameter-0.4.0.1 256
diff --git a/games-arcade/diameter/diameter-0.4.0.1.ebuild b/games-arcade/diameter/diameter-0.4.0.1.ebuild
new file mode 100644
index 000000000..98c91c10e
--- /dev/null
+++ b/games-arcade/diameter/diameter-0.4.0.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_PN="game${PN}"
+
+DESCRIPTION="an arcade-style game with elements of economy and adventure."
+HOMEPAGE="http://gamediameter.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-games/guichan
+ >=dev-lang/python-2.3.5
+ media-libs/libpng
+ media-libs/libsdl
+ >=media-libs/sdl-image-1.2.4
+ media-libs/sdl-mixer"
+DEPEND="${DEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_PN}
+
+pkg_setup() {
+ games_pkg_setup
+
+ if ! built_with_use "dev-games/guichan" opengl \
+ || ! built_with_use "dev-games/guichan" sdl ; then
+ eerror "${PN} needs dev-games/guichan compiled with USE=\"opengl sdl\"."
+ die "dev-games/guichan without USE=\"opengl sdl\""
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "/^CFLAGS=.*march/ d" \
+ -e "s/gamediameter/diameter/g" configure || die "sed configure failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newicon data/texture/gui/eng/main/logo.png ${PN}.png
+ make_desktop_entry ${PN} "Diameter" ${PN}.png "Game;ArcadeGame"
+ dodoc README NEWS
+ prepgamesdirs
+}
diff --git a/games-arcade/diameter/files/digest-diameter-0.4.0.1 b/games-arcade/diameter/files/digest-diameter-0.4.0.1
new file mode 100644
index 000000000..99016eb17
--- /dev/null
+++ b/games-arcade/diameter/files/digest-diameter-0.4.0.1
@@ -0,0 +1,3 @@
+MD5 9a6c397c99188d0dc214b4455c2bf032 diameter-0.4.0.1.tar.bz2 4760022
+RMD160 44f2d3f9551280e61af65bdb4fdeb708b7f790e4 diameter-0.4.0.1.tar.bz2 4760022
+SHA256 c62687bbd469cec4ef99f73bf4682b645119943dbd4f55143f60cc7427afe68f diameter-0.4.0.1.tar.bz2 4760022
diff --git a/games-arcade/diameter/metadata.xml b/games-arcade/diameter/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/games-arcade/diameter/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>maintainer-wanted</herd>
+</pkgmetadata>