diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2011-05-29 10:06:39 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2011-05-29 10:06:39 +0000 |
commit | 2187584686008379b83298a897886baeb0e81bb9 (patch) | |
tree | c7ec8df25f0f3b2c9a40b6a7de8875ea7ee7e3a8 /games-strategy | |
parent | stable x86, bug 368307 (diff) | |
download | gentoo-2-2187584686008379b83298a897886baeb0e81bb9.tar.gz gentoo-2-2187584686008379b83298a897886baeb0e81bb9.tar.bz2 gentoo-2-2187584686008379b83298a897886baeb0e81bb9.zip |
Version bump by ssuominen, acked by mr_bones_
(Portage version: 2.2.0_alpha36/cvs/Linux x86_64)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/naev/ChangeLog | 9 | ||||
-rw-r--r-- | games-strategy/naev/naev-0.5.0_beta2.ebuild | 82 |
2 files changed, 89 insertions, 2 deletions
diff --git a/games-strategy/naev/ChangeLog b/games-strategy/naev/ChangeLog index ae88e1a390b5..90b8e4293c09 100644 --- a/games-strategy/naev/ChangeLog +++ b/games-strategy/naev/ChangeLog @@ -1,6 +1,11 @@ # 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.3 2010/04/27 15:30:36 ssuominen Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/naev/ChangeLog,v 1.4 2011/05/29 10:06:39 xarthisius Exp $ + +*naev-0.5.0_beta2 (29 May 2011) + + 29 May 2011; Kacper Kowalik <xarthisius@gentoo.org> +naev-0.5.0_beta2.ebuild: + Version bump by ssuominen 27 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> naev-0.4.2.ebuild: amd64 stable wrt #315913 diff --git a/games-strategy/naev/naev-0.5.0_beta2.ebuild b/games-strategy/naev/naev-0.5.0_beta2.ebuild new file mode 100644 index 000000000000..8191238332f2 --- /dev/null +++ b/games-strategy/naev/naev-0.5.0_beta2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/naev/naev-0.5.0_beta2.ebuild,v 1.1 2011/05/29 10:06:39 xarthisius Exp $ + +EAPI=2 +inherit gnome2-utils eutils games + +MY_PV=${PV/_/-} +MY_P=${PN}-${MY_PV} + +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/${MY_P}.tar.bz2 + http://naev.googlecode.com/files/ndata-${MY_PV}" + +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.4 + media-libs/sdl-image[png] + virtual/glu + virtual/opengl + mixer? ( media-libs/sdl-mixer ) + openal? ( media-libs/openal )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${MY_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}" \ + appicondir=/usr/share/icons/hicolor/32x32/apps \ + Graphicsdir=/usr/share/applications \ + install || die + + insinto "${GAMES_DATADIR}"/${PN} + newins "${DISTDIR}"/ndata-${MY_PV} ndata || die + + local res + for res in 16 64 128 256; do + insinto /usr/share/icons/hicolor/${res}x${res}/apps + newins extras/logos/logo${res}.png naev.png || die + done + + domenu naev.desktop + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}
\ No newline at end of file |