jca 08818c77e5 Update to libsndfile-1.0.28
Lots of exported symbols removed because build now
uses -fvisibility=hidden, one symbol added, no header changes.
Disable the use of -Wvla for gcc archs.

From Jan Stary (maintainer)
2018-04-23 08:48:54 +00:00

33 lines
736 B
Makefile

# $OpenBSD: Makefile,v 1.32 2018/04/23 08:48:54 jca Exp $
COMMENT= library to handle various audio file formats
DISTNAME= libsndfile-1.0.28
CATEGORIES= audio
HOMEPAGE= http://www.mega-nerd.com/libsndfile/
MAINTAINER= Jan Stary <hans@stare.cz>
SHARED_LIBS += sndfile 6.0 # .1.28
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}files/
WANTLIB= c m sndio FLAC ogg vorbis vorbisenc
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-alsa \
--disable-octave \
--disable-sqlite
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include"
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/Cfg
LIB_DEPENDS= audio/flac \
audio/libogg \
audio/libvorbis
FAKE_FLAGS= htmldocdir=${PREFIX}/share/doc/libsndfile
.include <bsd.port.mk>