Skip to content

Commit

Permalink
games/gzdoom: cleanup dependencies
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kevans91 committed Feb 10, 2023
1 parent 3ae6553 commit 578bad6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions games/gzdoom/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gzdoom
PORTVERSION= 4.7.1
PORTREVISION= 2
PORTREVISION= 3
DISTVERSIONPREFIX= g
CATEGORIES= games

Expand All @@ -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}

Expand All @@ -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

Expand Down

0 comments on commit 578bad6

Please sign in to comment.