https://github.com/FNA-XNA/FNA/releases/tag/22.01 https://github.com/FNA-XNA/FAudio/releases/tag/22.01 https://github.com/FNA-XNA/FNA3D/releases/tag/22.01 New Features: Update to FNA3D 22.01 Update to FAudio 22.01 Added SetVideoTrackEXT extension Added SrgbEXT extension Fixes: The FNA3D log is now hooked later in FNAPlatform initialization, to try and load SDL before FNA3D Partially works around a regression in the new dyld in macOS Monterey Fixed DDSFromStreamEXT mip loading to calculate each mip level in full New Features: Added support for SRGB textures/renderbuffers Removed Features: The Metal renderer has been removed, in favor of Vulkan/MoltenVK Fixes: Vulkan: Various fixes for device support checks Image: Log errors from stb_image
43 lines
927 B
Makefile
43 lines
927 B
Makefile
# $OpenBSD: Makefile,v 1.19 2022/01/08 16:22:00 thfr Exp $
|
|
|
|
# versions are in sync with FNA versions
|
|
V = 22.01
|
|
COMMENT = XAudio reimplementation for open platforms
|
|
DISTNAME = fna-${V:S/.//g}
|
|
PKGNAME = faudio-${V}
|
|
|
|
SHARED_LIBS = FAudio 3.0 # 21.08
|
|
|
|
CATEGORIES = audio
|
|
HOMEPAGE = https://github.com/FNA-XNA/FAudio
|
|
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
|
|
|
|
# zlib
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += SDL2 glib-2.0 gobject-2.0 gstapp-1.0 gstaudio-1.0 gstbase-1.0
|
|
WANTLIB += gstreamer-1.0 gsttag-1.0 intl
|
|
|
|
MASTER_SITES = https://github.com/FNA-XNA/FNA/releases/download/${V}/
|
|
EXTRACT_SUFX = .zip
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
MODULES = devel/cmake
|
|
|
|
LIB_DEPENDS = devel/sdl2 \
|
|
multimedia/gstreamer1/core \
|
|
multimedia/gstreamer1/plugins-base
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
CONFIGURE_ARGS += -DBUILD_TESTS=ON \
|
|
-DGSTREAMER=ON
|
|
|
|
WRKDIST = ${WRKDIR}/FNA/lib/FAudio
|
|
|
|
do-test:
|
|
cd ${WRKBUILD} && ./faudio_tests
|
|
|
|
.include <bsd.port.mk>
|