]> git.pld-linux.org Git - packages/StepMania.git/commitdiff
- lua fixed
authoradasi <adasi@pld-linux.org>
Tue, 20 Mar 2007 20:13:14 +0000 (20:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- need to add files from binary release (data)

Changed files:
    StepMania-lua.patch -> 1.1
    StepMania.spec -> 1.3

StepMania-lua.patch [new file with mode: 0644]
StepMania.spec

diff --git a/StepMania-lua.patch b/StepMania-lua.patch
new file mode 100644 (file)
index 0000000..98c8c65
--- /dev/null
@@ -0,0 +1,15 @@
+--- StepMania-3.9-src.org/autoconf/m4/lua.m4    2007-03-20 20:40:30.000000000 +0100
++++ StepMania-3.9-src/autoconf/m4/lua.m4        2007-03-20 20:41:28.000000000 +0100
+@@ -1,9 +1,9 @@
+ AC_DEFUN(SM_LUA, [
+
+-AC_CHECK_PROGS(LUA_CONFIG, [lua-config50 lua-config], "")
++AC_CHECK_PROGS(LUA_CONFIG, [pkg-config], "")
+ if test "$LUA_CONFIG" != ""; then
+-      LUA_CFLAGS=`$LUA_CONFIG --include`
+-      LUA_LIBS=`$LUA_CONFIG --static`
++      LUA_CFLAGS=`$LUA_CONFIG lua50 --cflags`
++      LUA_LIBS=`$LUA_CONFIG lua50 --libs`
+
+       old_LIBS=$LIBS
+       LIBS="$LIBS $LUA_LIBS"
index c31bd6afcc4d69dece5f110bb91ba61a58540a8b..0b966bb2b900f8ea17db495f55f102c4ef9a29c0 100644 (file)
@@ -8,12 +8,13 @@ License:      BSD/Custom, see Copying.txt
 Group:         Applications
 Source0:       http://dl.sourceforge.net/sourceforge/stepmania/%{name}-%{version}-src.tar.gz
 # Source0-md5: 28bbbc985788bc990fa7042e2d7320b8
-Patch0:                StepMania-3.9-64bits.patch
-Patch1:                StepMania-3.9-alsa.patch
-Patch2:                StepMania-3.9-ffmpeg.patch
-Patch3:                StepMania-3.9-gcc41.patch
-Patch4:                StepMania-3.9-sdl.patch
-Patch5:                StepMania-3.9-vorbis.patch
+Patch0:                %{name}-3.9-64bits.patch
+Patch1:                %{name}-3.9-alsa.patch
+Patch2:                %{name}-3.9-ffmpeg.patch
+Patch3:                %{name}-3.9-gcc41.patch
+Patch4:                %{name}-3.9-sdl.patch
+Patch5:                %{name}-3.9-vorbis.patch
+Patch6:                %{name}-lua.patch
 URL:           http://www.stepmania.com
 BuildRequires: autoconf
 BuildRequires: automake
@@ -31,6 +32,7 @@ TODO
 %patch3 -p0
 %patch4 -p0
 %patch5 -p0
+%patch6 -p1
 
 %build
 %{__aclocal} -I autoconf/m4
@@ -55,4 +57,4 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%{bindir}/stepmania
This page took 0.117765 seconds and 4 git commands to generate.