pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games
Module Name: pkgsrc
Committed By: nia
Date: Thu Apr 11 20:56:34 UTC 2019
Modified Files:
pkgsrc/games: Makefile
Added Files:
pkgsrc/games/etlegacy: DESCR MESSAGE Makefile PLIST distinfo options.mk
pkgsrc/games/etlegacy/patches: patch-cmake_ETLInstall.cmake
patch-src_client_snd__main.c patch-src_qcommon_q__platform.h
Log Message:
games/etlegacy: Add version 2.76.
Enemy Territory: Legacy is an open source project that aims to
create a fully compatible client and server for the popular online
FPS game Wolfenstein: Enemy Territory.
To generate a diff of this commit:
cvs rdiff -u -r1.423 -r1.424 pkgsrc/games/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/games/etlegacy/DESCR \
pkgsrc/games/etlegacy/MESSAGE pkgsrc/games/etlegacy/Makefile \
pkgsrc/games/etlegacy/PLIST pkgsrc/games/etlegacy/distinfo \
pkgsrc/games/etlegacy/options.mk
cvs rdiff -u -r0 -r1.1 \
pkgsrc/games/etlegacy/patches/patch-cmake_ETLInstall.cmake \
pkgsrc/games/etlegacy/patches/patch-src_client_snd__main.c \
pkgsrc/games/etlegacy/patches/patch-src_qcommon_q__platform.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/games/Makefile
diff -u pkgsrc/games/Makefile:1.423 pkgsrc/games/Makefile:1.424
--- pkgsrc/games/Makefile:1.423 Sun Feb 10 12:39:10 2019
+++ pkgsrc/games/Makefile Thu Apr 11 20:56:34 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.423 2019/02/10 12:39:10 nia Exp $
+# $NetBSD: Makefile,v 1.424 2019/04/11 20:56:34 nia Exp $
#
COMMENT= Games
@@ -90,6 +90,7 @@ SUBDIR+= eboard
SUBDIR+= einstein-puzzle
SUBDIR+= enigma
SUBDIR+= et
+SUBDIR+= etlegacy
SUBDIR+= eus-demo
SUBDIR+= exchess
SUBDIR+= exchess-book-medium
Added files:
Index: pkgsrc/games/etlegacy/DESCR
diff -u /dev/null pkgsrc/games/etlegacy/DESCR:1.1
--- /dev/null Thu Apr 11 20:56:34 2019
+++ pkgsrc/games/etlegacy/DESCR Thu Apr 11 20:56:34 2019
@@ -0,0 +1,3 @@
+Enemy Territory: Legacy is an open source project that aims to
+create a fully compatible client and server for the popular online
+FPS game Wolfenstein: Enemy Territory.
Index: pkgsrc/games/etlegacy/MESSAGE
diff -u /dev/null pkgsrc/games/etlegacy/MESSAGE:1.1
--- /dev/null Thu Apr 11 20:56:34 2019
+++ pkgsrc/games/etlegacy/MESSAGE Thu Apr 11 20:56:34 2019
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2019/04/11 20:56:34 nia Exp $
+
+pak0.pk3, pak1.pk3 and pak2.pk3 must be copied from the official game
+files to ${PREFIX}/share/etlegacy/etmain to play Enemy Territory.
+
+===========================================================================
Index: pkgsrc/games/etlegacy/Makefile
diff -u /dev/null pkgsrc/games/etlegacy/Makefile:1.1
--- /dev/null Thu Apr 11 20:56:34 2019
+++ pkgsrc/games/etlegacy/Makefile Thu Apr 11 20:56:34 2019
@@ -0,0 +1,76 @@
+# $NetBSD: Makefile,v 1.1 2019/04/11 20:56:34 nia Exp $
+
+PKGNAME= etlegacy-2.76
+CATEGORIES= games
+
+DIST_SUBDIR= etlegacy-${PKGVERSION_NOREV}
+
+DISTFILES+= etlegacy.tar.gz
+DISTFILES+= etlegacy-libs.tar.gz
+
+LIBS_TAG= f04f846898a92d36fd9cfe7425b1ab4d31bca794
+
+SITES.etlegacy.tar.gz= \
+ -https://github.com/etlegacy/etlegacy/archive/v${PKGVERSION_NOREV}.tar.gz
+
+SITES.etlegacy-libs.tar.gz= \
+ -https://github.com/etlegacy/etlegacy-libs/archive/${LIBS_TAG}.tar.gz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.etlegacy.com/
+COMMENT= Open source Wolfenstein: Enemy Territory client and server
+LICENSE= gnu-gpl-v3
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+= -DBUNDLED_CURL=OFF
+CMAKE_ARGS+= -DBUNDLED_FREETYPE=OFF
+CMAKE_ARGS+= -DBUNDLED_GLEW=OFF
+CMAKE_ARGS+= -DBUNDLED_JPEG=OFF
+CMAKE_ARGS+= -DBUNDLED_LUA=OFF
+CMAKE_ARGS+= -DBUNDLED_OGG_VORBIS=OFF
+CMAKE_ARGS+= -DBUNDLED_OPENAL=OFF
+CMAKE_ARGS+= -DBUNDLED_OPENSSL=OFF
+CMAKE_ARGS+= -DBUNDLED_SDL=OFF
+CMAKE_ARGS+= -DBUNDLED_SQLITE3=OFF
+CMAKE_ARGS+= -DBUNDLED_THEORA=OFF
+CMAKE_ARGS+= -DBUNDLED_ZLIB=OFF
+
+CMAKE_ARGS+= -DCROSS_COMPILE32=OFF
+
+CMAKE_ARGS+= -DFEATURE_AUTOUPDATE=OFF
+
+CMAKE_ARGS+= -DFEATURE_OMNIBOT=OFF
+CMAKE_ARGS+= -DINSTALL_OMNIBOT=OFF
+
+CMAKE_ARGS+= -DFEATURE_OPENAL=ON
+
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
+CMAKE_ARGS+= -DINSTALL_DEFAULT_BASEDIR="${PREFIX}/share/etlegacy"
+CMAKE_ARGS+= -DINSTALL_DEFAULT_BINDIR="bin"
+CMAKE_ARGS+= -DINSTALL_DEFAULT_MODDIR="share/etlegacy"
+
+CFLAGS+= -DIOAPI_NO_64
+
+CHECK_PORTABILITY_SKIP+= libs/sdl2/build-scripts/*
+
+post-extract:
+ ${MV} ${WRKDIR}/etlegacy-libs-${LIBS_TAG}/* \
+ ${WRKDIR}/etlegacy-${PKGVERSION_NOREV}/libs
+
+.include "options.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libICE/buildlink3.mk"
+BUILDLINK_TRANSFORM+= rm:-ldl
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/etlegacy/PLIST
diff -u /dev/null pkgsrc/games/etlegacy/PLIST:1.1
--- /dev/null Thu Apr 11 20:56:34 2019
+++ pkgsrc/games/etlegacy/PLIST Thu Apr 11 20:56:34 2019
@@ -0,0 +1,129 @@
+@comment $NetBSD: PLIST,v 1.1 2019/04/11 20:56:34 nia Exp $
+bin/etl
+bin/etlded
+man/man6/etl.6
+man/man6/etlded.6
+share/applications/etlegacy.desktop
+share/etlegacy/COPYING.txt
+share/etlegacy/INSTALL.txt
+share/etlegacy/etl_renderer2.sh
+share/etlegacy/etmain/campaigncycle.cfg
+share/etlegacy/etmain/etl_server.cfg
+share/etlegacy/etmain/legacy.cfg
+share/etlegacy/etmain/lmscycle.cfg
+share/etlegacy/etmain/mapvotecycle.cfg
+share/etlegacy/etmain/objectivecycle.cfg
+share/etlegacy/legacy/GeoIP.dat
+share/etlegacy/legacy/description.txt
+share/etlegacy/legacy/etl_bin_${PKGVERSION}-dirty.pk3
+share/etlegacy/legacy/greetings.toml
+share/etlegacy/legacy/lualibs/legacydb.lua
+share/etlegacy/legacy/lualibs/toml.lua
+share/etlegacy/legacy/luascripts/wolfadmin/COPYING.txt
+share/etlegacy/legacy/luascripts/wolfadmin/admin/admin.lua
+share/etlegacy/legacy/luascripts/wolfadmin/admin/balancer.lua
+share/etlegacy/legacy/luascripts/wolfadmin/admin/bans.lua
+share/etlegacy/legacy/luascripts/wolfadmin/admin/history.lua
+share/etlegacy/legacy/luascripts/wolfadmin/admin/mutes.lua
+share/etlegacy/legacy/luascripts/wolfadmin/admin/rules.lua
+share/etlegacy/legacy/luascripts/wolfadmin/auth/acl.lua
+share/etlegacy/legacy/luascripts/wolfadmin/auth/auth.lua
+share/etlegacy/legacy/luascripts/wolfadmin/auth/shrubbot.lua
+share/etlegacy/legacy/luascripts/wolfadmin/auth/shrubbot/etpub.lua
+share/etlegacy/legacy/luascripts/wolfadmin/auth/shrubbot/nq.lua
+share/etlegacy/legacy/luascripts/wolfadmin/auth/shrubbot/silent.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/admintest.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/balance.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/ban.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/cointoss.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/enablevote.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/finger.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/gib.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/greeting.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/help.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/incognito.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/kick.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/kickbots.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/listaliases.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/listmaps.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/listplayers.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/lock.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/mute.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/needbots.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/nextmap.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/pause.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/plock.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/punlock.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/put.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/putbots.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/readconfig.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/reset.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/resetsprees.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/restart.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/rules.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/setlevel.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/showbans.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/showhistory.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/shuffle.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/shufflesr.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/slap.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/spec999.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/sprees.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/stats.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/swap.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/time.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/unban.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/unlock.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/unmute.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/unpause.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/vmute.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/vunmute.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/admin/warn.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/client/ac.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/client/callvote.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/client/pm.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/client/r.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/client/say.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/client/team.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/client/wolfadmin.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/commands.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/server/acl.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/server/cannounce.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/server/cchat.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/server/ccp.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/server/ccpm.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/server/cmusic.lua
+share/etlegacy/legacy/luascripts/wolfadmin/commands/server/csay.lua
+share/etlegacy/legacy/luascripts/wolfadmin/db/db.lua
+share/etlegacy/legacy/luascripts/wolfadmin/db/mysql.lua
+share/etlegacy/legacy/luascripts/wolfadmin/db/sqlite3.lua
+share/etlegacy/legacy/luascripts/wolfadmin/game/bots.lua
+share/etlegacy/legacy/luascripts/wolfadmin/game/fireteams.lua
+share/etlegacy/legacy/luascripts/wolfadmin/game/game.lua
+share/etlegacy/legacy/luascripts/wolfadmin/game/sprees.lua
+share/etlegacy/legacy/luascripts/wolfadmin/game/teams.lua
+share/etlegacy/legacy/luascripts/wolfadmin/game/voting.lua
+share/etlegacy/legacy/luascripts/wolfadmin/main.lua
+share/etlegacy/legacy/luascripts/wolfadmin/players/greetings.lua
+share/etlegacy/legacy/luascripts/wolfadmin/players/players.lua
+share/etlegacy/legacy/luascripts/wolfadmin/players/stats.lua
+share/etlegacy/legacy/luascripts/wolfadmin/util/bits.lua
+share/etlegacy/legacy/luascripts/wolfadmin/util/constants.lua
+share/etlegacy/legacy/luascripts/wolfadmin/util/debug.lua
+share/etlegacy/legacy/luascripts/wolfadmin/util/events.lua
+share/etlegacy/legacy/luascripts/wolfadmin/util/files.lua
+share/etlegacy/legacy/luascripts/wolfadmin/util/logs.lua
+share/etlegacy/legacy/luascripts/wolfadmin/util/pagination.lua
+share/etlegacy/legacy/luascripts/wolfadmin/util/settings.lua
+share/etlegacy/legacy/luascripts/wolfadmin/util/tables.lua
+share/etlegacy/legacy/luascripts/wolfadmin/util/timers.lua
+share/etlegacy/legacy/luascripts/wolfadmin/util/util.lua
+share/etlegacy/legacy/pak3_${PKGVERSION}-dirty.pk3
+share/etlegacy/legacy/qagame.mp.nbsd.x86_64.so
+share/etlegacy/legacy/rules.toml
+share/etlegacy/legacy/sprees.toml
+share/etlegacy/legacy/wolfadmin.toml
+share/etlegacy/librenderer_opengl1_x86_64.so
+share/etlegacy/librenderer_opengl2_x86_64.so
+share/icons/hicolor/scalable/apps/etl.svg
+share/mime/packages/etlegacy.xml
Index: pkgsrc/games/etlegacy/distinfo
diff -u /dev/null pkgsrc/games/etlegacy/distinfo:1.1
--- /dev/null Thu Apr 11 20:56:34 2019
+++ pkgsrc/games/etlegacy/distinfo Thu Apr 11 20:56:34 2019
@@ -0,0 +1,13 @@
+$NetBSD: distinfo,v 1.1 2019/04/11 20:56:34 nia Exp $
+
+SHA1 (etlegacy-2.76/etlegacy-libs.tar.gz) = 27da78b9c118be2bb931543ee217f95246e26658
+RMD160 (etlegacy-2.76/etlegacy-libs.tar.gz) = 3052bd1c8f3164016d5402452e76f4ed66e3571f
+SHA512 (etlegacy-2.76/etlegacy-libs.tar.gz) = cdefd393d5606025a98ad8b66bab76312395ba205d4f5144c3ee3674df4dc89f029238ab4ad441a3f38175e96a3f15f603af1cf65d65f658b6918222c5ddc5f3
+Size (etlegacy-2.76/etlegacy-libs.tar.gz) = 23000305 bytes
+SHA1 (etlegacy-2.76/etlegacy.tar.gz) = aaecb183d768d8e0e25b221a79589f031674cdcf
+RMD160 (etlegacy-2.76/etlegacy.tar.gz) = 09060499b3fbaea5fbf0d94c0563290cf327e714
+SHA512 (etlegacy-2.76/etlegacy.tar.gz) = 911c91dac71741067b9ac4e4651fae64c7def77c4061d31aafa2d473b14fb0db20c2c2fd03edf16efaabab4a026c89c647883864e031e17c551584f0ee06a5e2
+Size (etlegacy-2.76/etlegacy.tar.gz) = 10381173 bytes
+SHA1 (patch-cmake_ETLInstall.cmake) = f89a99b5c280227f520fbd6f2eec06139cec503f
+SHA1 (patch-src_client_snd__main.c) = 82d4fef339044d6677eadad526b8f2b57099514f
+SHA1 (patch-src_qcommon_q__platform.h) = b377ad5033c4f47a2c6659837e2a0b72082dd570
Index: pkgsrc/games/etlegacy/options.mk
diff -u /dev/null pkgsrc/games/etlegacy/options.mk:1.1
--- /dev/null Thu Apr 11 20:56:34 2019
+++ pkgsrc/games/etlegacy/options.mk Thu Apr 11 20:56:34 2019
@@ -0,0 +1,56 @@
+# $NetBSD: options.mk,v 1.1 2019/04/11 20:56:34 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.etlegacy
+PKG_SUPPORTED_OPTIONS= curl lua ogg theora freetype sqlite3 openssl
+PKG_SUGGESTED_OPTIONS= curl lua ogg theora freetype sqlite3 openssl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mcurl)
+CMAKE_ARGS+= -DFEATURE_CURL=ON
+.include "../../www/curl/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DFEATURE_CURL=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Mlua)
+CMAKE_ARGS+= -DFEATURE_LUA=ON
+.include "../../lang/lua53/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DFEATURE_LUA=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Mogg)
+CMAKE_ARGS+= -DFEATURE_OGG_VORBIS=ON
+.include "../../audio/libvorbis/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DFEATURE_OGG_VORBIS=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Mtheora)
+CMAKE_ARGS+= -DFEATURE_THEORA=ON
+.include "../../multimedia/libtheora/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DFEATURE_THEORA=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Mfreetype)
+CMAKE_ARGS+= -DFEATURE_FREETYPE=ON
+.include "../../graphics/freetype2/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DFEATURE_FREETYPE=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Msqlite3)
+CMAKE_ARGS+= -DFEATURE_DBMS=ON
+.include "../../databases/sqlite3/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DFEATURE_DBMS=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Mopenssl)
+CMAKE_ARGS+= -DFEATURE_OPENSSL=ON
+.include "../../security/openssl/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DFEATURE_OPENSSL=OFF
+.endif
Index: pkgsrc/games/etlegacy/patches/patch-cmake_ETLInstall.cmake
diff -u /dev/null pkgsrc/games/etlegacy/patches/patch-cmake_ETLInstall.cmake:1.1
--- /dev/null Thu Apr 11 20:56:34 2019
+++ pkgsrc/games/etlegacy/patches/patch-cmake_ETLInstall.cmake Thu Apr 11 20:56:34 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-cmake_ETLInstall.cmake,v 1.1 2019/04/11 20:56:34 nia Exp $
+
+Install man pages to PKGMANDIR.
+
+--- cmake/ETLInstall.cmake.orig 2019-01-05 19:54:35.000000000 +0000
++++ cmake/ETLInstall.cmake
+@@ -37,7 +37,7 @@ if(UNIX)
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages"
+ )
+ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/docs/linux/man/man6/"
+- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man6"
++ DESTINATION "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_MANDIR}/man6"
+ )
+
+ if(FEATURE_RENDERER2)
Index: pkgsrc/games/etlegacy/patches/patch-src_client_snd__main.c
diff -u /dev/null pkgsrc/games/etlegacy/patches/patch-src_client_snd__main.c:1.1
--- /dev/null Thu Apr 11 20:56:34 2019
+++ pkgsrc/games/etlegacy/patches/patch-src_client_snd__main.c Thu Apr 11 20:56:34 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_client_snd__main.c,v 1.1 2019/04/11 20:56:34 nia Exp $
+
+Default to OpenAL over SDL2 - eliminates stuttering on NetBSD.
+
+--- src/client/snd_main.c.orig 2019-01-05 19:54:35.000000000 +0000
++++ src/client/snd_main.c
+@@ -809,7 +809,7 @@ void S_StopMusic_f(void)
+ */
+ void S_Init(void)
+ {
+- cvar_t *cv = Cvar_Get("s_initsound", "1", CVAR_ARCHIVE | CVAR_LATCH | CVAR_UNSAFE); // 0 = disabled, 1 = SDL2, 2 = OpenAL
++ cvar_t *cv = Cvar_Get("s_initsound", "2", CVAR_ARCHIVE | CVAR_LATCH | CVAR_UNSAFE); // 0 = disabled, 1 = SDL2, 2 = OpenAL
+
+ Com_Printf("------ Initializing Sound (%i)------\n", cv->integer);
+
Index: pkgsrc/games/etlegacy/patches/patch-src_qcommon_q__platform.h
diff -u /dev/null pkgsrc/games/etlegacy/patches/patch-src_qcommon_q__platform.h:1.1
--- /dev/null Thu Apr 11 20:56:34 2019
+++ pkgsrc/games/etlegacy/patches/patch-src_qcommon_q__platform.h Thu Apr 11 20:56:34 2019
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_qcommon_q__platform.h,v 1.1 2019/04/11 20:56:34 nia Exp $
+
+The CMake script will always produce internal libraries containing the
+string "x86_64" and never "amd64", so make sure the game engine always
+looks for libraries with "x86_64" in the filename.
+
+--- src/qcommon/q_platform.h.orig 2019-01-05 19:54:35.000000000 +0000
++++ src/qcommon/q_platform.h
+@@ -260,7 +260,7 @@
+ #elif defined __amd64__
+ #undef idx64
+ #define idx64 1
+-#define ARCH_STRING "amd64"
++#define ARCH_STRING "x86_64"
+ #elif defined __axp__
+ #define ARCH_STRING "alpha"
+ #endif
Home |
Main Index |
Thread Index |
Old Index