diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-04-07 01:02:58 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-04-07 01:02:58 +0000 |
commit | bdff5e9df5579f47dd9fcfbc702e22eaab4b293f (patch) | |
tree | e0f7160c4a9ebd78455696ef7c820fe5917c1ec6 /games-simulation | |
parent | Version bump #360801 by Agostino Sarubbo. (diff) | |
download | historical-bdff5e9df5579f47dd9fcfbc702e22eaab4b293f.tar.gz historical-bdff5e9df5579f47dd9fcfbc702e22eaab4b293f.tar.bz2 historical-bdff5e9df5579f47dd9fcfbc702e22eaab4b293f.zip |
version bump
Package-Manager: portage-2.1.9.42/cvs/Linux i686
Diffstat (limited to 'games-simulation')
4 files changed, 153 insertions, 2 deletions
diff --git a/games-simulation/searchandrescue/ChangeLog b/games-simulation/searchandrescue/ChangeLog index 59b83a7bc132..aa4dc140139c 100644 --- a/games-simulation/searchandrescue/ChangeLog +++ b/games-simulation/searchandrescue/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-simulation/searchandrescue # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/searchandrescue/ChangeLog,v 1.29 2011/03/09 18:02:00 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-simulation/searchandrescue/ChangeLog,v 1.30 2011/04/07 01:02:58 mr_bones_ Exp $ + +*searchandrescue-1.3.0 (07 Apr 2011) + + 07 Apr 2011; Michael Sterrett <mr_bones_@gentoo.org> + +searchandrescue-1.3.0.ebuild, +files/searchandrescue-1.3.0-build.patch: + version bump *searchandrescue-1.2.0 (09 Mar 2011) diff --git a/games-simulation/searchandrescue/Manifest b/games-simulation/searchandrescue/Manifest index e8d12bd78b2b..d7af89c51922 100644 --- a/games-simulation/searchandrescue/Manifest +++ b/games-simulation/searchandrescue/Manifest @@ -1,7 +1,10 @@ +AUX searchandrescue-1.3.0-build.patch 2454 RMD160 317174ea233636e5b59329615b7376c2a4461bcb SHA1 667a6b5d2201f510a75cf849fecf1b830756c7a5 SHA256 dc69e0950cc122410687a24890fdbc031d6d0a1abc5fa9ecae126dc31ae01a1a DIST SearchAndRescue-1.1.0.tar.gz 864674 RMD160 b53b51cff67f4106b1046c773b473efdc316da0d SHA1 8696533f1eb328c055a315eec2b31c56f6530361 SHA256 bd3625d920a48cb349975987be7fc79900bde25b2c75a94e300fd0f1035cb94d DIST SearchAndRescue-1.2.0.tar.gz 1470363 RMD160 42ea0e3a1777e5aa0da794a4324b1173079296c1 SHA1 48e0a974de7d1522cfb6af94494f101a80ddaf45 SHA256 72f95bd01f5d63b074402250b95e1701132d8a2eb16562046b02e650b2e81a30 +DIST SearchAndRescue-1.3.0.tar.gz 1472727 RMD160 1d6c957e2f7d644d900af7e85c851a1025b9b059 SHA1 e12edf65a2c0b966261af64c7e0c025fc77f5de7 SHA256 260a3962e0bccb2822a809707acecdfdec4061053a20ad67a33bbda60ca2e13c DIST SearchAndRescue-data-1.0.0.tar.gz 8502581 RMD160 44600665001cdeb3dd424048bc1d8b1fd44c563d SHA1 0ca247c1331bcba86d28449e0b67bf6016797489 SHA256 8ce04aeadf95e2a5d876cc6f044b1554d4e180428c634dd4f577ed55c99d54d0 EBUILD searchandrescue-1.1.0.ebuild 1946 RMD160 eb8cb30cbf0140c712ddd544d4e906e48d4cad0e SHA1 f4cff4c4009f9213723c293a05de509b5ec8dea3 SHA256 6c67d148e816ed49c99316a88fbdd0f85b44f79dac0cee5380e685d4d2215e82 EBUILD searchandrescue-1.2.0.ebuild 1952 RMD160 e40ade3c98c3cae0e5155683bb4e225744ff29ef SHA1 b341bb2c0297188d298ce719353ce483cb39384e SHA256 7be625092c497b0c3d812ca779ff346eecca0f31667a887222c12018ef4162a6 -MISC ChangeLog 4157 RMD160 b731baefba42b6c3b1dd28f9d7feba4d8290c3c1 SHA1 0951830f133398b2d3b6679b27a1169df206db0c SHA256 9236b65e74dcf90a087f59b6192945772e8702be2082dc7a62523e5d1235a4c5 +EBUILD searchandrescue-1.3.0.ebuild 1906 RMD160 3a6b12ecb9e393566c799d93fc5924cb8dcce9f1 SHA1 3a1da2b2c38cead1b4c802ebdc1b9328e0cfa019 SHA256 15296a0b1b7ab387b03e6e3f7669e248e6e3b99599e8f0b1f8805d708e39b2cd +MISC ChangeLog 4341 RMD160 d34842cf94252bce948819bf644389bc250195d7 SHA1 8c456509853297c795b72c5c25ca0c9f1a7454ce SHA256 73061c03f6b7b8211d34296365ddb623a7778f26ec7b2e882baeff74e4b4f239 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-simulation/searchandrescue/files/searchandrescue-1.3.0-build.patch b/games-simulation/searchandrescue/files/searchandrescue-1.3.0-build.patch new file mode 100644 index 000000000000..fe7236fbced0 --- /dev/null +++ b/games-simulation/searchandrescue/files/searchandrescue-1.3.0-build.patch @@ -0,0 +1,68 @@ +diff -ru searchandrescue_1.3.0.orig/sar/makefile_append.ini searchandrescue_1.3.0/sar/makefile_append.ini +--- searchandrescue_1.3.0.orig/sar/makefile_append.ini 2004-08-05 18:34:15.000000000 -0400 ++++ searchandrescue_1.3.0/sar/makefile_append.ini 2011-04-06 18:12:26.599574441 -0400 +@@ -3,7 +3,7 @@ + + + # C++ flags: +-CPPFLAGS = -D__cplusplus -Dc_plusplus ++CPPFLAGS += -D__cplusplus -Dc_plusplus + + + # Source files list: +@@ -16,14 +16,12 @@ + OBJ_CPP = $(SRC_CPP:.cpp=.o) + .c.o: + @echo "Compiling module $*.o" +- @$(CC) -c $*.c $(INC_DIRS) $(CFLAGS) ++ $(CC) -c $*.c $(INC_DIRS) $(CFLAGS) + .cpp.o: + @echo "Compiling module $*.o" +- @$(CPP) -c $*.cpp $(INC_DIRS) $(CFLAGS) $(CPPFLAGS) ++ $(CPP) -c $*.cpp $(INC_DIRS) $(CPPFLAGS) + + # Programs +-LS = ls +-LSFLAGS = -s -h -c --color=auto + RM = rm + RMFLAGS = -f + +@@ -32,9 +30,8 @@ + + modules: $(OBJ_C) $(OBJ_CPP) + @echo -n "Linking modules..." +- @$(CPP) $(OBJ_C) $(OBJ_CPP) -o $(BIN) $(LIBS) $(LIB_DIRS) ++ $(CPP) $(OBJ_C) $(OBJ_CPP) $(LDFLAGS) -o $(BIN) $(LIBS) $(LIB_DIRS) + @echo -n " " +- @-$(LS) $(LSFLAGS) $(BIN) + + prebuild: + @echo "Building program \"$(BIN)\"..." +@@ -54,5 +51,5 @@ + clean: + @echo "Cleaning program \"$(BIN)\"..." + @echo "Deleting all intermediate files..." +- @$(RM) $(RMFLAGS) a.out core *.o $(BIN) ++ $(RM) $(RMFLAGS) a.out core *.o $(BIN) + @echo "Clean done." +diff -ru searchandrescue_1.3.0.orig/sar/platforms.ini searchandrescue_1.3.0/sar/platforms.ini +--- searchandrescue_1.3.0.orig/sar/platforms.ini 2011-03-08 19:29:52.000000000 -0500 ++++ searchandrescue_1.3.0/sar/platforms.ini 2011-04-06 18:12:11.277632730 -0400 +@@ -102,7 +102,7 @@ + FeatureDepend = xf86vidmode-lib + DependType = Library + MustExist = Yes +- DependPath = libXxf86vm.a ++ DependPath = libXxf86vm.so + DependGrepString = XF86VidModeQueryExtension + FeatureDepend = xf86vidmode-devel + DependType = Header +@@ -223,7 +223,7 @@ + FeatureDepend = xf86vidmode-lib + DependType = Library + MustExist = Yes +- DependPath = libXxf86vm.a ++ DependPath = libXxf86vm.so + DependGrepString = XF86VidModeQueryExtension + FeatureDepend = xf86vidmode-devel + DependType = Header diff --git a/games-simulation/searchandrescue/searchandrescue-1.3.0.ebuild b/games-simulation/searchandrescue/searchandrescue-1.3.0.ebuild new file mode 100644 index 000000000000..80de74323daa --- /dev/null +++ b/games-simulation/searchandrescue/searchandrescue-1.3.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/searchandrescue/searchandrescue-1.3.0.ebuild,v 1.1 2011/04/07 01:02:58 mr_bones_ Exp $ + +EAPI=2 +inherit eutils flag-o-matic toolchain-funcs games + +MY_DATA_PV=1.0.0 +MY_PN=SearchAndRescue +DESCRIPTION="Helicopter based air rescue flight simulator" +HOMEPAGE="http://searchandrescue.sourceforge.net/" +SRC_URI="mirror://sourceforge/searchandrescue/${MY_PN}-${PV}.tar.gz + mirror://sourceforge/searchandrescue/${MY_PN}-data-${MY_DATA_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="x11-libs/libXxf86vm + x11-libs/libSM + x11-libs/libICE + x11-libs/libXmu + x11-libs/libXi + x11-libs/libXpm + virtual/opengl + virtual/glu + media-libs/libsdl + media-libs/sdl-mixer" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xf86vidmodeproto" + +S=${WORKDIR}/${PN}_${PV} + +src_unpack() { + unpack ${MY_PN}-${PV}.tar.gz + mkdir data && cd data && \ + unpack ${MY_PN}-data-${MY_DATA_PV}.tar.gz + bunzip2 "${S}"/sar/man/${MY_PN}.6.bz2 || die +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch +} + +src_configure() { + append-flags -DNEW_GRAPHICS -DHAVE_SDL_MIXER + export CPP="$(tc-getCXX)" + export CPPFLAGS="${CXXFLAGS}" + # NOTE: not an autoconf script + ./configure Linux \ + --prefix="${GAMES_PREFIX}" \ + --disable=Y2 \ + || die + sed -i -e 's/@\$/$/' sar/Makefile || die +} + +src_compile() { + emake -C sar || die +} +src_install() { + dogamesbin sar/${MY_PN} || die "dogamesbin failed" + doman sar/man/${MY_PN}.6 + dodoc AUTHORS HACKING README + doicon sar/icons/SearchAndRescue.xpm + newicon sar/icons/SearchAndRescue.xpm ${PN}.xpm + cd "${WORKDIR}/data" + dodir "${GAMES_DATADIR}/${PN}" + cp -r * "${D}/${GAMES_DATADIR}/${PN}/" || die "cp failed" + make_desktop_entry SearchAndRescue "SearchAndRescue" \ + /usr/share/pixmaps/${PN}.xpm + prepgamesdirs +} |