mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
325aed58cb
Changes: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.2:/Changelog ABI: https://abi-laboratory.pro/tracker/timeline/ffmpeg/
34 lines
706 B
Makefile
34 lines
706 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= FAudio
|
|
DISTVERSION= 19.08
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
|
|
MAINTAINER= tobik@FreeBSD.org
|
|
COMMENT= Accuracy-focused XAudio reimplementation
|
|
|
|
LICENSE= ZLIB
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
|
|
|
|
USES= cmake compiler:c11 sdl
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= FNA-XNA
|
|
USE_LDCONFIG= yes
|
|
USE_SDL= sdl2
|
|
|
|
CMAKE_ON= FFMPEG
|
|
|
|
PLIST_SUB= SOVERSION=${DISTVERSION:S,., ,g:[1..2]:ts.}
|
|
|
|
do-test:
|
|
@cd ${BUILD_WRKSRC} && \
|
|
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} \
|
|
-DBUILD_TESTS=ON -DBUILD_UTILS=ON ${CMAKE_SOURCE_PATH} && \
|
|
${DO_MAKE_BUILD} ${ALL_TARGET}
|
|
@${SETENV} SDL_AUDIODRIVER=dummy ${BUILD_WRKSRC}/faudio_tests
|
|
|
|
.include <bsd.port.mk>
|