pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Quake2 multiplayer orientated client, builds but not installs
Module Name: pkgsrc-wip
Committed By: andyb <andyb%m42.one@localhost>
Pushed By: andyb
Date: Fri Mar 8 14:18:31 2019 +0100
Changeset: 89352a7f0b9e6e3b9a913ec508aa9747e2a1530a
Modified Files:
openbox-themes-extra/Makefile
Added Files:
q2pro/DESCR
q2pro/Makefile
q2pro/PLIST
q2pro/TODO
q2pro/distinfo
q2pro/patches/patch-qgl.h
q2pro/patches/patch-sound.c
q2pro/patches/patch-system.c
q2pro/patches/patch-video.c
Log Message:
Quake2 multiplayer orientated client, builds but not installs
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=89352a7f0b9e6e3b9a913ec508aa9747e2a1530a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
openbox-themes-extra/Makefile | 4 ++++
q2pro/DESCR | 1 +
q2pro/Makefile | 26 ++++++++++++++++++++++++++
q2pro/PLIST | 1 +
q2pro/TODO | 1 +
q2pro/distinfo | 10 ++++++++++
q2pro/patches/patch-qgl.h | 11 +++++++++++
q2pro/patches/patch-sound.c | 11 +++++++++++
q2pro/patches/patch-system.c | 11 +++++++++++
q2pro/patches/patch-video.c | 11 +++++++++++
10 files changed, 87 insertions(+)
diffs:
diff --git a/openbox-themes-extra/Makefile b/openbox-themes-extra/Makefile
index b131c230de..55df28654d 100644
--- a/openbox-themes-extra/Makefile
+++ b/openbox-themes-extra/Makefile
@@ -11,6 +11,10 @@ COMMENT= Openbox window manager themes
WRKSRC= ${WRKDIR}/themes
USE_LANGUAGES= # none
+NO_BUILD= yes
+DESTDIR= $WRKSRC
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC} ${DESTDIR}${PREFIX}/themes
.include "../../mk/bsd.pkg.mk"
diff --git a/q2pro/DESCR b/q2pro/DESCR
new file mode 100644
index 0000000000..03fa2eace1
--- /dev/null
+++ b/q2pro/DESCR
@@ -0,0 +1 @@
+Quake2 multiplayer orientated client
diff --git a/q2pro/Makefile b/q2pro/Makefile
new file mode 100644
index 0000000000..8e4f332479
--- /dev/null
+++ b/q2pro/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+GITHUB_PROJECT= qtxqfsts
+DISTNAME= q2pro20190305
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=bsfd80/}
+GITHUB_RELEASE= 20190228
+EXTRACT_SUFX= .zip
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+DEPENDS+= openal-soft-[0-9]*:../../audio/openal-soft
+DEPENDS+= SDL2-[0-9]*:../../devel/SDL2
+
+MAINTAINER= pkgls%gmx.net@localhost
+HOMEPAGE= https://github.com/bsfd80/qtxqfsts/
+COMMENT= Quake2 multiplayer orientated client
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/q2pro-master
+
+USE_LANGUAGES= c
+USE_TOOLS+= gmake
+
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/q2pro/PLIST b/q2pro/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/q2pro/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/q2pro/TODO b/q2pro/TODO
new file mode 100644
index 0000000000..15b33f6393
--- /dev/null
+++ b/q2pro/TODO
@@ -0,0 +1 @@
+builds but not installs
diff --git a/q2pro/distinfo b/q2pro/distinfo
new file mode 100644
index 0000000000..4e0e0e13c5
--- /dev/null
+++ b/q2pro/distinfo
@@ -0,0 +1,10 @@
+$NetBSD$
+
+SHA1 (qtxqfsts/q2pro20190305.zip) = b7392c4bacb4aa6019d4408aca52b20b6c1d835e
+RMD160 (qtxqfsts/q2pro20190305.zip) = 5a87dda5a8ab38b0d2ee218290b9bd90033cf8a9
+SHA512 (qtxqfsts/q2pro20190305.zip) = aea9e3458979980b4f4bbceb5cc065c86cda9c3341ca54544de8bdd836ab2fda075306d70481f46b27035a90e1d071781a50150cdfa515c7b35368fd3b305677
+Size (qtxqfsts/q2pro20190305.zip) = 1059443 bytes
+SHA1 (patch-qgl.h) = db3f888a93e09c2a42592e044593b57fa11021b7
+SHA1 (patch-sound.c) = 87fbbf70c8f2c055bdeef964e8a43569096ab519
+SHA1 (patch-system.c) = 2e97f04cf9a23fd48f60fdaf349a420b261e4d2f
+SHA1 (patch-video.c) = 134901056e2302b9c1736a74c2090dd07a2d4dd1
diff --git a/q2pro/patches/patch-qgl.h b/q2pro/patches/patch-qgl.h
new file mode 100644
index 0000000000..fe2e1bb426
--- /dev/null
+++ b/q2pro/patches/patch-qgl.h
@@ -0,0 +1,11 @@
+--- src/refresh/qgl.h 2018-12-28 14:34:51.000000000 +0100
++++ src/refresh/qgl.h 2019-03-08 13:48:06.995958009 +0100
+@@ -20,7 +20,7 @@
+ #define QGL_H
+
+ #if USE_SDL
+-#include <SDL_opengl.h>
++#include <SDL2/SDL_opengl.h>
+ #else
+ #include <GL/gl.h>
+ #include <GL/glext.h>
diff --git a/q2pro/patches/patch-sound.c b/q2pro/patches/patch-sound.c
new file mode 100644
index 0000000000..6cc34cb9c5
--- /dev/null
+++ b/q2pro/patches/patch-sound.c
@@ -0,0 +1,11 @@
+--- src/unix/sound.c 2018-12-28 14:34:51.000000000 +0100
++++ src/unix/sound.c 2019-03-08 13:51:27.435968350 +0100
+@@ -23,7 +23,7 @@
+ #include "shared/shared.h"
+ #include "common/zone.h"
+ #include "client/sound/dma.h"
+-#include <SDL.h>
++#include <SDL2/SDL.h>
+
+ static void Filler(void *userdata, Uint8 *stream, int len)
+ {
diff --git a/q2pro/patches/patch-system.c b/q2pro/patches/patch-system.c
new file mode 100644
index 0000000000..762a0790af
--- /dev/null
+++ b/q2pro/patches/patch-system.c
@@ -0,0 +1,11 @@
+--- src/unix/system.c 2018-12-28 14:34:51.000000000 +0100
++++ src/unix/system.c 2019-03-08 13:51:42.469969126 +0100
+@@ -44,7 +44,7 @@
+ #endif
+
+ #if USE_SDL
+-#include <SDL.h>
++#include <SDL2/SDL.h>
+ #endif
+
+ cvar_t *sys_basedir;
diff --git a/q2pro/patches/patch-video.c b/q2pro/patches/patch-video.c
new file mode 100644
index 0000000000..6fe30bab45
--- /dev/null
+++ b/q2pro/patches/patch-video.c
@@ -0,0 +1,11 @@
+--- src/unix/video.c 2018-12-28 14:34:51.000000000 +0100
++++ src/unix/video.c 2019-03-08 13:50:50.311966435 +0100
+@@ -33,7 +33,7 @@
+ #include "refresh/refresh.h"
+ #include "system/system.h"
+ #include "res/q2pro.xbm"
+-#include <SDL.h>
++#include <SDL2/SDL.h>
+
+ static SDL_Window *sdl_window;
+ static SDL_GLContext *sdl_context;
Home |
Main Index |
Thread Index |
Old Index