pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/ioquake3-raspberrypi use SDL for input and audio



details:   https://anonhg.NetBSD.org/pkgsrc/rev/289a09253cfa
branches:  trunk
changeset: 645425:289a09253cfa
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Wed Jan 28 17:11:28 2015 +0000

description:
use SDL for input and audio

diffstat:

 games/ioquake3-raspberrypi/distinfo               |   4 +-
 games/ioquake3-raspberrypi/patches/patch-Makefile |  57 +++++-----------------
 2 files changed, 16 insertions(+), 45 deletions(-)

diffs (89 lines):

diff -r 752a1dd06655 -r 289a09253cfa games/ioquake3-raspberrypi/distinfo
--- a/games/ioquake3-raspberrypi/distinfo       Wed Jan 28 14:16:41 2015 +0000
+++ b/games/ioquake3-raspberrypi/distinfo       Wed Jan 28 17:11:28 2015 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2015/01/22 12:51:00 jmcneill Exp $
+$NetBSD: distinfo,v 1.2 2015/01/28 17:11:28 jmcneill Exp $
 
 SHA1 (ioquake3-raspberrypi-20150118.zip) = 4d41a7d4290d99ce20179d5f693e327831392436
 RMD160 (ioquake3-raspberrypi-20150118.zip) = 4baba47cddba21e25a0e9986b50c9bb6ba22b4e0
 Size (ioquake3-raspberrypi-20150118.zip) = 4062816 bytes
-SHA1 (patch-Makefile) = ea0d64b9be3647c0771ea018fd06500b521e3864
+SHA1 (patch-Makefile) = 19735fe17e07e9f565f1cfa28c2faf8a41d5fca9
 SHA1 (patch-code_qcommon_q__platform.h) = d0a080004c40b8daebc9e5de24d6a31a6940beca
diff -r 752a1dd06655 -r 289a09253cfa games/ioquake3-raspberrypi/patches/patch-Makefile
--- a/games/ioquake3-raspberrypi/patches/patch-Makefile Wed Jan 28 14:16:41 2015 +0000
+++ b/games/ioquake3-raspberrypi/patches/patch-Makefile Wed Jan 28 17:11:28 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makefile,v 1.1 2015/01/22 12:51:00 jmcneill Exp $
+$NetBSD: patch-Makefile,v 1.2 2015/01/28 17:11:28 jmcneill Exp $
 
 --- Makefile.orig      2014-11-03 15:11:07.000000000 +0000
 +++ Makefile
@@ -26,53 +26,24 @@
                $(RELEASE_CFLAGS)" V=$(V)
  
  # Create the build directories, check libraries and print out
-@@ -1379,26 +1376,26 @@ Q3OBJ = \
+@@ -1379,7 +1376,7 @@ Q3OBJ = \
    $(B)/client/sys_main.o
  
  
 -  Q3OBJ += $(if $(or $(findstring arm,$(ARCH)), $(USBDK)), \
--             $(B)/client/es_gamma.o $(B)/client/sdl_snd.o, \
--             $(B)/client/sdl_gamma.o $(B)/client/sdl_snd.o)
--
--  Q3OBJ += $(if $(USBDK), \
--             $(B)/client/es_input.o, \
--             $(B)/client/sdl_input.o)
--
--#
++  Q3OBJ += $(if $(or $(findstring rpi,$(ARCH)), $(USBDK)), \
+              $(B)/client/es_gamma.o $(B)/client/sdl_snd.o, \
+              $(B)/client/sdl_gamma.o $(B)/client/sdl_snd.o)
+ 
+@@ -1388,7 +1385,7 @@ Q3OBJ = \
+              $(B)/client/sdl_input.o)
+ 
+ #
 -#ifeq ($(ARCH),arm)
--#  Q3OBJ += \
--#    $(B)/client/es_gamma.o \
--#    $(B)/client/es_input.o \
--#    $(B)/client/es_snd.o 
--#else
--#  Q3OBJ += \
--#    $(B)/client/sdl_gamma.o \
--#    $(B)/client/sdl_input.o \
--#    $(B)/client/sdl_snd.o 
--#endif
-+#  Q3OBJ += $(if $(or $(findstring rpi,$(ARCH)), $(USBDK)), \
-+#             $(B)/client/es_gamma.o $(B)/client/es_snd.o, \
-+#             $(B)/client/sdl_gamma.o $(B)/client/sdl_snd.o)
-+
-+#  Q3OBJ += $(if $(USBDK), \
-+#             $(B)/client/es_input.o, \
-+#             $(B)/client/sdl_input.o)
-+
-+
-+ifeq ($(ARCH),rpi)
-+  Q3OBJ += \
-+    $(B)/client/es_gamma.o \
-+    $(B)/client/es_input.o \
-+    $(B)/client/es_snd.o 
-+else
-+  Q3OBJ += \
-+    $(B)/client/sdl_gamma.o \
-+    $(B)/client/sdl_input.o \
-+    $(B)/client/sdl_snd.o 
-+endif
- 
- ifeq ($(ARCH),i386)
-   Q3OBJ += \
++#ifeq ($(ARCH),rpi)
+ #  Q3OBJ += \
+ #    $(B)/client/es_gamma.o \
+ #    $(B)/client/es_input.o \
 @@ -1497,11 +1494,11 @@ ifeq ($(USE_MUMBLE),1)
      $(B)/client/libmumblelink.o
  endif



Home | Main Index | Thread Index | Old Index