summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-18 17:50:59 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-18 17:50:59 +0000
commitf3ba163526ad5e3fd4c99ffd5d2caf77fd1199ee (patch)
tree9d8b9b82204a33ad9f06aecb0f616e2566cf5f74 /games-strategy/naev
parentVersion bump (diff)
downloadhistorical-f3ba163526ad5e3fd4c99ffd5d2caf77fd1199ee.tar.gz
historical-f3ba163526ad5e3fd4c99ffd5d2caf77fd1199ee.tar.bz2
historical-f3ba163526ad5e3fd4c99ffd5d2caf77fd1199ee.zip
Initial commit.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'games-strategy/naev')
-rw-r--r--games-strategy/naev/ChangeLog9
-rw-r--r--games-strategy/naev/Manifest5
-rw-r--r--games-strategy/naev/metadata.xml11
-rw-r--r--games-strategy/naev/naev-0.4.2.ebuild56
4 files changed, 81 insertions, 0 deletions
diff --git a/games-strategy/naev/ChangeLog b/games-strategy/naev/ChangeLog
new file mode 100644
index 000000000000..4b81d5221a5f
--- /dev/null
+++ b/games-strategy/naev/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for games-strategy/naev
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/naev/ChangeLog,v 1.1 2010/03/18 17:50:59 ssuominen Exp $
+
+*naev-0.4.2 (18 Mar 2010)
+
+ 18 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> +naev-0.4.2.ebuild:
+ Initial commit.
+
diff --git a/games-strategy/naev/Manifest b/games-strategy/naev/Manifest
new file mode 100644
index 000000000000..98d4b9cef445
--- /dev/null
+++ b/games-strategy/naev/Manifest
@@ -0,0 +1,5 @@
+DIST naev-0.4.2.tar.bz2 633072 RMD160 c2d6e67e2b881923592adecc97af257a5d0bce17 SHA1 ff9928c8196c23bcfd35117989b23278c7ec1331 SHA256 91724f57591198a5bc1bc47518779b10bfb58251ed8dd2de63d7ece18deff1b2
+DIST ndata-0.4.2 140366052 RMD160 b0ed6fcf443fa4c3aa2ac7e16927b5b42fbc7d78 SHA1 4a1da953cbf4ccf90e44151849afff05f2cfdc3b SHA256 3e1f4dc1c7f99fd3fb42c3a966f1fc3f4ac9fcdcedf25326d12c25200414dbf8
+EBUILD naev-0.4.2.ebuild 1521 RMD160 a572f031b6ffcf15d014c797d7cc70157eed0c1b SHA1 ca7299a5fa9a529b9b5b0100f3bb73102b7cefd6 SHA256 4d093acfb9ddd52270b84ccf41d4d720e905064b903d0d3df7959fa567b3a320
+MISC ChangeLog 334 RMD160 14bb1b46c339fd03b03df1b0d391ca8b500466a2 SHA1 3425b7bb4b8ddf155f6180a5229203e62eaccb34 SHA256 445662a44cd3c3ad65f9a6f358800bb5019db5dde19be81bba992634da1486cf
+MISC metadata.xml 308 RMD160 f7395452605fcfcef405f50aa9e1707b889d18fa SHA1 b384f1d04a9cc84d68ec05ca0798a401b5b259d7 SHA256 f390ca2a4fec9b2be7a9fd5fa114aaf24f334a614a935f5a13c6ea340aeea145
diff --git a/games-strategy/naev/metadata.xml b/games-strategy/naev/metadata.xml
new file mode 100644
index 000000000000..fad26f6fe891
--- /dev/null
+++ b/games-strategy/naev/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<use>
+ <flag name="mixer">
+ Enables <pkg>media-libs/sdl-mixer</pkg> sound backend in addition to
+ <pkg>media-libs/openal</pkg> one.
+ </flag>
+</use>
+</pkgmetadata>
diff --git a/games-strategy/naev/naev-0.4.2.ebuild b/games-strategy/naev/naev-0.4.2.ebuild
new file mode 100644
index 000000000000..32621a2ceaff
--- /dev/null
+++ b/games-strategy/naev/naev-0.4.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/naev/naev-0.4.2.ebuild,v 1.1 2010/03/18 17:50:59 ssuominen Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity"
+HOMEPAGE="http://code.google.com/p/naev/"
+SRC_URI="http://naev.googlecode.com/files/${P}.tar.bz2
+ http://naev.googlecode.com/files/ndata-${PV}"
+# http://naev.googlecode.com/svn/trunk/site/${PN}-logo-small.png"
+
+LICENSE="GPL-2 GPL-3 public-domain CCPL-Attribution-3.0 CCPL-Attribution-ShareAlike-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +mixer +openal"
+
+RDEPEND="media-libs/libsdl[X,audio,video]
+ dev-libs/libxml2
+ >=media-libs/freetype-2
+ >=media-libs/libvorbis-1.2.1
+ >=media-libs/libpng-1.2.40
+ media-libs/sdl-image[png]
+ virtual/glu
+ virtual/opengl
+ mixer? ( media-libs/sdl-mixer )
+ openal? ( media-libs/openal )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${P}.tar.bz2
+}
+
+src_configure() {
+ egamesconf \
+ --docdir=/usr/share/doc/${PF} \
+ --disable-dependency-tracking \
+ $(use_enable debug) \
+ $(use_with openal) \
+ $(use_with mixer sdlmixer)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS conf.example README TODO
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ newins "${DISTDIR}"/ndata-${PV} ndata || die
+
+# newicon "${DISTDIR}"/${PN}-logo-small.png ${PN}.png
+ make_desktop_entry ${PN} "NAEV - Sea of Darkness"
+
+ prepgamesdirs
+}