diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-11-11 07:29:02 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-11-11 07:29:02 +0000 |
commit | d3f2a825c50e406102ff7972ccc248fe4ffeed74 (patch) | |
tree | 5a0c1432c15d4fd7083c5fda59aa8c794ee4396e /games-strategy | |
parent | amd64 stable wrt #198656 (diff) | |
download | gentoo-2-d3f2a825c50e406102ff7972ccc248fe4ffeed74.tar.gz gentoo-2-d3f2a825c50e406102ff7972ccc248fe4ffeed74.tar.bz2 gentoo-2-d3f2a825c50e406102ff7972ccc248fe4ffeed74.zip |
old
(Portage version: 2.1.3.19)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/ufo-ai/files/0.10.040218-Makefile.patch | 61 | ||||
-rw-r--r-- | games-strategy/ufo-ai/files/digest-ufo-ai-0.10.040218 | 4 | ||||
-rw-r--r-- | games-strategy/ufo-ai/files/digest-ufo-ai-2.1.1 | 12 | ||||
-rw-r--r-- | games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild | 58 | ||||
-rw-r--r-- | games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild | 144 |
5 files changed, 0 insertions, 279 deletions
diff --git a/games-strategy/ufo-ai/files/0.10.040218-Makefile.patch b/games-strategy/ufo-ai/files/0.10.040218-Makefile.patch deleted file mode 100644 index 38d713b2a3ea..000000000000 --- a/games-strategy/ufo-ai/files/0.10.040218-Makefile.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- Makefile.orig 2004-03-11 13:22:44.000000000 +0100 -+++ Makefile 2004-03-11 13:25:04.000000000 +0100 -@@ -20,9 +20,14 @@ - ARCH=axp - RPMARCH=alpha - else -+ifneq (,$(findstring ppc,$(shell uname -m))) -+ARCH=ppc -+RPMARCH=ppc -+else - ARCH=i386 - RPMARCH=i386 - endif -+endif - NOARCH=noarch - - MOUNT_DIR=.. -@@ -54,8 +59,8 @@ - RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -ffast-math -funroll-loops \ - -fomit-frame-pointer -fexpensive-optimizations - else --RELEASE_CFLAGS=$(BASE_CFLAGS) -g -mcpu=pentiumpro -O6 -ffast-math -funroll-loops \ -- -fomit-frame-pointer -fexpensive-optimizations -+RELEASE_CFLAGS=-ffast-math -funroll-loops $(BASE_CFLAGS) -+# -fomit-frame-pointer -fexpensive-optimizations - endif - - DEBUG_CFLAGS=$(BASE_CFLAGS) -g -@@ -64,9 +69,9 @@ - XLDFLAGS=-L/usr/X11R6/lib -lX11 -lXext -lXxf86dga - XCFLAGS= - --GLLDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -L$(MESA_DIR)/lib -lX11 -lXext -lm -ljpeg --GLXLDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -L$(MESA_DIR)/lib -lX11 -lXext -lXxf86dga -lXxf86vm -lm -ljpeg --GLCFLAGS=-I$(MESA_DIR)/include -I/usr/include/glide -+GLLDFLAGS=-L/usr/X11R6/lib -lX11 -lXext -lm -ljpeg -+GLXLDFLAGS=-L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm -lm -ljpeg -+#GLCFLAGS=-I$(MESA_DIR)/include -I/usr/include/glide - - SHLIBEXT=so - -@@ -100,6 +105,8 @@ - $(BUILDDIR)/ref_gl.$(SHLIBEXT) - endif - -+RELEASE_CFLAGS += $(OPTCFLAGS) -+ - build_debug: - @-mkdir $(BUILD_DEBUG_DIR) \ - $(BUILD_DEBUG_DIR)/client \ ---- sys_linux.c.orig 2004-03-11 13:22:48.000000000 +0100 -+++ sys_linux.c 2004-03-11 13:22:53.000000000 +0100 -@@ -223,6 +223,8 @@ - const char *gamename = "gamei386.so";
- #elif defined __alpha__
- const char *gamename = "gameaxp.so";
-+#elif defined __powerpc__
-+ const char *gamename = "gameppc.so";
- #else
- #error Unknown arch
- #endif
diff --git a/games-strategy/ufo-ai/files/digest-ufo-ai-0.10.040218 b/games-strategy/ufo-ai/files/digest-ufo-ai-0.10.040218 deleted file mode 100644 index c66496dd1e02..000000000000 --- a/games-strategy/ufo-ai/files/digest-ufo-ai-0.10.040218 +++ /dev/null @@ -1,4 +0,0 @@ -RMD160 7a376f617915c2d3f537cf7d50827eccca03fc97 linux_ufoaidemo.zip 30745560 -SHA256 3fe261ce6808743bbfcddbdb324f521afef7446c84f162fcc8c5558fe1751e33 linux_ufoaidemo.zip 30745560 -RMD160 7ca428ae08021ce7366bdaef02cbe6a0b5a99270 ufoai_source_040218.zip 1548520 -SHA256 6d6b5b3b8e045742cbbef77d1a042102310f8452b5b4e0be363f15a86b7af748 ufoai_source_040218.zip 1548520 diff --git a/games-strategy/ufo-ai/files/digest-ufo-ai-2.1.1 b/games-strategy/ufo-ai/files/digest-ufo-ai-2.1.1 deleted file mode 100644 index 938ce810776a..000000000000 --- a/games-strategy/ufo-ai/files/digest-ufo-ai-2.1.1 +++ /dev/null @@ -1,12 +0,0 @@ -MD5 7a832663638fa6eeedd0abd187edbe63 music.tar.bz2 33767479 -RMD160 a216e484e3421d0af165bb70365bcdb9a5285508 music.tar.bz2 33767479 -SHA256 1d4bdabcd5f30657fbec49d0af02c8b4a6ce42e208bdc101172c667de4781751 music.tar.bz2 33767479 -MD5 ae2ebfeaf34afab92638e128c76860b9 ufoai-2.1.1-data.tar 267755520 -RMD160 ddbf856710c18ed4b73061b14ed340b70b083ea4 ufoai-2.1.1-data.tar 267755520 -SHA256 5e92950f93d0dcef7fbdefc0c0da6f398b06476837bfce79243baa6227176f7c ufoai-2.1.1-data.tar 267755520 -MD5 e3d628c3bfde98b933620c6c30160666 ufoai-2.1.1-i18n.tar.bz2 1065252 -RMD160 2eb8a9551eae2268dcfffdef3a6ad44f7becf04f ufoai-2.1.1-i18n.tar.bz2 1065252 -SHA256 ed3467118be97bcd27f983567ba09f2cf5492841c10a595b2bc51b4d1c48738e ufoai-2.1.1-i18n.tar.bz2 1065252 -MD5 8f65edf93b7645dc68104f4542825dd5 ufoai-2.1.1-source.tar.bz2 6896537 -RMD160 cde3338705c41982c4ade660adbd1b26667c6c43 ufoai-2.1.1-source.tar.bz2 6896537 -SHA256 9a2866aa94296c53d904f6f9bf314fc1f10d51220efeb1c154b7604d6f5ff0cb ufoai-2.1.1-source.tar.bz2 6896537 diff --git a/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild b/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild deleted file mode 100644 index 6c6d84291df5..000000000000 --- a/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild,v 1.18 2006/12/06 21:06:04 wolf31o2 Exp $ - -inherit eutils flag-o-matic games - -DESCRIPTION="UFO: Alien Invasion - X-COM inspired strategy game" -HOMEPAGE="http://www.ufoai.net/" -SRC_URI="http://n.ethz.ch/student/dbeyeler/download/ufoai_source_040218.zip - http://people.ee.ethz.ch/~baepeter/linux_ufoaidemo.zip" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~ppc ~x86" -IUSE="" - -RDEPEND="x11-libs/libXxf86dga - x11-libs/libXxf86vm - media-libs/jpeg - media-libs/libvorbis" -DEPEND="${RDEPEND} - x11-proto/xextproto - media-libs/libogg - virtual/opengl - virtual/glu - app-arch/unzip" - -S=${WORKDIR} - -src_unpack() { - unpack ${A} - cd source/linux - epatch "${FILESDIR}"/${PV}-Makefile.patch -} - -src_compile() { - filter-flags -fstack-protector #51116 - cd "${S}"/source/linux - emake build_release \ - OPTCFLAGS="${CFLAGS}" \ - || die "emake failed" -} - -src_install() { - dodir "${GAMES_DATADIR}/${PN}" - cp -rf "${S}"/ufo/* "${D}${GAMES_DATADIR}/${PN}" || die "cp failed" - if use x86 ; then - ARCH=i386 - fi - exeinto "${GAMES_DATADIR}/${PN}" - doexe "${S}"/source/linux/release${ARCH}-glibc/{ref_gl.so,ref_glx.so,ufo} \ - || die "doexe ufo" - exeinto "${GAMES_DATADIR}/${PN}/base" - doexe "${S}"/source/linux/release${ARCH}-glibc/game${ARCH}.so \ - || die "doexe game${ARCH}.so" - games_make_wrapper ufo-ai ./ufo "${GAMES_DATADIR}/${PN}" - prepgamesdirs -} diff --git a/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild b/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild deleted file mode 100644 index 575392f40228..000000000000 --- a/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild,v 1.3 2007/09/08 21:40:58 nyhm Exp $ - -inherit eutils autotools games - -MY_PV=${PV/_rc/-RC} -MY_P="ufoai-${MY_PV}" - -DESCRIPTION="UFO: Alien Invasion - X-COM inspired strategy game" -HOMEPAGE="http://ufoai.ninex.info/" -SRC_URI="mirror://sourceforge/ufoai/music.tar.bz2 - mirror://sourceforge/ufoai/${MY_P}-data.tar - mirror://sourceforge/ufoai/${MY_P}-source.tar.bz2 - mirror://sourceforge/ufoai/${MY_P}-i18n.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="alsa arts debug dedicated dga doc ipv6 jack master oss paranoid" - -UIRDEPEND="virtual/opengl - virtual/glu - >=media-libs/libsdl-1.2.7 - >=media-libs/sdl-ttf-2.0.7 - dga? ( x11-libs/libXxf86dga ) - x11-libs/libX11" -UIDEPEND="x11-proto/xf86vidmodeproto - x11-proto/xproto" -RDEPEND="${UIRDEPEND} - alsa? ( media-libs/alsa-lib ) - arts? ( kde-base/arts ) - >=media-libs/jpeg-6b-r7 - media-libs/libpng - >=media-libs/libogg-1.1 - >=media-libs/libvorbis-1.1 - jack? ( >=media-sound/jack-0.100.0 ) - sys-devel/gettext - >=sys-libs/glibc-2.4 - >=sys-libs/zlib-1.2.3" -DEPEND="${RDEPEND} - ${UIDEPEND} - doc? ( app-doc/doxygen )" - -S=${WORKDIR}/${MY_P}-source -dir=${GAMES_DATADIR}/${PN} - -src_unpack() { - unpack ${A} - cd "${S}" - - local libdir=$(games_get_libdir)/${PN} - # Set libdir - sed -i \ - -e "s:libPath, \"\.\":libPath, \"${libdir}\":" \ - src/{client,ports/linux}/*.c || die "sed *.c failed" - - sed -i \ - -e "s:\"s_libdir\", \"\":\"s_libdir\", \"${libdir}\":" \ - src/client/snd_ref.c || die "sed snd_ref.c failed" - - sed -i \ - -e "s:game\.so\", path:game\.so\", \"${libdir}\":" \ - src/ports/linux/sys_linux.c || die "sed sys_linux.c failed" - - # Set basedir - sed -i \ - -e "s:\"fs_basedir\", \"\.\":\"fs_basedir\", \"${dir}\":" \ - src/qcommon/files.c || die "sed files.c failed" - - sed -i \ - -e "s:/usr/local/games/ufoai:${dir}:" \ - src/tools/gtkradiant/games/ufoai.game || die "sed ufoai.game failed" - - # Fixes bug in finding text files - it should use fs_basedir - sed -i \ - -e "s:FS_GetCwd():\"${dir}\":" \ - src/qcommon/common.c || die "sed common.c failed" - - eautoreconf -} - -src_compile() { -# Forces building of client. -# gettext is required to show the intro text. -# egamesconf fails with openal. -# $(use_with openal) - egamesconf \ - $(use_enable dedicated) \ - $(use_enable master) \ - $(use_enable !debug release) \ - $(use_enable paranoid) \ - --with-vid-glx \ - --with-vid-vidmode \ - --with-sdl \ - --with-snd-sdl \ - $(use_with alsa snd-alsa) \ - $(use_with arts snd-arts) \ - $(use_with jack snd-jack) \ - $(use_with oss snd-oss) \ - $(use_with dga vid-dga) \ - $(use_with ipv6) \ - --with-gettext \ - --without-openal \ - || die "egamesconf failed" - - emake || die "emake failed" - - if use doc ; then - emake docs || die "emake docs failed" - fi -} - -src_install() { - # ufo is usually started by a "ufoai" wrapper script. - # Might as well standardize on the ebuild name, for minimum confusion. - newgamesbin ufo ${PN} || die - newicon src/ports/linux/installer/data/ufo.xpm ${PN}.xpm || die - make_desktop_entry ${PN} "UFO: Alien Invasion" ${PN}.xpm - - if use dedicated ; then - dogamesbin ufoded || die - fi - - if use master ; then - dogamesbin ufomaster || die - fi - - if [[ -f ufo2map ]] ; then - dogamesbin ufo2map || die - fi - - exeinto "$(games_get_libdir)/${PN}" - doexe *.so base/game.so || die "doexe ${f} failed" - - insinto "${dir}" - doins -r "${WORKDIR}"/{base,music} || die "doins -r failed" - - if use doc ; then - dohtml -r "${WORKDIR}"/docs/html/* - fi - - prepgamesdirs -} |