git: 578bad637b9c - main - games/gzdoom: cleanup dependencies
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 Feb 2023 03:53:40 UTC
The branch main has been updated by kevans:
URL: https://cgit.FreeBSD.org/ports/commit/?id=578bad637b9c8f5f817bc87fddbef11eb6ccb6ad
commit 578bad637b9c8f5f817bc87fddbef11eb6ccb6ad
Author: Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2023-02-10 03:33:25 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2023-02-10 03:53:27 +0000
games/gzdoom: cleanup dependencies
Most of the GNOME and the GL dependencies are transitive from GTK, not
directly used by gzdoom -- axe them.
While we're here, switch to GTK 3. gzdoom already supports it out of
the box and GTK 2 is EOL, so the timing is right. DYN_GTK has been
switched off because I like to see that the dependency's actually in
use at build time.
---
games/gzdoom/Makefile | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/games/gzdoom/Makefile b/games/gzdoom/Makefile
index 125329bf8d9e..356dc55b7db6 100644
--- a/games/gzdoom/Makefile
+++ b/games/gzdoom/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gzdoom
PORTVERSION= 4.7.1
-PORTREVISION= 2
+PORTREVISION= 3
DISTVERSIONPREFIX= g
CATEGORIES= games
@@ -19,7 +19,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libzmusic.so:audio/zmusic
-USES= cmake compiler:c++11-lang gl gnome jpeg pkgconfig sdl
+USES= cmake compiler:c++11-lang gnome jpeg pkgconfig sdl
DATADIR= ${DMDIR}/${PORTNAME}
@@ -28,11 +28,11 @@ GH_ACCOUNT= coelckers
CMAKE_ARGS= -DINSTALL_DOCS_PATH=${DOCSDIR} \
-DINSTALL_PK3_PATH=${DMDIR} \
- -DINSTALL_SOUNDFONT_PATH=${DMDIR}
+ -DINSTALL_SOUNDFONT_PATH=${DMDIR} \
+ -DDYN_GTK:BOOL=OFF
-USE_GNOME= atk cairo gdkpixbuf2 gtk20 pango
+USE_GNOME= gtk30
USE_SDL= sdl2
-USE_GL= gl glu
CXXFLAGS+= -DSHARE_DIR=\\\"${DATADIR}\\\"
LDFLAGS+= -Wl,--as-needed