head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.16 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.14 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.12 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.10 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.8 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.6 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.4 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.2 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.1.0.36 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.34 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.32 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.30 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.28 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.26 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.24 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.22 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.20 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.18 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.16 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.14 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.12 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.10 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.8 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.6 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.4 pkgsrc-2019Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2024.05.05.09.31.37; author nia; state Exp; branches; next 1.1; commitid gHWXkJUfOXXWaN8F; 1.1 date 2019.10.01.12.32.26; author nia; state Exp; branches; next ; commitid G0zzgMzXoCSS6aFB; desc @@ 1.2 log @xonotic: Update to 0.8.6 This update more than doubles the FPS on my system. @ text @$NetBSD$ Unbundle d0_blind_id. --- Makefile.orig 2023-05-31 03:40:30.000000000 +0000 +++ Makefile @@@@ -1,30 +1,15 @@@@ DPSRC = source/darkplaces -D0SRC = source/d0_blind_id CLIENT = xonotic-local-sdl SERVER = xonotic-local-dedicated # CC and MAKEFLAGS are always set so ?= has no effect, therefore # we use CFLAGS to set default optimisations which users may override CFLAGS ?= -pipe -march=native -mtune=native -flto=auto -# user can override this with make -j -MAKEFLAGS := -j$(shell nproc) +CFLAGS += $$(pkg-config --cflags d0_blind_id d0_rijndael) +LDFLAGS += $$(pkg-config --libs d0_blind_id d0_rijndael) # DP makefile overrides CFLAGS (exporting CFLAGS does work for d0_blind_id but so does this) export CC += $(CFLAGS) -# d0_blind_id header location -export CC += -I$(PWD)/source/ -# d0_blind_id static libs location -export CC += -L$(PWD)/$(D0SRC)/.libs/ -# Player IDs: DP_LINK_CRYPTO needs to be set (else it defaults to "dlopen"), -# it should be set to "shared" but then LIB_CRYPTO gets overridden in DP makefile, -# and we need to set LIB_CRYPTO such that libgmp gets linked -export DP_LINK_CRYPTO=foo -export CFLAGS_CRYPTO=-DLINK_TO_CRYPTO -export LIB_CRYPTO=-ld0_blind_id -lgmp -# AES -export DP_LINK_CRYPTO_RIJNDAEL=shared - - .PHONY: help help: @@echo @@@@ -78,17 +63,13 @@@@ update-beta: $(D0SRC)/Makefile: ( cd $(D0SRC) && ./autogen.sh && ./configure --enable-static --disable-shared ) -.PHONY: d0_blind_id -d0_blind_id: $(D0SRC)/Makefile - $(MAKE) -C $(D0SRC) - .PHONY: server -server: d0_blind_id +server: $(MAKE) -C $(DPSRC) sv-release cp -v $(DPSRC)/darkplaces-dedicated $(SERVER) .PHONY: client -client: d0_blind_id +client: $(MAKE) -C $(DPSRC) sdl-release cp -v $(DPSRC)/darkplaces-sdl $(CLIENT) @ 1.1 log @Add games/xonotic. Based on work by Charlotte Koch in pkgsrc-wip. Xonotic is an addictive, arena-style first person shooter with crisp movement and a wide array of weapons. It combines intuitive mechanics with in-your-face action to elevate your heart rate. Xonotic is and will always be free-to-play. @ text @d3 1 a3 1 Use DESTDIR. d5 54 a58 12 --- ./Makefile.orig 2015-08-25 15:05:04.000000000 -0700 +++ ./Makefile 2017-01-29 22:14:53.212882308 -0800 @@@@ -30,7 +30,7 @@@@ ( cd source/d0_blind_id && ./configure --enable-static --disable-shared $(RIJNDAELDETECT_CONFIGURE) ) $(MAKE) -C source/d0_blind_id $(MAKE) -C source/gmqcc - $(MAKE) -C source/qcsrc FTEQCC=$(CURDIR)/source/gmqcc/gmqcc + $(MAKE) -C source/qcsrc QCC=$(CURDIR)/source/gmqcc/gmqcc $(MAKE) -C source/darkplaces sv-release DP_CRYPTO_STATIC_LIBDIR=$(CURDIR)/source/d0_blind_id/.libs $(MAKE) -C source/darkplaces cl-release DP_CRYPTO_STATIC_LIBDIR=$(CURDIR)/source/d0_blind_id/.libs $(MAKE) -C source/darkplaces sdl-release DP_CRYPTO_STATIC_LIBDIR=$(CURDIR)/source/d0_blind_id/.libs @@@@ -115,7 +115,7 @@@@ a59 7 .PHONY: install-links install-links: - $(INSTALL) -d $(BINDIR) + $(INSTALL) -d $(DESTDIR)$(BINDIR) $(LN) -snf $(LIBDIR)/xonotic-linux-sdl.sh $(DESTDIR)$(BINDIR)/xonotic-sdl $(LN) -snf $(LIBDIR)/xonotic-linux-glx.sh $(DESTDIR)$(BINDIR)/xonotic-glx $(LN) -snf $(LIBDIR)/xonotic-linux-dedicated.sh $(DESTDIR)$(BINDIR)/xonotic-dedicated @