Skip to content

Commit

Permalink
update to ezquake 3.6.6
Browse files Browse the repository at this point in the history
changelog: https://github.com/QW-Group/ezquake-source/releases/tag/3.6.6
- move back to release tarball using a combination of SITES and
  DISTNAME. only release tarballs are officially supported.
- install binary from ${WRKBUILD}/ezquake

tested by maintainer Tom Murphy and feedback from sthen@
  • Loading branch information
namtsui committed Feb 25, 2025
1 parent 95cfc98 commit e733283
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
9 changes: 5 additions & 4 deletions games/ezquake/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ COMMENT = modern QuakeWorld client
CATEGORIES = games

N = ezquake
V = 3.6.5
V = 3.6.6
DISTNAME = ${N}-source-${V}
PKGNAME = ${N}-${V}
DIST_TUPLE += github QW-Group ${N}-source ${V} . # GPLv2+
DIST_TUPLE += github QW-Group qwprot 53af547d0608a1507895fc1629cdc3f4820fc0af src/qwprot # GPLv2+

# GPLv2+
PERMIT_PACKAGE = Yes
Expand All @@ -18,6 +17,8 @@ HOMEPAGE = https://ezquake.com/
WANTLIB += GL SDL2 c curl expat freetype jansson jpeg m minizip pcre2-8 png
WANTLIB += pthread sndfile speex speexdsp z

SITES = https://github.com/QW-Group/${N}-source/releases/download/${V}/

MODULES = devel/cmake

LIB_DEPENDS = archivers/minizip \
Expand All @@ -39,7 +40,7 @@ pre-configure:
${SUBST_CMD} ${WRKSRC}/src/EX_browser_sources.c

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ezquake ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKBUILD}/ezquake ${PREFIX}/bin
${INSTALL_DATA_DIR} ${GAMEDIR}
@cp ${WRKSRC}/misc/sb/*.txt ${GAMEDIR}/

Expand Down
6 changes: 2 additions & 4 deletions games/ezquake/distinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
SHA256 (QW-Group-ezquake-source-3.6.5.tar.gz) = rM3ZmJPwHeevDoyUMxAs45khDRtjwxreY+6CUgGTIxM=
SHA256 (QW-Group-qwprot-53af547d0608a1507895fc1629cdc3f4820fc0af.tar.gz) = +nkEALY4D495qX9h2LdciMAwR3CWcT6ewRLjBUsuxFA=
SIZE (QW-Group-ezquake-source-3.6.5.tar.gz) = 1920510
SIZE (QW-Group-qwprot-53af547d0608a1507895fc1629cdc3f4820fc0af.tar.gz) = 8815
SHA256 (ezquake-source-3.6.6.tar.gz) = bdKvdUi5yPyao2eWiqKnrqg1TNMBSllgk5iQGj1x3H8=
SIZE (ezquake-source-3.6.6.tar.gz) = 2052593
2 changes: 1 addition & 1 deletion games/ezquake/patches/patch-CMakeLists_txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Set binary name to ezquake instead of ezquake-OpenBSD-<arch>
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -885,6 +885,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
@@ -898,6 +898,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
string(TOLOWER "ezQuake" EXECUTABLE_NAME)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
string(TOLOWER "ezquake" EXECUTABLE_NAME)
Expand Down

0 comments on commit e733283

Please sign in to comment.