diff --git a/games/naev/Makefile b/games/naev/Makefile index 1f6139e1c274..e0c0f245ed4b 100644 --- a/games/naev/Makefile +++ b/games/naev/Makefile @@ -1,53 +1,55 @@ PORTNAME= naev PORTVERSION= 0.12.4 DISTVERSIONSUFFIX= -source CATEGORIES= games MASTER_SITES= https://github.com/naev/naev/releases/download/v${PORTVERSION}/ MAINTAINER= acm@FreeBSD.org COMMENT= 2D action/RPG space game WWW= https://naev.org/ LICENSE= GPLv2 GPLv3 CC-BY-3.0 CC-BY-SA-3.0 PD LICENSE_COMB= multi BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libbacktrace.so:devel/libbacktrace \ libblas.so:math/blas \ libcholmod.so:math/suitesparse-cholmod \ + libcmark.so:textproc/cmark \ libcolamd.so:math/suitesparse-colamd \ libcxsparse.so:math/suitesparse-cxsparse \ libenet.so:net/enet \ libfreetype.so:print/freetype2 \ libglpk.so:math/glpk \ libmetis.so:math/metis \ libnfd.so:devel/nativefiledialog-extended \ libopenblas.so:math/openblas \ libpcre2-8.so:devel/pcre2 \ libphysfs.so:devel/physfs \ libpng.so:graphics/png \ libunibreak.so:textproc/libunibreak \ libvorbisfile.so:audio/libvorbis \ libwebp.so:graphics/webp \ + libyaml.so:textproc/libyaml \ libzip.so:archivers/libzip RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} -USES= desktop-file-utils gettext gl gnome localbase:ldflags \ +USES= cmake:indirect desktop-file-utils gettext gl gnome localbase:ldflags \ luajit meson openal pkgconfig python sdl \ shebangfix tar:xz USE_GL= gl glu USE_GNOME= intltool libxml2 USE_SDL= sdl2 image2 SHEBANG_GLOB= *.py *.sh MESON_ARGS= -Ddocs_c=disabled -Ddocs_lua=disabled BINARY_ALIAS= python3=${PYTHON_CMD} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/games/naev/files/patch-meson.build b/games/naev/files/patch-meson.build index f00427132b7e..f72241a4d9a2 100644 --- a/games/naev/files/patch-meson.build +++ b/games/naev/files/patch-meson.build @@ -1,11 +1,20 @@ ---- meson.build 2025-04-21 20:47:17.549934000 -0700 -+++ meson.build 2025-04-21 20:47:37.371972000 -0700 +--- meson.build 2025-04-06 20:26:44.000000000 -0700 ++++ meson.build 2025-04-23 21:21:05.417597000 -0700 +@@ -111,7 +111,7 @@ + yaml = dependency('yaml-0.1', required: true, version: '>=0.2.5', fallback: ['libyaml', 'yaml_dep'], static: get_option('steamruntime')) + + # TODO replace nfd with SDL3 native functions when possible +- nfd = dependency('nfd', required: false, static: true) ++ nfd = dependency('nfd', required: true, static: false) + if not nfd.found() + nfd = dependency('nativefiledialog-extended', required: true, fallback: ['nativefiledialog-extended'], static: true) + endif @@ -293,7 +293,7 @@ config_data.set10('HAVE_CBLAS_HYPHEN_OPENBLAS_H', cc.links('#include ' + cblas_test, dependencies: blas)) config_data.set10('HAVE_OPENBLAS_CBLAS_H', cc.links('#include ' + cblas_test, dependencies: blas)) config_data.set10('HAVE_F77BLAS_H', cc.has_header('f77blas.h', dependencies: blas)) - config_data.set10('HAVE_OPENBLAS_F77BLAS_H', cc.has_header('openblas/f77blas.h', dependencies: blas)) + config_data.set10('HAVE_OPENBLAS_F77BLAS_H', cc.has_header('f77blas.h', dependencies: blas)) ### Generated sources