mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
7d4ec0fd98
Fixes the build with clang 22.
41 lines
741 B
Makefile
41 lines
741 B
Makefile
COMMENT = play back various video game streamed audio formats
|
|
|
|
PKGNAME = vgmstream-$V
|
|
|
|
V = 2117
|
|
|
|
DIST_TUPLE = github vgmstream vgmstream r$V .
|
|
|
|
CATEGORIES = audio
|
|
|
|
HOMEPAGE = https://vgmstream.org/
|
|
|
|
MAINTAINER = Anthony J. Bentley <bentley@openbsd.org>
|
|
|
|
# ISC
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
# uses pledge()
|
|
WANTLIB += ao c m
|
|
|
|
LIB_DEPENDS = audio/libao
|
|
|
|
MAKE_FLAGS = CC="${CC}" \
|
|
STRIP=@true \
|
|
LIBAO_INC="-I${LOCALBASE}/include" \
|
|
LIBAO_LIB="-L${LOCALBASE}/lib -lao"
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
|
|
|
NO_TEST = Yes
|
|
|
|
ALL_TARGET = vgmstream-cli vgmstream123
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cli/vgmstream-cli ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cli/vgmstream123 ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|