pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
chocolate-quake: import 2.1.0
Module Name: pkgsrc-wip
Committed By: Bartosz Kuzma <bartosz.kuzma%gmail.com@localhost>
Pushed By: bartosz.kuzma
Date: Tue Jul 7 05:35:28 2026 +0200
Changeset: 9ee4c464148451e68d354c9629f9e07d19b52346
Modified Files:
Makefile
Added Files:
chocolate-quake/DESCR
chocolate-quake/Makefile
chocolate-quake/PLIST
chocolate-quake/TODO
chocolate-quake/distinfo
chocolate-quake/patches/patch-CMakeLists.txt
chocolate-quake/patches/patch-src_net_src_net__udp.c
Log Message:
chocolate-quake: import 2.1.0
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9ee4c464148451e68d354c9629f9e07d19b52346
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
chocolate-quake/DESCR | 11 +++++++++++
chocolate-quake/Makefile | 20 ++++++++++++++++++++
chocolate-quake/PLIST | 2 ++
chocolate-quake/TODO | 1 +
chocolate-quake/distinfo | 7 +++++++
chocolate-quake/patches/patch-CMakeLists.txt | 20 ++++++++++++++++++++
chocolate-quake/patches/patch-src_net_src_net__udp.c | 15 +++++++++++++++
8 files changed, 77 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 12134c0631..0afe09324d 100644
--- a/Makefile
+++ b/Makefile
@@ -492,6 +492,7 @@ SUBDIR+= chip-seq
SUBDIR+= chirpstack
SUBDIR+= chkugenids
SUBDIR+= chntpw
+SUBDIR+= chocolate-quake
SUBDIR+= choosefont
SUBDIR+= chora
SUBDIR+= chromium
diff --git a/chocolate-quake/DESCR b/chocolate-quake/DESCR
new file mode 100644
index 0000000000..d4911c2e5d
--- /dev/null
+++ b/chocolate-quake/DESCR
@@ -0,0 +1,11 @@
+Chocolate Quake is a minimalist source port of Quake focused on preserving the
+original experience of version 1.09 and earlier DOS releases. Inspired by the
+philosophy of Chocolate Doom, this project aims for accuracy and authenticity
+over modern enhancements.
+
+Chocolate Quake's aims are:
+* Reproduces the behavior of Quake v1.09 (WinQuake) and earlier DOS versions
+ with high accuracy, including original bugs and quirks.
+* Input handling, rendering, and timing are designed to closely match the
+ original experience.
+* No hardware acceleration or modern visual effects.
diff --git a/chocolate-quake/Makefile b/chocolate-quake/Makefile
new file mode 100644
index 0000000000..fd783b7362
--- /dev/null
+++ b/chocolate-quake/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME= chocolate-quake-2.1.0
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Henrique194/}
+GITHUB_TAG= ${DISTNAME}
+
+MAINTAINER= bartosz.kuzma%gmail.com@localhost
+HOMEPAGE= https://github.com/Henrique194/chocolate-quake/
+COMMENT= Minimalist source port of Quake
+LICENSE= gnu-gpl-v3
+
+WRKSRC= ${WRKDIR}/chocolate-quake-chocolate-quake-2.1.0
+
+.include "../../devel/cmake/build.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../net/SDL2_net/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chocolate-quake/PLIST b/chocolate-quake/PLIST
new file mode 100644
index 0000000000..b5e046fef0
--- /dev/null
+++ b/chocolate-quake/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/chocolate-quake
diff --git a/chocolate-quake/TODO b/chocolate-quake/TODO
new file mode 100644
index 0000000000..5a3f0368e5
--- /dev/null
+++ b/chocolate-quake/TODO
@@ -0,0 +1 @@
+Test on real hardware
diff --git a/chocolate-quake/distinfo b/chocolate-quake/distinfo
new file mode 100644
index 0000000000..440c62a82a
--- /dev/null
+++ b/chocolate-quake/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+BLAKE2s (chocolate-quake-2.1.0.tar.gz) = 00316fd7dec428cf4c74cde24864a3f7a9d0e7c49aec3372ddcfac6ef84a75ab
+SHA512 (chocolate-quake-2.1.0.tar.gz) = 81c1dcbea56c015e6712ca79a7b9aecf1c9623e9cfe2cd1f4bceeb0e2307269edd1901f475a12a09add0a15b4527ec06a57d89734b1b31a5794d72e8787d2c29
+Size (chocolate-quake-2.1.0.tar.gz) = 938771 bytes
+SHA1 (patch-CMakeLists.txt) = 66d0a8cc39ece28db86a91a1e9741f8807c1689c
+SHA1 (patch-src_net_src_net__udp.c) = a0142c12aa09c9938d1ff88602d306624715cca9
diff --git a/chocolate-quake/patches/patch-CMakeLists.txt b/chocolate-quake/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..209975daa6
--- /dev/null
+++ b/chocolate-quake/patches/patch-CMakeLists.txt
@@ -0,0 +1,20 @@
+$NetBSD$
+
+Install chocolate-quake only
+
+--- CMakeLists.txt.orig 2026-07-07 03:25:36.368259366 +0000
++++ CMakeLists.txt
+@@ -40,13 +40,4 @@ if (UNIX AND NOT APPLE)
+ install(FILES ${CMAKE_BINARY_DIR}/src/chocolate-quake
+ DESTINATION bin
+ PERMISSIONS WORLD_READ WORLD_EXECUTE GROUP_READ GROUP_EXECUTE OWNER_READ OWNER_WRITE OWNER_EXECUTE)
+- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dist/linux/${APPSTREAM_APP_ID}.svg
+- DESTINATION share/icons/hicolor/scalable/apps
+- PERMISSIONS WORLD_READ GROUP_READ OWNER_READ OWNER_WRITE)
+- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dist/linux/${APPSTREAM_APP_ID}.desktop
+- DESTINATION share/applications
+- PERMISSIONS WORLD_READ GROUP_READ OWNER_READ OWNER_WRITE)
+- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dist/linux/${APPSTREAM_APP_ID}.metainfo.xml
+- DESTINATION share/metainfo
+- PERMISSIONS WORLD_READ GROUP_READ OWNER_READ OWNER_WRITE)
+ endif()
diff --git a/chocolate-quake/patches/patch-src_net_src_net__udp.c b/chocolate-quake/patches/patch-src_net_src_net__udp.c
new file mode 100644
index 0000000000..fb19a4e230
--- /dev/null
+++ b/chocolate-quake/patches/patch-src_net_src_net__udp.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Use errno.h
+
+--- src/net/src/net_udp.c.orig 2026-07-06 19:57:25.270167850 +0000
++++ src/net/src/net_udp.c
+@@ -30,7 +30,7 @@
+ #ifdef _WIN32
+ #include <windows.h>
+ #else
+-#include <sys/errno.h>
++#include <errno.h>
+ #include <sys/param.h>
+ #include <unistd.h>
+ #endif
Home |
Main Index |
Thread Index |
Old Index