pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games games/etlegacy: Add version 2.76.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f6b0a0f706a
branches:  trunk
changeset: 394422:8f6b0a0f706a
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Apr 11 20:56:34 2019 +0000

description:
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.

diffstat:

 games/Makefile                                         |    3 +-
 games/etlegacy/DESCR                                   |    3 +
 games/etlegacy/MESSAGE                                 |    7 +
 games/etlegacy/Makefile                                |   76 ++++++++++
 games/etlegacy/PLIST                                   |  129 +++++++++++++++++
 games/etlegacy/distinfo                                |   13 +
 games/etlegacy/options.mk                              |   56 +++++++
 games/etlegacy/patches/patch-cmake_ETLInstall.cmake    |   15 +
 games/etlegacy/patches/patch-src_client_snd__main.c    |   15 +
 games/etlegacy/patches/patch-src_qcommon_q__platform.h |   17 ++
 10 files changed, 333 insertions(+), 1 deletions(-)

diffs (truncated from 384 to 300 lines):

diff -r a85e225ac5c5 -r 8f6b0a0f706a games/Makefile
--- a/games/Makefile    Thu Apr 11 17:48:39 2019 +0000
+++ b/games/Makefile    Thu Apr 11 20:56:34 2019 +0000
@@ -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+=       einstein-puzzle
 SUBDIR+=       enigma
 SUBDIR+=       et
+SUBDIR+=       etlegacy
 SUBDIR+=       eus-demo
 SUBDIR+=       exchess
 SUBDIR+=       exchess-book-medium
diff -r a85e225ac5c5 -r 8f6b0a0f706a games/etlegacy/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/etlegacy/DESCR      Thu Apr 11 20:56:34 2019 +0000
@@ -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.
diff -r a85e225ac5c5 -r 8f6b0a0f706a games/etlegacy/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/etlegacy/MESSAGE    Thu Apr 11 20:56:34 2019 +0000
@@ -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.
+
+===========================================================================
diff -r a85e225ac5c5 -r 8f6b0a0f706a games/etlegacy/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/etlegacy/Makefile   Thu Apr 11 20:56:34 2019 +0000
@@ -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"
diff -r a85e225ac5c5 -r 8f6b0a0f706a games/etlegacy/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/etlegacy/PLIST      Thu Apr 11 20:56:34 2019 +0000
@@ -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
diff -r a85e225ac5c5 -r 8f6b0a0f706a games/etlegacy/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/etlegacy/distinfo   Thu Apr 11 20:56:34 2019 +0000
@@ -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
diff -r a85e225ac5c5 -r 8f6b0a0f706a games/etlegacy/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/etlegacy/options.mk Thu Apr 11 20:56:34 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index