Update to cosmosmash-1.3 now with sound; ok maintainer Sean Escriva
This commit is contained in:
parent
1b4a3c4031
commit
2e5a414e58
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2002/12/22 01:04:22 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2003/01/21 09:39:42 pvalchev Exp $
|
||||
|
||||
COMMENT= "astrosmash clone for X"
|
||||
|
||||
DISTNAME= cosmosmash-1.1
|
||||
DISTNAME= cosmosmash-1.3
|
||||
CATEGORIES= games
|
||||
|
||||
HOMEPAGE= http://www3.sympatico.ca/sarrazip/dev/cosmosmash.html
|
||||
@ -16,9 +16,11 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/
|
||||
|
||||
LIB_DEPENDS= gengameng.4.0::devel/gengameng
|
||||
LIB_DEPENDS= gengameng.4.1::devel/gengameng \
|
||||
SDL_mixer::devel/sdl-mixer
|
||||
USE_X11= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (cosmosmash-1.1.tar.gz) = 7c258ed755400a3d77e39faf2ccc8c76
|
||||
RMD160 (cosmosmash-1.1.tar.gz) = dc771c462146006c2beb81ac2641080df6dfef8d
|
||||
SHA1 (cosmosmash-1.1.tar.gz) = 240d149938f8f4bb792ac3ffb6a506b29789037c
|
||||
MD5 (cosmosmash-1.3.tar.gz) = 6d37511dc64710d02ee92097702917b3
|
||||
RMD160 (cosmosmash-1.3.tar.gz) = 2b2c6130d3f7a155a9d8cb89dca155e841668393
|
||||
SHA1 (cosmosmash-1.3.tar.gz) = f0588ee592c4a656802fe9c8ed12d1dfa87d3daf
|
||||
|
@ -1,21 +1,14 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2002/12/22 01:04:22 naddy Exp $
|
||||
--- configure.orig Sun Dec 22 01:57:44 2002
|
||||
+++ configure Sun Dec 22 01:58:05 2002
|
||||
@@ -795,8 +795,6 @@ fi
|
||||
$OpenBSD: patch-configure,v 1.2 2003/01/21 09:39:42 pvalchev Exp $
|
||||
--- configure.orig Sat Jan 18 15:23:32 2003
|
||||
+++ configure Sat Jan 18 15:24:52 2003
|
||||
@@ -1707,10 +1707,6 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst
|
||||
|
||||
# Checks for programs.
|
||||
|
||||
|
||||
- CXXFLAGS="-g -Wall" # default compilation options
|
||||
-if test "_$CXXFLAGS" = _; then
|
||||
- CXXFLAGS="-g"
|
||||
-fi
|
||||
-
|
||||
# Check whether --with-cxx or --without-cxx was given.
|
||||
if test "${with_cxx+set}" = set; then
|
||||
withval="$with_cxx"
|
||||
@@ -972,8 +970,6 @@ ac_compile='${CXX-g++} -c $CXXFLAGS $CPP
|
||||
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
||||
cross_compiling=$ac_cv_prog_cxx_cross
|
||||
|
||||
-
|
||||
-CXXFLAGS="-g -Wall"
|
||||
|
||||
# Checks for libraries.
|
||||
|
||||
ac_ext=cc
|
||||
ac_cpp='$CXXCPP $CPPFLAGS'
|
||||
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-src_CosmoSmashEngine_cpp,v 1.1 2002/09/28 16:40:25 naddy Exp $
|
||||
--- src/CosmoSmashEngine.cpp.orig Sat Sep 28 18:40:42 2002
|
||||
+++ src/CosmoSmashEngine.cpp Sat Sep 28 18:41:03 2002
|
||||
@@ -1048,7 +1048,7 @@ CosmoSmashEngine::animateAutomaticCharac
|
||||
{
|
||||
Couple diff = playerSprite->getPos() - pulsar->getPos();
|
||||
// NOTE: use projection instead of trig; see animateSaucers()
|
||||
- double angle = atan2(diff.y, diff.x);
|
||||
+ double angle = atan2(double(diff.y), double(diff.x));
|
||||
Couple newSpeed(int(PULSAR_SPEED * cos(angle)),
|
||||
int(PULSAR_SPEED * sin(angle)));
|
||||
if (newSpeed.isZero())
|
@ -1,4 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/02/28 05:28:12 pvalchev Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2003/01/21 09:39:42 pvalchev Exp $
|
||||
bin/cosmosmash
|
||||
man/man6/cosmosmash.6
|
||||
share/pixmaps/cosmosmash.png
|
||||
share/sounds/cosmosmash/hyperspace.wav
|
||||
share/sounds/cosmosmash/player-hit.wav
|
||||
share/sounds/cosmosmash/pulsar-beep.wav
|
||||
share/sounds/cosmosmash/rock-hit-0.wav
|
||||
share/sounds/cosmosmash/rock-hit-1.wav
|
||||
share/sounds/cosmosmash/saucer-shooting.wav
|
||||
@dirrm share/sounds/cosmosmash
|
||||
|
Loading…
x
Reference in New Issue
Block a user