summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-11-12 04:02:23 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-11-12 04:02:23 +0000
commit34cdd20accad24e5b2b2426dcca4412aa087113f (patch)
tree9199dbbdf0c8e064052af80722723ca8c3fd5cd8 /games-action/openastromenace
parentupstream website went away (diff)
downloadgentoo-2-34cdd20accad24e5b2b2426dcca4412aa087113f.tar.gz
gentoo-2-34cdd20accad24e5b2b2426dcca4412aa087113f.tar.bz2
gentoo-2-34cdd20accad24e5b2b2426dcca4412aa087113f.zip
version bump
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-action/openastromenace')
-rw-r--r--games-action/openastromenace/ChangeLog8
-rw-r--r--games-action/openastromenace/openastromenace-1.3.2.ebuild75
2 files changed, 82 insertions, 1 deletions
diff --git a/games-action/openastromenace/ChangeLog b/games-action/openastromenace/ChangeLog
index 4dc47b7c3c51..3bccb93f9625 100644
--- a/games-action/openastromenace/ChangeLog
+++ b/games-action/openastromenace/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/openastromenace
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/openastromenace/ChangeLog,v 1.16 2013/02/07 21:58:59 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/openastromenace/ChangeLog,v 1.17 2013/11/12 04:02:23 mr_bones_ Exp $
+
+*openastromenace-1.3.2 (12 Nov 2013)
+
+ 12 Nov 2013; Michael Sterrett <mr_bones_@gentoo.org>
+ +openastromenace-1.3.2.ebuild:
+ version bump
07 Feb 2013; Ulrich Müller <ulm@gentoo.org> openastromenace-1.3.1-r1.ebuild:
Move Creative Commons licenses to shorter names.
diff --git a/games-action/openastromenace/openastromenace-1.3.2.ebuild b/games-action/openastromenace/openastromenace-1.3.2.ebuild
new file mode 100644
index 000000000000..69e528586f5a
--- /dev/null
+++ b/games-action/openastromenace/openastromenace-1.3.2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/openastromenace/openastromenace-1.3.2.ebuild,v 1.1 2013/11/12 04:02:23 mr_bones_ Exp $
+
+EAPI=5
+inherit gnome2-utils cmake-utils eutils games
+
+DESCRIPTION="Modern 3D space shooter with spaceship upgrade possibilities"
+HOMEPAGE="http://sourceforge.net/projects/openastromenace/"
+SRC_URI="mirror://sourceforge/openastromenace/${PV}/astromenace-src-${PV}.tar.bz2"
+
+LICENSE="GPL-3 GPL-3+ CC-BY-SA-3.0 UbuntuFontLicense-1.0 OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="virtual/opengl
+ virtual/glu
+ media-libs/libsdl[joystick,video,X]
+ media-libs/openal
+ media-libs/freealut
+ media-libs/freetype:2
+ media-libs/libogg
+ media-libs/libvorbis
+ x11-libs/libXinerama"
+
+S=${WORKDIR}/AstroMenace
+
+src_prepare() {
+ # no messing with CXXFLAGS please.
+ sed -i -e '/-Os/d' CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs="-DDATADIR=${GAMES_DATADIR}/${PN}"
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ "${CMAKE_BUILD_DIR}"/AstroMenace --pack \
+ --rawdata="${S}"/RAW_VFS_DATA \
+ --dir=$(dirname "${CMAKE_BUILD_DIR}") || die
+}
+
+src_install() {
+ newgamesbin "${CMAKE_BUILD_DIR}"/AstroMenace "${PN}"
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins ../*.vfs
+
+ newicon -s 128 astromenace_128.png ${PN}.png
+ newicon -s 64 astromenace_64.png ${PN}.png
+
+ dodoc ChangeLog.txt ReadMe.txt
+
+ make_desktop_entry "${PN}" OpenAstroMenace
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}