op 6fc36d9e56 update games/gzdoom to 4.8.2
diff from maintainer Timo Myyrä, thanks!  While here sort LIB_DEPENDS.

This also backports a fix for the "gzdoom.pk3 not found" error from
https://github.com/coelckers/gzdoom/pull/1665
2022-07-18 08:27:45 +00:00

49 lines
1.1 KiB
Makefile

BROKEN-i386 = various always_inline functions require sse2, but would be inlined into function 'Loop' that is compiled without support for sse2
# asmjit in gzdoom-3.7.2 supports only x86 and arm/arm64
# arm/arm64 are only supported on Windows and Linux
ONLY_FOR_ARCHS = i386 amd64
COMMENT = OpenGL engine for idTech 1 games like doom,hexen,heretic...
V = 4.8.2
GH_ACCOUNT = coelckers
GH_PROJECT = gzdoom
GH_TAGNAME = g${V}
DISTNAME = gzdoom-${V}
CATEGORIES= games
HOMEPAGE = https://zdoom.org
MAINTAINER = Timo Myyra <timo.myyra@bittivirhe.fi>
# GPLv3
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} SDL2 bz2 c execinfo jpeg m
WANTLIB += openal vpx z zmusic
# C++17
COMPILER = base-clang ports-gcc
MODULES = devel/cmake
CONFIGURE_ARGS += -DNO_GTK=ON
CONFIGURE_ARGS += -DDYN_OPENAL=NO
CONFIGURE_ARGS += -DHAVE_STDINT_H=1
CONFIGURE_ARGS += -DNO_OPENMP=ON
CXXFLAGS += -I. -I${LOCALBASE}/include
LIB_DEPENDS = archivers/bzip2 \
audio/openal \
audio/zmusic \
devel/sdl2 \
graphics/jpeg \
multimedia/libvpx
NO_TEST = Yes
.include <bsd.port.mk>