- Update to 2.1.6
- Enable sound via alsa-lib Differential Revision: https://reviews.freebsd.org/D1670 Reviewed by: amdmi3 Approved by: amdmi3 (maintainer) Approved by: bapt (mentor) ChangeLog: * Point to new leaderboard server * Make name resolve non-fatal * Debian patch for gcc-4.4 integrated
This commit is contained in:
parent
37961c3c31
commit
bdc893065f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378866
@ -2,10 +2,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= stormbaancoureur
|
||||
PORTVERSION= 2.1.5
|
||||
PORTREVISION= 5
|
||||
PORTVERSION= 2.1.6
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://bram.creative4vision.nl/stormbaancoureur/download/ \
|
||||
MASTER_SITES= http://www.stolk.org/stormbaancoureur/download/ \
|
||||
http://mirror.amdmi3.ru/distfiles/
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
@ -25,7 +24,14 @@ PLIST_FILES= bin/${PORTNAME}
|
||||
PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFINE= ALSA DOCS
|
||||
OPTIONS_DEFAULT=ALSA
|
||||
|
||||
ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib
|
||||
ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins
|
||||
ALSA_MAKE_ENV= ALSA_LIBS="-lasound"
|
||||
ALSA_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-src-common-soundenginealsa.cxx \
|
||||
${FILESDIR}/extra-patch-src-common-soundenginealsa.h
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|__DATADIR|"${DATADIR}"|' \
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (stormbaancoureur-2.1.5.tar.gz) = cd18ec1bf68db37cb5e77081fdc2863da4f921a69438a274a62e61ab42b94be0
|
||||
SIZE (stormbaancoureur-2.1.5.tar.gz) = 3976376
|
||||
SHA256 (stormbaancoureur-2.1.6.tar.gz) = c6bd67695734fd430ce8e8d744710531ed4dae1bc78d5cd0529af930144e7903
|
||||
SIZE (stormbaancoureur-2.1.6.tar.gz) = 3976459
|
||||
|
@ -189,7 +189,7 @@
|
||||
- if (delay < (int) buffersz)
|
||||
- {
|
||||
- int todo = buffersz - delay;
|
||||
-#if 0
|
||||
-#if 1
|
||||
- int cnt = (todo + periodsz-1) / periodsz; // Use this with pulse audio (fedora)
|
||||
-#else
|
||||
- int cnt = todo / periodsz; // Use this with all other alsa implementations
|
@ -37,7 +37,7 @@
|
||||
+ $(LOCALBASE)/lib/libode.a \
|
||||
-lplibssgaux -lplibssg -lplibsg -lplibpu -lplibfnt -lplibul \
|
||||
- -lglut -lGLU -lGL -lasound
|
||||
+ -lglut -lGLU -lGL
|
||||
+ -lglut -lGLU -lGL $(ALSA_LIBS)
|
||||
|
||||
|
||||
all: stormbaancoureur
|
||||
|
@ -6,4 +6,4 @@ try to have the laws of physics work with you, not against you.
|
||||
|
||||
Stormbaan Coureur is a game by Bram Stolk.
|
||||
|
||||
WWW: http://bram.creative4vision.nl/stormbaancoureur/
|
||||
WWW: http://www.stolk.org/stormbaancoureur/
|
||||
|
Loading…
Reference in New Issue
Block a user