1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

games/stepmania-devel: upgrade version 5.0.a3 => 5.0.9

PR:		199230
Submitted by:	ports fury
This commit is contained in:
John Marino 2015-10-10 14:18:31 +00:00
parent 3a55a118dd
commit 6399214aae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398997
7 changed files with 2877 additions and 102 deletions

View File

@ -2,14 +2,11 @@
# $FreeBSD$
PORTNAME= stepmania
PORTVERSION= 5.0.a3
PORTREVISION= 4
PORTVERSION= 5.0.9
DISTVERSIONPREFIX= v
PORTEPOCH= 1
CATEGORIES= games
MASTER_SITES= GOOGLE_CODE
PROJECTHOST= sm-ssc
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-SM5-alpha3-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Rrhythm game simulator
@ -17,71 +14,90 @@ COMMENT= Rrhythm game simulator
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/Docs/Licenses.txt
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
libpng.so:${PORTSDIR}/graphics/png
OPTIONS_DEFINE= PULSEAUDIO VORBIS DOCS
OPTIONS_DEFAULT=VORBIS
USE_GITHUB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-SM5-alpha3
USES= iconv pathfix perl5 pkgconfig shebangfix tar:bzip2
USE_XORG= x11 xau xdmcp xext xrandr xrender xtst
USE_GL= gl glu glew
USE_GNOME= gtk20
USES= autoreconf gmake iconv jpeg pathfix perl5 pkgconfig shebangfix
USE_XORG= x11 xrandr xtst
USE_GL= glew
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-ffmpeg
CONFIGURE_ARGS= --with-system-pcre \
${ICONV_CONFIGURE_ARG}
INSTALLS_ICONS= yes
SHEBANG_FILES= Utils/*.pl \
extern/zlib/zlib2ansi
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lpthread
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= ALSA DOCS FFMPEG GTK2 JACK MAD PULSEAUDIO VORBIS
OPTIONS_DEFAULT= GTK2 MAD VORBIS
OPTIONS_SUB= yes
ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib
ALSA_CONFIGURE_ENV_OFF= ac_cv_lib_asound_snd_ctl_open=no
FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
FFMPEG_CONFIGURE_ON= --with-system-ffmpeg
FFMPEG_CONFIGURE_WITH= ffmpeg
GTK2_USE= gnome=gtk20
GTK2_CONFIGURE_ENABLE= gtk2
JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack
JACK_CONFIGURE_WITH= jack
MAD_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad
MAD_CONFIGURE_WITH= mp3
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENV_OFF= ac_cv_lib_pulse_pa_stream_new=no
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis
VORBIS_CONFIGURE_WITH= vorbis
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENV_OFF= ac_cv_lib_pulse_pa_stream_new=no
post-patch:
@${REINPLACE_CMD} -e \
's|-lpthread |-pthread |' ${WRKSRC}/configure
's|^\(x86_64\)|amd64*\|\1| ; \
s|-lpthread|-pthread|' ${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e \
'/^LIBS/s|-lpthread|${ICONV_LIB}| ; \
s|-finline-limit=300||g' ${WRKSRC}/src/Makefile.in
's|XLIBS+="-l|XLIBS="$$XLIBS -l|' ${WRKSRC}/autoconf/m4/x11.m4
@${REINPLACE_CMD} -e \
's|-rdynamic|-Wl,-export-dynamic| ; \
s|-finline-limit=300||' ${WRKSRC}/src/Makefile.am
pre-build:
@${ECHO_CMD} -n > ${WRKDIR}/stepmania.sh
@${ECHO_CMD} '#!${SH}' >> ${WRKDIR}/stepmania.sh
@${ECHO_CMD} 'cd ${PREFIX}/lib/stepmania; ./stepmania $$@' >> ${WRKDIR}/stepmania.sh
post-build:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} SMData)
@${MKDIR} ${WRKDIR}/wrappers
@${ECHO_CMD} -n \
> ${WRKDIR}/wrappers/stepmania
@${ECHO_CMD} '#!${SH}' \
>> ${WRKDIR}/wrappers/stepmania
@${ECHO_CMD} 'cd ${PREFIX}/lib/stepmania' \
>> ${WRKDIR}/wrappers/stepmania
@${ECHO_CMD} 'exec ./stepmania $$@' \
>> ${WRKDIR}/wrappers/stepmania
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/stepmania.sh ${STAGEDIR}${PREFIX}/bin/stepmania
${INSTALL_DATA} ${WRKSRC}/stepmania.desktop ${STAGEDIR}${PREFIX}/share/applications
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
cd ${WRKSRC}/icons/hicolor/scalable/apps && ${INSTALL_DATA} \
stepmania-ssc.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
.for i in 16 22 24 32 36 48 64 72 96 128 192 256
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps
cd ${WRKSRC}/icons/hicolor/${i}x${i}/apps && ${INSTALL_DATA} \
stepmania-ssc.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps
.endfor
(cd ${WRKDIR}/wrappers && ${INSTALL_SCRIPT} stepmania \
${STAGEDIR}${PREFIX}/bin)
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/stepmania
${INSTALL_PROGRAM} ${WRKSRC}/src/stepmania ${STAGEDIR}${PREFIX}/lib/stepmania
${INSTALL_DATA} ${WRKSRC}/src/GtkModule.so ${STAGEDIR}${PREFIX}/lib/stepmania
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/stepmania/Packages
${INSTALL_DATA} ${WRKSRC}/GameData.smzip ${STAGEDIR}${PREFIX}/lib/stepmania/Packages
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(${TAR} -C ${WRKSRC}/Docs --exclude "Licenses.txt" -cf - . | \
${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf -)
.for i in Announcers BGAnimations BackgroundEffects BackgroundTransitions \
Characters Courses Data NoteSkins Scripts Themes
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} \
${STAGEDIR}${PREFIX}/lib/stepmania)
.endfor
(cd ${WRKSRC}/src && ${INSTALL_PROGRAM} stepmania \
${STAGEDIR}${PREFIX}/lib/stepmania)
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/stepmania/Songs
(cd ${WRKSRC} && ${INSTALL_DATA} stepmania.desktop \
${STAGEDIR}${PREFIX}/share/applications)
@(cd ${WRKSRC} && ${COPYTREE_SHARE} icons \
${STAGEDIR}${PREFIX}/share)
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/stepmania/GtkModule.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/Docs && ${COPYTREE_SHARE} . \
${STAGEDIR}${DOCSDIR} "! -name Licenses.txt")
post-install-GTK2-on:
(cd ${WRKSRC}/src && ${INSTALL_LIB} GtkModule.so \
${STAGEDIR}${PREFIX}/lib/stepmania)
.include <bsd.port.mk>

View File

@ -1,4 +1,2 @@
SHA256 (stepmania-SM5-alpha3-src.tar.bz2) = 63c767782e8379698696b3627554e871c019f5ad2be262e5e715bc0649578123
SIZE (stepmania-SM5-alpha3-src.tar.bz2) = 61494982
SHA256 (StepMania-v5.0-alpha3-linux.tar.bz2) = f05aa903a20673dbe4bf2025da7f575502fbbcd24f55eb1109c76e46d5790d61
SIZE (StepMania-v5.0-alpha3-linux.tar.bz2) = 40164664
SHA256 (stepmania-stepmania-v5.0.9_GH0.tar.gz) = 9f0566e36a578d499f6cbbb4e32b4d762182a991f6bc37df762c433976a80142
SIZE (stepmania-stepmania-v5.0.9_GH0.tar.gz) = 197144798

View File

@ -1,4 +1,4 @@
--- src/arch/ArchHooks/ArchHooks.h.orig
--- src/arch/ArchHooks/ArchHooks.h.orig 2015-06-20 16:57:25 UTC
+++ src/arch/ArchHooks/ArchHooks.h
@@ -1,6 +1,8 @@
#ifndef ARCH_HOOKS_H

View File

@ -1,10 +0,0 @@
--- src/arch/ArchHooks/ArchHooks_Unix.cpp.orig 2012-08-06 14:23:36.000000000 +0900
+++ src/arch/ArchHooks/ArchHooks_Unix.cpp 2012-09-24 00:09:58.000000000 +0900
@@ -12,6 +12,7 @@
#include "archutils/Unix/AssertionHandler.h"
#include <unistd.h>
#include <sys/time.h>
+#include <sys/wait.h>
#if defined(CRASH_HANDLER)
#include "archutils/Unix/CrashHandler.h"

View File

@ -1,6 +1,6 @@
--- src/libtomcrypt/src/headers/tomcrypt_macros.h.orig 2012-08-06 07:23:37.000000000 +0200
+++ src/libtomcrypt/src/headers/tomcrypt_macros.h 2015-03-02 21:40:07.785177000 +0100
@@ -262,21 +262,19 @@
--- src/libtomcrypt/src/headers/tomcrypt_macros.h.orig 2015-06-20 16:57:25 UTC
+++ src/libtomcrypt/src/headers/tomcrypt_macros.h
@@ -262,21 +262,19 @@ static inline __attribute__((always_inli
#ifndef LTC_NO_ROLC
@ -11,7 +11,13 @@
- :"0" (word),"I" (i));
- return word;
-}
-
+#define ROLc(word, i) ({ \
+ unsigned _word = word; \
+ asm ("roll %2,%0" \
+ :"=r" (_word) \
+ :"0" (_word),"I" (i)); \
+ _word; })
-static inline __attribute__((always_inline)) unsigned RORc(unsigned word, const int i)
-{
- asm ("rorl %2,%0"
@ -19,13 +25,6 @@
- :"0" (word),"I" (i));
- return word;
-}
+#define ROLc(word, i) ({ \
+ unsigned _word = word; \
+ asm ("roll %2,%0" \
+ :"=r" (_word) \
+ :"0" (_word),"I" (i)); \
+ _word; })
+
+#define RORc(word, i) ({ \
+ unsigned _word = word; \
+ asm ("rorl %2,%0" \
@ -35,7 +34,7 @@
#else
@@ -305,21 +303,19 @@
@@ -305,21 +303,19 @@ static inline __attribute__((always_inli
#ifndef LTC_NO_ROLC
@ -46,7 +45,13 @@
- :"0" (word),"I" (i));
- return word;
-}
-
+#define ROLc(word, i) ({ \
+ unsigned _word = word; \
+ asm ("rotlwi %0,%0,%2" \
+ :"=r" (_word) \
+ :"0" (_word),"I" (i)); \
+ _word; })
-static inline __attribute__((always_inline)) unsigned RORc(unsigned word, const int i)
-{
- asm ("rotrwi %0,%0,%2"
@ -54,13 +59,6 @@
- :"0" (word),"I" (i));
- return word;
-}
+#define ROLc(word, i) ({ \
+ unsigned _word = word; \
+ asm ("rotlwi %0,%0,%2" \
+ :"=r" (_word) \
+ :"0" (_word),"I" (i)); \
+ _word; })
+
+#define RORc(word, i) ({ \
+ unsigned _word = word; \
+ asm ("rotrwi %0,%0,%2" \
@ -70,7 +68,7 @@
#else
@@ -361,21 +357,19 @@
@@ -361,21 +357,19 @@ static inline __attribute__((always_inli
#ifndef LTC_NO_ROLC
@ -81,7 +79,13 @@
- :"0" (word),"J" (i));
- return word;
-}
-
+#define ROL64c(word, i) ({ \
+ unsigned long _word = word; \
+ asm ("rolq %2,%0" \
+ :"=r" (_word) \
+ :"0" (_word),"J" (i)); \
+ _word; })
-static inline __attribute__((always_inline)) unsigned long ROR64c(unsigned long word, const int i)
-{
- asm("rorq %2,%0"
@ -89,13 +93,6 @@
- :"0" (word),"J" (i));
- return word;
-}
+#define ROL64c(word, i) ({ \
+ unsigned long _word = word; \
+ asm ("rolq %2,%0" \
+ :"=r" (_word) \
+ :"0" (_word),"J" (i)); \
+ _word; })
+
+#define ROR64c(word, i) ({ \
+ unsigned long _word = word; \
+ asm ("rorq %2,%0" \

View File

@ -1,9 +1,10 @@
StepMania is a dance and rhythm video game created by Chris Danford. It was
originally developed as a simulator of Konami's popular arcade game series
Dance Dance Revolution, and has since evolved into an extensible rhythm game
engine capable of supporting a wide variety of rhythm-based game types.
StepMania is a dance and rhythm video game created by Chris Danford. It
was originally developed as a simulator of Konami's popular arcade game
series Dance Dance Revolution, and has since evolved into an extensible
rhythm game engine capable of supporting a wide variety of rhythm-based
game types.
Features 3D graphics, visualizations, support for gamepads/dance pads, a
Features 3D graphics, visualizations, support for gamepads/dance pads, a
step recording mode, and more!
WWW: http://www.stepmania.com
WWW: http://www.stepmania.com/

File diff suppressed because it is too large Load Diff