diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2013-12-31 07:37:36 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2013-12-31 07:37:36 +0000 |
commit | 4c4dedce1988d0fe21810697b4341f9a6ed7982c (patch) | |
tree | 030363fda00ba4e409acdff7eec111f898f08ba7 /games-action/openastromenace | |
parent | old (diff) | |
download | gentoo-2-4c4dedce1988d0fe21810697b4341f9a6ed7982c.tar.gz gentoo-2-4c4dedce1988d0fe21810697b4341f9a6ed7982c.tar.bz2 gentoo-2-4c4dedce1988d0fe21810697b4341f9a6ed7982c.zip |
old
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-action/openastromenace')
4 files changed, 6 insertions, 120 deletions
diff --git a/games-action/openastromenace/ChangeLog b/games-action/openastromenace/ChangeLog index 4a0c5b283504..42ce1e51a1f7 100644 --- a/games-action/openastromenace/ChangeLog +++ b/games-action/openastromenace/ChangeLog @@ -1,6 +1,11 @@ # 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.20 2013/12/24 12:51:31 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/openastromenace/ChangeLog,v 1.21 2013/12/31 07:37:35 mr_bones_ Exp $ + + 31 Dec 2013; Michael Sterrett <mr_bones_@gentoo.org> + -files/openastromenace-1.2.0-cmake.patch, + -files/openastromenace-1.2.0-mesa.patch, -openastromenace-1.2.0.ebuild: + old 24 Dec 2013; Agostino Sarubbo <ago@gentoo.org> openastromenace-1.3.2.ebuild: Stable for x86, wrt bug #494338 diff --git a/games-action/openastromenace/files/openastromenace-1.2.0-cmake.patch b/games-action/openastromenace/files/openastromenace-1.2.0-cmake.patch deleted file mode 100644 index dd9f9c3bdc18..000000000000 --- a/games-action/openastromenace/files/openastromenace-1.2.0-cmake.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- CMakeLists.txt -+++ CMakeLists.txt -@@ -13,6 +13,8 @@ - # ./AstroMenace - # - -+CMAKE_MINIMUM_REQUIRED(VERSION 2.4) -+ - # project name - PROJECT(AstroMenace) - -@@ -43,9 +45,12 @@ - IF(DEFINED DATADIR) - ADD_DEFINITIONS(-DDATADIR=\\"${DATADIR}\\") - ENDIF(DEFINED DATADIR) -- ADD_DEFINITIONS(`${SDL_CONFIG} --cflags` -Wall) -+ EXEC_PROGRAM(${SDL_CONFIG} ARGS "--cflags" OUTPUT_VARIABLE SDL_CFLAGS) -+ EXEC_PROGRAM(${SDL_CONFIG} ARGS "--libs" OUTPUT_VARIABLE SDL_LIBS) -+ -+ ADD_DEFINITIONS(${SDL_CFLAGS}) - ADD_EXECUTABLE(AstroMenace ${astromenace_SRCS}) -- TARGET_LINK_LIBRARIES(AstroMenace `${SDL_CONFIG} --libs` ${OPENGL_gl_LIBRARY} ${OPENAL_LIBRARY} ${JPEG_LIBRARY} ${GLU_LIBRARY} -lalut -lvorbis -lvorbisfile) -+ TARGET_LINK_LIBRARIES(AstroMenace ${SDL_LIBS} ${OPENGL_gl_LIBRARY} ${OPENAL_LIBRARY} ${JPEG_LIBRARY} ${GLU_LIBRARY} -lalut -lvorbis -lvorbisfile) - IF(CYGWIN) - TARGET_LINK_LIBRARIES(AstroMenace -lGL.dll -lGLU.dll -lglfw -lX11.dll) - # ADD_DEFINITIONS(-mno-cygwin) diff --git a/games-action/openastromenace/files/openastromenace-1.2.0-mesa.patch b/games-action/openastromenace/files/openastromenace-1.2.0-mesa.patch deleted file mode 100644 index 1802d8e70559..000000000000 --- a/games-action/openastromenace/files/openastromenace-1.2.0-mesa.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- OpenAstroMenaceSVN/AstroMenaceSource/Core/RendererInterface/RendererInterface.h.orig -+++ OpenAstroMenaceSVN/AstroMenaceSource/Core/RendererInterface/RendererInterface.h -@@ -37,6 +37,7 @@ - #include "../Base.h" - #include "../Math/Math.h" - #include "../Texture/Texture.h" -+#define PFNGLCLIENTACTIVETEXTUREPROC PFNGLACTIVETEXTUREPROC - - - diff --git a/games-action/openastromenace/openastromenace-1.2.0.ebuild b/games-action/openastromenace/openastromenace-1.2.0.ebuild deleted file mode 100644 index a045a4b6762e..000000000000 --- a/games-action/openastromenace/openastromenace-1.2.0.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/openastromenace/openastromenace-1.2.0.ebuild,v 1.10 2011/07/07 02:41:31 mr_bones_ Exp $ - -EAPI=2 -inherit flag-o-matic cmake-utils eutils games - -DESCRIPTION="Modern 3D space shooter with spaceship upgrade possibilities" -HOMEPAGE="http://sourceforge.net/projects/openastromenace/" -SRC_URI="mirror://sourceforge/${PN}/openamenace-src-${PV}.tar.bz2 - mirror://sourceforge/${PN}/oamenace-data-${PV}.tar.bz2 - linguas_en? ( mirror://sourceforge/${PN}/oamenace-lang-en-${PV}.tar.bz2 ) - linguas_de? ( mirror://sourceforge/${PN}/oamenace-lang-de-${PV}.tar.bz2 ) - linguas_ru? ( mirror://sourceforge/${PN}/oamenace-lang-ru-${PV}.tar.bz2 ) - !linguas_en? ( !linguas_de? ( !linguas_ru? ( mirror://sourceforge/${PN}/oamenace-lang-en-${PV}.tar.bz2 ) ) ) - mirror://gentoo/${PN}.png" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="linguas_en linguas_de linguas_ru" - -DEPEND="virtual/opengl - virtual/glu - media-libs/libsdl[joystick,video,X] - media-libs/openal - media-libs/freealut - media-libs/libogg - media-libs/libvorbis - virtual/jpeg" - -S=${WORKDIR}/OpenAstroMenaceSVN - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-cmake.patch \ - "${FILESDIR}"/${P}-mesa.patch - if use linguas_en ; then - einfo "Picking en for language set" - mv ../gamelang_en.vfs ../gamelang.vfs - elif use linguas_de ; then - einfo "Picking de for language set" - sed -i \ - -e '/^#define EN/s:^://:' \ - -e '/#define DE/s://::' \ - AstroMenaceSource/Defines.h \ - || die "sed failed" - mv ../gamelang_de.vfs ../gamelang.vfs - elif use linguas_ru ; then - einfo "Picking ru for language set" - sed -i \ - -e '/^#define EN/s:^://:' \ - -e '/#define RU/s://::' \ - AstroMenaceSource/Defines.h \ - || die "sed failed" - mv ../gamelang_ru.vfs ../gamelang.vfs - else - einfo "Picking en for language set" - mv ../gamelang_en.vfs ../gamelang.vfs - fi - rm -f ../gamelang_* -} - -src_configure() { - local mycmakeargs="-DDATADIR=${GAMES_DATADIR}/${PN}" - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - newgamesbin "${CMAKE_BUILD_DIR}"/AstroMenace ${PN} \ - || die "newgamesbin failed" - insinto "${GAMES_DATADIR}"/${PN} - doins -r ../DATA ../*.vfs || die "doins failed" - doicon "${DISTDIR}"/${PN}.png - make_desktop_entry ${PN} OpenAstroMenace - dodoc ReadMe.txt - prepgamesdirs -} |