openbsd-ports/devel/sdl-sound/Makefile
jolan 04dbbed2f2 import of SDL_sound-1.0.1:
SDL_sound is a library that handles the decoding of several popular
sound file formats, such as .WAV and .MP3.  It is meant to make the
programmer's sound playback tasks simpler.  The programmer gives
SDL_sound a filename, or feeds it data directly from one of many
sources, and then reads the decoded waveform data back at their leisure.
If resource constraints are a concern, SDL_sound can process sound data
in programmer-specified blocks.  Alternately, SDL_sound can decode a
whole sound file and hand back a single pointer to the whole waveform.
SDL_sound can also handle sample rate, audio format, and channel
conversion on-the-fly and behind-the-scenes, if the programmer desires.

WWW: http://icculus.org/SDL_sound/
2003-10-27 03:07:33 +00:00

30 lines
816 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2003/10/27 03:07:33 jolan Exp $
COMMENT= "library that handles the decoding of sound file formats"
DISTNAME= SDL_sound-1.0.1
PKGNAME= ${DISTNAME:L:S/_/-/}
CATEGORIES= devel audio
MASTER_SITES= ${HOMEPAGE}downloads/
HOMEPAGE= http://icculus.org/SDL_sound/
MAINTAINER= Jolan Luff <jolan@openbsd.org>
# LGPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
LIB_DEPENDS+= physfs.9.0::devel/physfs \
SDL.2.0::devel/sdl \
smpeg.1.3::devel/smpeg \
mikmod.2.4::audio/libmikmod \
vorbis.2.0,vorbisenc.2.0,vorbisfile.3.0::audio/libvorbis
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--disable-flac --disable-modplug --disable-speex
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>